1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubectl certificate approve - Approve a certificate signing request
7
8
9
11 kubectl certificate approve [OPTIONS]
12
13
14
16 Approve a certificate signing request.
17
18
19 kubectl certificate approve allows a cluster admin to approve a
20 certificate signing request (CSR). This action tells a certificate
21 signing controller to issue a certificate to the requestor with the
22 attributes requested in the CSR.
23
24
25 SECURITY NOTICE: Depending on the requested attributes, the issued
26 certificate can potentially grant a requester access to cluster
27 resources or to authenticate as a requested identity. Before approving
28 a CSR, ensure you understand what the signed certificate can do.
29
30
31
33 --allow-missing-template-keys=true
34 If true, ignore any errors in templates when a field or map key is
35 missing in the template. Only applies to golang and jsonpath output
36 formats.
37
38
39 -f, --filename=[]
40 Filename, directory, or URL to files identifying the resource to
41 update
42
43
44 --force=false
45 Update the CSR even if it is already approved.
46
47
48 -k, --kustomize=""
49 Process the kustomization directory. This flag can't be used
50 together with -f or -R.
51
52
53 -o, --output=""
54 Output format. One of:
55 json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
56
57
58 -R, --recursive=false
59 Process the directory used in -f, --filename recursively. Useful
60 when you want to manage related manifests organized within the same
61 directory.
62
63
64 --template=""
65 Template string or path to template file to use when
66 -o=go-template, -o=go-template-file. The template format is golang
67 templates [ ⟨http://golang.org/pkg/text/template/#pkg-overview⟩].
68
69
70
72 --add-dir-header=false
73 If true, adds the file directory to the header
74
75
76 --alsologtostderr=false
77 log to standard error as well as files
78
79
80 --application-metrics-count-limit=100
81 Max number of application metrics to store (per container)
82
83
84 --as=""
85 Username to impersonate for the operation
86
87
88 --as-group=[]
89 Group to impersonate for the operation, this flag can be repeated
90 to specify multiple groups.
91
92
93 --azure-container-registry-config=""
94 Path to the file containing Azure container registry configuration
95 information.
96
97
98 --boot-id-file="/proc/sys/kernel/random/boot_id"
99 Comma-separated list of files to check for boot-id. Use the first
100 one that exists.
101
102
103 --cache-dir="/builddir/.kube/http-cache"
104 Default HTTP cache directory
105
106
107 --certificate-authority=""
108 Path to a cert file for the certificate authority
109
110
111 --client-certificate=""
112 Path to a client certificate file for TLS
113
114
115 --client-key=""
116 Path to a client key file for TLS
117
118
119 --cloud-provider-gce-l7lb-src-cidrs=130.211.0.0/22,35.191.0.0/16
120 CIDRs opened in GCE firewall for L7 LB traffic proxy health checks
121
122
123 --cloud-provider-gce-lb-src-cidrs=130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16
124 CIDRs opened in GCE firewall for L4 LB traffic proxy health checks
125
126
127 --cluster=""
128 The name of the kubeconfig cluster to use
129
130
131 --container-hints="/etc/cadvisor/container_hints.json"
132 location of the container hints file
133
134
135 --containerd="/run/containerd/containerd.sock"
136 containerd endpoint
137
138
139 --containerd-namespace="k8s.io"
140 containerd namespace
141
142
143 --context=""
144 The name of the kubeconfig context to use
145
146
147 --default-not-ready-toleration-seconds=300
148 Indicates the tolerationSeconds of the toleration for
149 notReady:NoExecute that is added by default to every pod that does not
150 already have such a toleration.
151
152
153 --default-unreachable-toleration-seconds=300
154 Indicates the tolerationSeconds of the toleration for
155 unreachable:NoExecute that is added by default to every pod that does
156 not already have such a toleration.
157
158
159 --disable-root-cgroup-stats=false
160 Disable collecting root Cgroup stats
161
162
163 --docker="unix:///var/run/docker.sock"
164 docker endpoint
165
166
167 --docker-env-metadata-whitelist=""
168 a comma-separated list of environment variable keys that needs to
169 be collected for docker containers
170
171
172 --docker-only=false
173 Only report docker containers in addition to root stats
174
175
176 --docker-root="/var/lib/docker"
177 DEPRECATED: docker root is read from docker info (this is a
178 fallback, default: /var/lib/docker)
179
180
181 --docker-tls=false
182 use TLS to connect to docker
183
184
185 --docker-tls-ca="ca.pem"
186 path to trusted CA
187
188
189 --docker-tls-cert="cert.pem"
190 path to client certificate
191
192
193 --docker-tls-key="key.pem"
194 path to private key
195
196
197 --enable-load-reader=false
198 Whether to enable cpu load reader
199
200
201 --event-storage-age-limit="default=0"
202 Max length of time for which to store events (per type). Value is a
203 comma separated list of key values, where the keys are event types
204 (e.g.: creation, oom) or "default" and the value is a duration. Default
205 is applied to all non-specified event types
206
207
208 --event-storage-event-limit="default=0"
209 Max number of events to store (per type). Value is a comma
210 separated list of key values, where the keys are event types (e.g.:
211 creation, oom) or "default" and the value is an integer. Default is
212 applied to all non-specified event types
213
214
215 --global-housekeeping-interval=1m0s
216 Interval between global housekeepings
217
218
219 --housekeeping-interval=10s
220 Interval between container housekeepings
221
222
223 --insecure-skip-tls-verify=false
224 If true, the server's certificate will not be checked for validity.
225 This will make your HTTPS connections insecure
226
227
228 --kubeconfig=""
229 Path to the kubeconfig file to use for CLI requests.
230
231
232 --log-backtrace-at=:0
233 when logging hits line file:N, emit a stack trace
234
235
236 --log-cadvisor-usage=false
237 Whether to log the usage of the cAdvisor container
238
239
240 --log-dir=""
241 If non-empty, write log files in this directory
242
243
244 --log-file=""
245 If non-empty, use this log file
246
247
248 --log-file-max-size=1800
249 Defines the maximum size a log file can grow to. Unit is megabytes.
250 If the value is 0, the maximum file size is unlimited.
251
252
253 --log-flush-frequency=5s
254 Maximum number of seconds between log flushes
255
256
257 --logtostderr=true
258 log to standard error instead of files
259
260
261 --machine-id-file="/etc/machine-id,/var/lib/dbus/machine-id"
262 Comma-separated list of files to check for machine-id. Use the
263 first one that exists.
264
265
266 --match-server-version=false
267 Require server version to match client version
268
269
270 -n, --namespace=""
271 If present, the namespace scope for this CLI request
272
273
274 --password=""
275 Password for basic authentication to the API server
276
277
278 --profile="none"
279 Name of profile to capture. One of
280 (none|cpu|heap|goroutine|threadcreate|block|mutex)
281
282
283 --profile-output="profile.pprof"
284 Name of the file to write the profile to
285
286
287 --request-timeout="0"
288 The length of time to wait before giving up on a single server
289 request. Non-zero values should contain a corresponding time unit (e.g.
290 1s, 2m, 3h). A value of zero means don't timeout requests.
291
292
293 -s, --server=""
294 The address and port of the Kubernetes API server
295
296
297 --skip-headers=false
298 If true, avoid header prefixes in the log messages
299
300
301 --skip-log-headers=false
302 If true, avoid headers when opening log files
303
304
305 --stderrthreshold=2
306 logs at or above this threshold go to stderr
307
308
309 --storage-driver-buffer-duration=1m0s
310 Writes in the storage driver will be buffered for this duration,
311 and committed to the non memory backends as a single transaction
312
313
314 --storage-driver-db="cadvisor"
315 database name
316
317
318 --storage-driver-host="localhost:8086"
319 database host:port
320
321
322 --storage-driver-password="root"
323 database password
324
325
326 --storage-driver-secure=false
327 use secure connection with database
328
329
330 --storage-driver-table="stats"
331 table name
332
333
334 --storage-driver-user="root"
335 database username
336
337
338 --tls-server-name=""
339 Server name to use for server certificate validation. If it is not
340 provided, the hostname used to contact the server is used
341
342
343 --token=""
344 Bearer token for authentication to the API server
345
346
347 --update-machine-info-interval=5m0s
348 Interval between machine info updates.
349
350
351 --user=""
352 The name of the kubeconfig user to use
353
354
355 --username=""
356 Username for basic authentication to the API server
357
358
359 -v, --v=0
360 number for the log level verbosity
361
362
363 --version=false
364 Print version information and quit
365
366
367 --vmodule=
368 comma-separated list of pattern=N settings for file-filtered
369 logging
370
371
372
374 kubectl-certificate(1),
375
376
377
379 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
380 com) based on the kubernetes source material, but hopefully they have
381 been automatically generated since!
382
383
384
385Eric Paris kubernetes User Manuals KUBERNETES(1)