1KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7
9 kubectl plugin - Provides utilities for interacting with plugins
10
11
12
14 kubectl plugin [OPTIONS]
15
16
17
19 Provides utilities for interacting with plugins.
20
21
22 Plugins provide extended functionality that is not part of the major
23 command-line distribution. Please refer to the documentation and exam‐
24 ples for more information about how write your own plugins.
25
26
27 The easiest way to discover and install plugins is via the kubernetes
28 sub-project krew. To install krew, visit
29 https://krew.sigs.k8s.io/docs/user-guide/setup/install/
30 krew.sigs.k8s.io https://krew.sigs.k8s.io/docs/user-guide/setup/in‐
31 stall/
32
33
34
36 --as="" Username to impersonate for the operation. User could be a
37 regular user or a service account in a namespace.
38
39
40 --as-group=[] Group to impersonate for the operation, this flag
41 can be repeated to specify multiple groups.
42
43
44 --as-uid="" UID to impersonate for the operation.
45
46
47 --azure-container-registry-config="" Path to the file containing
48 Azure container registry configuration information.
49
50
51 --cache-dir="/builddir/.kube/cache" Default cache directory
52
53
54 --certificate-authority="" Path to a cert file for the certificate
55 authority
56
57
58 --client-certificate="" Path to a client certificate file for TLS
59
60
61 --client-key="" Path to a client key file for TLS
62
63
64 --cluster="" The name of the kubeconfig cluster to use
65
66
67 --context="" The name of the kubeconfig context to use
68
69
70 --disable-compression=false If true, opt-out of response compres‐
71 sion for all requests to the server
72
73
74 --insecure-skip-tls-verify=false If true, the server's certificate
75 will not be checked for validity. This will make your HTTPS connections
76 insecure
77
78
79 --kubeconfig="" Path to the kubeconfig file to use for CLI re‐
80 quests.
81
82
83 --match-server-version=false Require server version to match
84 client version
85
86
87 -n, --namespace="" If present, the namespace scope for this CLI
88 request
89
90
91 --password="" Password for basic authentication to the API server
92
93
94 --profile="none" Name of profile to capture. One of
95 (none|cpu|heap|goroutine|threadcreate|block|mutex)
96
97
98 --profile-output="profile.pprof" Name of the file to write the
99 profile to
100
101
102 --request-timeout="0" The length of time to wait before giving up
103 on a single server request. Non-zero values should contain a corre‐
104 sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
105 out requests.
106
107
108 -s, --server="" The address and port of the Kubernetes API server
109
110
111 --tls-server-name="" Server name to use for server certificate
112 validation. If it is not provided, the hostname used to contact the
113 server is used
114
115
116 --token="" Bearer token for authentication to the API server
117
118
119 --user="" The name of the kubeconfig user to use
120
121
122 --username="" Username for basic authentication to the API server
123
124
125 --version=false Print version information and quit
126
127
128 --warnings-as-errors=false Treat warnings received from the server
129 as errors and exit with a non-zero exit code
130
131
132
134 kubectl(1), kubectl-plugin-list(1),
135
136
137
139 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
140 com) based on the kubernetes source material, but hopefully they have
141 been automatically generated since!
142
143
144
145Manuals User KUBERNETES(1)(kubernetes)