mirror of
https://github.com/containers/podman.git
synced 2025-07-25 09:05:00 +08:00
Merge pull request #8581 from baude/kubegen
generate kube on multiple containers
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
podman-generate-kube - Generate Kubernetes YAML based on a pod or container
|
||||
|
||||
## SYNOPSIS
|
||||
**podman generate kube** [*options*] *container* | *pod*
|
||||
**podman generate kube** [*options*] *container...* | *pod*
|
||||
|
||||
## DESCRIPTION
|
||||
**podman generate kube** will generate Kubernetes Pod YAML (v1 specification) from a Podman container or pod. Whether
|
||||
the input is for a container or pod, Podman will always generate the specification as a Pod. The input may be in the form
|
||||
of a pod or container name or ID.
|
||||
**podman generate kube** will generate Kubernetes Pod YAML (v1 specification) from Podman one or more containers or a single pod. Whether
|
||||
the input is for containers or a pod, Podman will always generate the specification as a Pod. The input may be in the form
|
||||
of a pod or one or more container names or IDs.
|
||||
|
||||
Note that the generated Kubernetes YAML file can be used to re-run the deployment via podman-play-kube(1).
|
||||
|
||||
|
Reference in New Issue
Block a user