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 --log-flush-frequency=5s
49 Maximum number of seconds between log flushes
50
51
52 --rootfs=""
53 [EXPERIMENTAL] The path to the 'real' host root filesystem.
54
55
56 --version=false
57 Print version information and quit
58
59
60
62 # Install bash completion on a Mac using homebrew
63 brew install bash-completion
64 printf "\n# Bash completion support\nsource $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
65 source $HOME/.bash_profile
66
67 # Load the kubeadm completion code for bash into the current shell
68 source <(kubeadm completion bash)
69
70 # Write bash completion code to a file and source if from .bash_profile
71 kubeadm completion bash > /.kube/kubeadm_completion.bash.inc
72 printf "\n# Kubeadm shell completion\nsource '$HOME/.kube/kubeadm_completion.bash.inc'\n" >> $HOME/.bash_profile
73 source $HOME/.bash_profile
74
75 # Load the kubeadm completion code for zsh[1] into the current shell
76 source <(kubeadm completion zsh)
77
78
79
80
82 kubeadm(1),
83
84
85
87 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
88 com) based on the kubernetes source material, but hopefully they have
89 been automatically generated since!
90
91
92
93Eric Paris kubernetes User Manuals KUBERNETES(1)