airshipctl/cmd/phase/testdata/TestNewApplyCommandGoldenOutput/phase-apply-cmd-with-help.golden
Kostiantyn Kalynovskyi e4adce2bcf Integrate cli-utils applier with phases.
This will also enable us to wait for kubernetes resources to reach
required state

Relates-To: #238

Change-Id: Ia2c9cebd94ca2ef5bfd9ed5830ae469e6aa6b167
2020-07-15 11:10:37 -05:00

17 lines
670 B
Plaintext

Apply specific phase to kubernetes cluster such as control-plane, workloads, initinfra
Usage:
apply PHASE_NAME [flags]
Examples:
# Apply initinfra phase to a cluster
airshipctl phase apply initinfra
Flags:
--dry-run don't deliver documents to the cluster, simulate the changes instead
-h, --help help for apply
--prune if set to true, command will delete all kubernetes resources that are not defined in airship documents and have airshipit.org/deployed=apply label
--wait-timeout duration number of seconds to wait for resources to become ready, if set to 0 will not wait (default 2m0s)