1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubeadm completion - Output shell completion code for the specified
7 shell (bash or zsh).
8
9
10
12 kubeadm completion [OPTIONS]
13
14
15
17 Output shell completion code for the specified shell (bash or zsh).
18 The shell code must be evaluated to provide interactive completion of
19 kubeadm commands. This can be done by sourcing it from the .bash_pro‐
20 file.
21
22
23 Note: this requires the bash-completion framework.
24
25
26 To install it on Mac use homebrew:
27 $ brew install bash-completion Once installed, bash_completion must
28 be evaluated. This can be done by adding the following line to the
29 .bash_profile
30 $ source $(brew --prefix)/etc/bash_completion
31
32
33 If bash-completion is not installed on Linux, please install the
34 'bash-completion' package via your distribution's package manager.
35
36
37 Note for zsh users: [1] zsh completions are only supported in versions
38 of zsh >= 5.2
39
40
41
43 --azure-container-registry-config=""
44 Path to the file containing Azure container registry configuration
45 information.
46
47
48 --google-json-key=""
49 The Google Cloud Platform Service Account JSON Key to use for
50 authentication.
51
52
53 --log-flush-frequency=5s
54 Maximum number of seconds between log flushes
55
56
57 --rootfs=""
58 [EXPERIMENTAL] The path to the 'real' host root filesystem.
59
60
61 --version=false
62 Print version information and quit
63
64
65
67 # Install bash completion on a Mac using homebrew
68 brew install bash-completion
69 printf "\n# Bash completion support\nsource $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
70 source $HOME/.bash_profile
71
72 # Load the kubeadm completion code for bash into the current shell
73 source <(kubeadm completion bash)
74
75 # Write bash completion code to a file and source if from .bash_profile
76 kubeadm completion bash > /.kube/kubeadm_completion.bash.inc
77 printf "\n# Kubeadm shell completion\nsource '$HOME/.kube/kubeadm_completion.bash.inc'\n" >> $HOME/.bash_profile
78 source $HOME/.bash_profile
79
80 # Load the kubeadm completion code for zsh[1] into the current shell
81 source <(kubeadm completion zsh)
82
83
84
85
87 kubeadm(1),
88
89
90
92 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
93 com) based on the kubernetes source material, but hopefully they have
94 been automatically generated since!
95
96
97
98Eric Paris kubernetes User Manuals KUBERNETES(1)