Files
airshipctl/docs/source/cli/airshipctl_phase_apply.md
Drew Walters 0d7dc4de24 Add automated CLI documentation
This change creates a tool that generates CLI documentation each time
`make update-golden` is executed.

Change-Id: I4bcdf299cd424f4cff1ecf6503822d304e9a3947
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-05-13 19:43:10 +00:00

43 lines
1021 B
Markdown

## airshipctl phase apply
Apply phase to a cluster
### Synopsis
Apply specific phase to kubernetes cluster such as control-plane, workloads, initinfra
```
airshipctl phase apply PHASE_NAME [flags]
```
### Examples
```
# Apply initinfra phase to a cluster
airshipctl phase apply initinfra
```
### Options
```
--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
```
### Options inherited from parent commands
```
--airshipconf string Path to file for airshipctl configuration. (default "$HOME/.airship/config")
--debug enable verbose output
--kubeconfig string Path to kubeconfig associated with airshipctl configuration. (default "$HOME/.airship/kubeconfig")
```
### SEE ALSO
* [airshipctl phase](airshipctl_phase.md) - Manage phases