diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-08 15:05:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 15:05:42 +0200 |
commit | bd4d9a09520b2329b1cf3dd8cdf8194b8bdeab67 (patch) | |
tree | a3705e99f19f204f87bbb927d25e7c5988af3cec /docs/source | |
parent | 14c0fcc6b7b3e8c1f28efea329ab9a6bf0d99b70 (diff) | |
parent | 6fc73ea4ea4fa8b82092fc605390d3cfece97dd1 (diff) | |
download | podman-bd4d9a09520b2329b1cf3dd8cdf8194b8bdeab67.tar.gz podman-bd4d9a09520b2329b1cf3dd8cdf8194b8bdeab67.tar.bz2 podman-bd4d9a09520b2329b1cf3dd8cdf8194b8bdeab67.zip |
Merge pull request #11671 from chenzhiwei/kube-replace
introduce --replace flag for play kube
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-play-kube.1.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-play-kube.1.md b/docs/source/markdown/podman-play-kube.1.md index a4b9722b8..d4770a538 100644 --- a/docs/source/markdown/podman-play-kube.1.md +++ b/docs/source/markdown/podman-play-kube.1.md @@ -9,6 +9,7 @@ podman-play-kube - Create containers, pods or volumes based on Kubernetes YAML ## DESCRIPTION **podman play kube** will read in a structured file of Kubernetes YAML. It will then recreate the containers, pods or volumes described in the YAML. Containers within a pod are then started and the ID of the new Pod or the name of the new Volume is output. If the yaml file is specified as "-" then `podman play kube` will read the YAML file from stdin. Using the `--down` command line option, it is also capable of tearing down the pods created by a previous run of `podman play kube`. +Using the `--replace` command line option, it will tear down the pods(if any) created by a previous run of `podman play kube` and recreate the pods with the Kubernetes YAML file. Ideally the input file would be one created by Podman (see podman-generate-kube(1)). This would guarantee a smooth import and expected results. Currently, the supported Kubernetes kinds are: @@ -146,6 +147,10 @@ Do not create /etc/hosts within the pod's containers, instead use the version fr Suppress output information when pulling images +#### **--replace** + +Tears down the pods created by a previous run of `play kube` and recreates the pods. This option is used to keep the existing pods up to date based upon the Kubernetes YAML. + #### **--seccomp-profile-root**=*path* Directory path for seccomp profiles (default: "/var/lib/kubelet/seccomp"). (This option is not available with the remote Podman client) |