1KUBERNETES(1)(kubernetes)                            KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7

NAME

9       kubeadm  completion  -  Output  shell completion code for the specified
10       shell (bash or zsh)
11
12
13

SYNOPSIS

15       kubeadm completion [OPTIONS]
16
17
18

DESCRIPTION

20       Output shell completion code for the specified  shell  (bash  or  zsh).
21       The  shell  code must be evaluated to provide interactive completion of
22       kubeadm commands. This can be done by sourcing it from  the  .bash_pro‐
23       file.
24
25
26       Note: this requires the bash-completion framework.
27
28
29       To install it on Mac use homebrew:
30           $ brew install bash-completion Once installed, bash_completion must
31       be evaluated. This can be done by adding  the  following  line  to  the
32       .bash_profile
33           $ source $(brew --prefix)/etc/bash_completion
34
35
36       If  bash-completion  is  not  installed  on  Linux,  please install the
37       'bash-completion' package via your distribution's package manager.
38
39
40       Note for zsh users: [1] zsh completions are only supported in  versions
41       of zsh >= 5.2
42
43
44

OPTIONS INHERITED FROM PARENT COMMANDS

46       --azure-container-registry-config=""       Path  to the file containing
47       Azure container registry configuration information.
48
49
50       --log-flush-frequency=5s      Maximum number  of  seconds  between  log
51       flushes
52
53
54       --rootfs=""       [EXPERIMENTAL]  The  path  to  the  'real'  host root
55       filesystem.
56
57
58       --version=false      Print version information and quit
59
60
61

EXAMPLE

63              # Install bash completion on a Mac using homebrew
64              brew install bash-completion
65              printf "\n# Bash completion support\nsource $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
66              source $HOME/.bash_profile
67
68              # Load the kubeadm completion code for bash into the current shell
69              source <(kubeadm completion bash)
70
71              # Write bash completion code to a file and source it from .bash_profile
72              kubeadm completion bash >  /.kube/kubeadm_completion.bash.inc
73              printf "\n# Kubeadm shell completion\nsource '$HOME/.kube/kubeadm_completion.bash.inc'\n" >> $HOME/.bash_profile
74              source $HOME/.bash_profile
75
76              # Load the kubeadm completion code for zsh[1] into the current shell
77              source <(kubeadm completion zsh)
78
79
80
81

SEE ALSO

83       kubeadm(1),
84
85
86

HISTORY

88       January 2015, Originally compiled by Eric Paris (eparis at  redhat  dot
89       com)  based  on the kubernetes source material, but hopefully they have
90       been automatically generated since!
91
92
93
94Manuals                              User            KUBERNETES(1)(kubernetes)
Impressum