Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Types of mounts in hostPath#

Sumit Rawal answered on June 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • hosts path
  • host path in windows
  • getstaticpaths is required for dynamic ssg
  • Accessing Host’s Resources through hostPath Volumes
  • The hostPath volume#
  • Where to use hostPath#
  • What can we mount using hostPath volume type from a host to Pods and, through them, to containers?

  • Types of mounts in hostPath#

    0

    The Directory type will mount a directory from the host. It must exist on the given path. If it doesn’t, we might switch to DirectoryOrCreate type which serves the same purpose. The difference is that DirectoryOrCreate will create the directory if it does not exist on the host.

    The File and FileOrCreate are similar to their Directory equivalents. The only difference is that this time we’d mount a file, instead of a directory.

    The other supported types are Socket, CharDevice, and BlockDevice. They should be self-explanatory. If you don’t know what character or block devices are, you probably don’t need those types.

    These were the types of mounts supported by the hostPath.

    Popularity 1/10 Helpfulness 1/10 Language typescript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 23 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.