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