diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-23 13:20:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 13:20:22 -0700 |
commit | 860de13d4fe530e585c82a87a81fb46f3d0275ef (patch) | |
tree | da90cf91697c3c89f13c5abf44573158c125434b /docs/source/markdown/podman-play-kube.1.md | |
parent | 9982923276f35fa05f259c934c6406fbce3e1dd4 (diff) | |
parent | 1e255b6df92b8797acc91f95a53b88c044dfd683 (diff) | |
download | podman-860de13d4fe530e585c82a87a81fb46f3d0275ef.tar.gz podman-860de13d4fe530e585c82a87a81fb46f3d0275ef.tar.bz2 podman-860de13d4fe530e585c82a87a81fb46f3d0275ef.zip |
Merge pull request #9749 from jwillikers/generate-kube-persistent-volume-claim
Generate Kubernetes PersistentVolumeClaims from named volumes
Diffstat (limited to 'docs/source/markdown/podman-play-kube.1.md')
-rw-r--r-- | docs/source/markdown/podman-play-kube.1.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-play-kube.1.md b/docs/source/markdown/podman-play-kube.1.md index 0a34a622f..1be597b94 100644 --- a/docs/source/markdown/podman-play-kube.1.md +++ b/docs/source/markdown/podman-play-kube.1.md @@ -11,7 +11,9 @@ podman-play-kube - Create pods and containers based on Kubernetes YAML Ideally the input file would be one created by Podman (see podman-generate-kube(1)). This would guarantee a smooth import and expected results. -Note: HostPath volume types created by play kube will be given an SELinux private label (Z) +Only two volume types are supported by play kube, the *hostPath* and *persistentVolumeClaim* volume types. For the *hostPath* volume type, only the *default (empty)*, *DirectoryOrCreate*, *Directory*, *FileOrCreate*, *File*, and *Socket* subtypes are supported. The *CharDevice* and *BlockDevice* subtypes are not supported. Podman interprets the value of *hostPath* *path* as a file path when it contains at least one forward slash, otherwise Podman treats the value as the name of a named volume. When using a *persistentVolumeClaim*, the value for *claimName* is the name for the Podman named volume. + +Note: *hostPath* volume types created by play kube will be given an SELinux private label (Z) Note: If the `:latest` tag is used, Podman will attempt to pull the image from a registry. If the image was built locally with Podman or Buildah, it will have `localhost` as the domain, in that case, Podman will use the image from the local store even if it has the `:latest` tag. |