-
Notifications
You must be signed in to change notification settings - Fork 173
/
cli.json
4012 lines (4012 loc) · 245 KB
/
cli.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"kubectl": {
"args": [],
"command": "kubectl",
"help": "kubectl controls the Kubernetes cluster manager",
"options": {
"--alsologtostderr": {
"help": "log to standard error as well as files",
"name": "--alsologtostderr"
},
"--api-version": {
"help": "DEPRECATED: The API version to use when talking to the server",
"name": "--api-version"
},
"--as": {
"help": "Username to impersonate for the operation",
"name": "--as"
},
"--certificate-authority": {
"help": "Path to a cert. file for the certificate authority",
"name": "--certificate-authority"
},
"--client-certificate": {
"help": "Path to a client certificate file for TLS",
"name": "--client-certificate"
},
"--client-key": {
"help": "Path to a client key file for TLS",
"name": "--client-key"
},
"--cluster": {
"help": "The name of the kubeconfig cluster to use",
"name": "--cluster"
},
"--context": {
"help": "The name of the kubeconfig context to use",
"name": "--context"
},
"--insecure-skip-tls-verify": {
"help": "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure",
"name": "--insecure-skip-tls-verify"
},
"--kubeconfig": {
"help": "Path to the kubeconfig file to use for CLI requests.",
"name": "--kubeconfig"
},
"--log-backtrace-at": {
"help": "when logging hits line file:N, emit a stack trace",
"name": "--log-backtrace-at"
},
"--log-dir": {
"help": "If non-empty, write log files in this directory",
"name": "--log-dir"
},
"--logtostderr": {
"help": "log to standard error instead of files",
"name": "--logtostderr"
},
"--match-server-version": {
"help": "Require server version to match client version",
"name": "--match-server-version"
},
"--namespace": {
"help": "If present, the namespace scope for this CLI request",
"name": "--namespace"
},
"--password": {
"help": "Password for basic authentication to the API server",
"name": "--password"
},
"--request-timeout": {
"help": "The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.",
"name": "--request-timeout"
},
"--server": {
"help": "The address and port of the Kubernetes API server",
"name": "--server"
},
"--stderrthreshold": {
"help": "logs at or above this threshold go to stderr",
"name": "--stderrthreshold"
},
"--token": {
"help": "Bearer token for authentication to the API server",
"name": "--token"
},
"--user": {
"help": "The name of the kubeconfig user to use",
"name": "--user"
},
"--username": {
"help": "Username for basic authentication to the API server",
"name": "--username"
},
"--v": {
"help": "log level for V logs",
"name": "--v"
},
"--vmodule": {
"help": "comma-separated list of pattern=N settings for file-filtered logging",
"name": "--vmodule"
}
},
"subcommands": {
"annotate": {
"args": [
"role",
"clusterrole",
"podsecuritypolicy",
"thirdpartyresource",
"clusterrolebinding",
"status",
"replicaset",
"namespace",
"rolebinding",
"persistentvolumeclaim",
"service",
"poddisruptionbudget",
"componentstatus",
"daemonset",
"event",
"limitrange",
"deployment",
"cluster",
"networkpolicy",
"persistentvolume",
"configmap",
"podtemplate",
"job",
"horizontalpodautoscaler",
"certificatesigningrequest",
"ingress",
"statefulset",
"storageclass",
"secret",
"endpoints",
"pod",
"cronjob",
"thirdpartyresourcedata",
"replicationcontroller",
"resourcequota",
"serviceaccount",
"node"
],
"command": "annotate",
"help": "Update the annotations on a resource",
"options": {
"--all": {
"help": "select all resources in the namespace of the specified resource types",
"name": "--all"
},
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--dry-run": {
"help": "If true, only print the object that would be sent, without sending it.",
"name": "--dry-run"
},
"--filename": {
"help": "Filename, directory, or URL to files identifying the resource to update the annotation",
"name": "--filename"
},
"--include-extended-apis": {
"help": "If true, include definitions of new APIs via calls to the API server. [default true]",
"name": "--include-extended-apis"
},
"--local": {
"help": "If true, annotation will NOT contact api-server but run locally.",
"name": "--local"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').",
"name": "--output-version"
},
"--overwrite": {
"help": "If true, allow annotations to be overwritten, otherwise reject annotation updates that overwrite existing annotations.",
"name": "--overwrite"
},
"--record": {
"help": "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.",
"name": "--record"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
},
"--resource-version": {
"help": "If non-empty, the annotation update will only succeed if this is the current resource-version for the object. Only valid when specifying a single resource.",
"name": "--resource-version"
},
"--selector": {
"help": "Selector (label query) to filter on, supports '=', '==', and '!='.",
"name": "--selector"
},
"--show-all": {
"help": "When printing, show all resources (default hide terminated pods.)",
"name": "--show-all"
},
"--show-labels": {
"help": "When printing, show all labels as the last column (default hide labels column)",
"name": "--show-labels"
},
"--sort-by": {
"help": "If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.",
"name": "--sort-by"
},
"--template": {
"help": "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].",
"name": "--template"
}
},
"subcommands": {}
},
"api-versions": {
"args": [],
"command": "api-versions",
"help": "Print the supported API versions on the server, in the form of \"group/version\"",
"options": {},
"subcommands": {}
},
"apply": {
"args": [],
"command": "apply",
"help": "Apply a configuration to a resource by filename or stdin",
"options": {
"--all": {
"help": "[-all] to select all the specified resources.",
"name": "--all"
},
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--cascade": {
"help": "Only relevant during a prune or a force apply. If true, cascade the deletion of the resources managed by pruned or deleted resources (e.g. Pods created by a ReplicationController).",
"name": "--cascade"
},
"--dry-run": {
"help": "If true, only print the object that would be sent, without sending it.",
"name": "--dry-run"
},
"--filename": {
"help": "Filename, directory, or URL to files that contains the configuration to apply",
"name": "--filename"
},
"--force": {
"help": "Delete and re-create the specified resource, when PATCH encounters conflict and has retried for 5 times.",
"name": "--force"
},
"--grace-period": {
"help": "Only relevant during a prune or a force apply. Period of time in seconds given to pruned or deleted resources to terminate gracefully. Ignored if negative.",
"name": "--grace-period"
},
"--include-extended-apis": {
"help": "If true, include definitions of new APIs via calls to the API server. [default true]",
"name": "--include-extended-apis"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').",
"name": "--output-version"
},
"--overwrite": {
"help": "Automatically resolve conflicts between the modified and live configuration by using values from the modified configuration",
"name": "--overwrite"
},
"--prune": {
"help": "Automatically delete resource objects that do not appear in the configs and are created by either apply or create --save-config. Should be used with either -l or --all.",
"name": "--prune"
},
"--prune-whitelist": {
"help": "Overwrite the default whitelist with <group/version/kind> for --prune",
"name": "--prune-whitelist"
},
"--record": {
"help": "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.",
"name": "--record"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
},
"--schema-cache-dir": {
"help": "If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema'",
"name": "--schema-cache-dir"
},
"--selector": {
"help": "Selector (label query) to filter on, supports '=', '==', and '!='.",
"name": "--selector"
},
"--show-all": {
"help": "When printing, show all resources (default hide terminated pods.)",
"name": "--show-all"
},
"--show-labels": {
"help": "When printing, show all labels as the last column (default hide labels column)",
"name": "--show-labels"
},
"--sort-by": {
"help": "If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.",
"name": "--sort-by"
},
"--template": {
"help": "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].",
"name": "--template"
},
"--timeout": {
"help": "Only relevant during a force apply. The length of time to wait before giving up on a delete of the old resource, zero means determine a timeout from the size of the object. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).",
"name": "--timeout"
},
"--validate": {
"help": "If true, use a schema to validate the input before sending it",
"name": "--validate"
}
},
"subcommands": {
"set-last-applied": {
"args": [],
"command": "set-last-applied",
"help": "Set the last-applied-configuration annotation on a live object to match the contents of a file.",
"options": {
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--create-annotation": {
"help": "Will create 'last-applied-configuration' annotations if current objects doesn't have one",
"name": "--create-annotation"
},
"--dry-run": {
"help": "If true, only print the object that would be sent, without sending it.",
"name": "--dry-run"
},
"--filename": {
"help": "Filename, directory, or URL to files that contains the last-applied-configuration annotations",
"name": "--filename"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').",
"name": "--output-version"
},
"--record": {
"help": "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.",
"name": "--record"
},
"--show-all": {
"help": "When printing, show all resources (default hide terminated pods.)",
"name": "--show-all"
},
"--show-labels": {
"help": "When printing, show all labels as the last column (default hide labels column)",
"name": "--show-labels"
},
"--sort-by": {
"help": "If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.",
"name": "--sort-by"
},
"--template": {
"help": "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].",
"name": "--template"
}
},
"subcommands": {}
},
"view-last-applied": {
"args": [],
"command": "view-last-applied",
"help": "View latest last-applied-configuration annotations of a resource/object",
"options": {
"--filename": {
"help": "Filename, directory, or URL to files that contains the last-applied-configuration annotations",
"name": "--filename"
},
"--output": {
"help": "Output format. Must be one of yaml|json",
"name": "--output"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
},
"--selector": {
"help": "Selector (label query) to filter on, supports '=', '==', and '!='.",
"name": "--selector"
}
},
"subcommands": {}
}
}
},
"attach": {
"args": [],
"command": "attach",
"help": "Attach to a running container",
"options": {
"--container": {
"help": "Container name. If omitted, the first container in the pod will be chosen",
"name": "--container"
},
"--stdin": {
"help": "Pass stdin to the container",
"name": "--stdin"
},
"--tty": {
"help": "Stdin is a TTY",
"name": "--tty"
}
},
"subcommands": {}
},
"auth": {
"args": [],
"command": "auth",
"help": "Inspect authorization",
"options": {},
"subcommands": {
"can-i": {
"args": [],
"command": "can-i",
"help": "Check whether an action is allowed",
"options": {
"--all-namespaces": {
"help": "If true, check the specified action in all namespaces.",
"name": "--all-namespaces"
},
"--quiet": {
"help": "If true, suppress output and just return the exit code.",
"name": "--quiet"
}
},
"subcommands": {}
}
}
},
"autoscale": {
"args": [
"deployment",
"replicaset",
"replicationcontroller"
],
"command": "autoscale",
"help": "Auto-scale a Deployment, ReplicaSet, or ReplicationController",
"options": {
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--cpu-percent": {
"help": "The target average CPU utilization (represented as a percent of requested CPU) over all the pods. If it's not specified or negative, a default autoscaling policy will be used.",
"name": "--cpu-percent"
},
"--dry-run": {
"help": "If true, only print the object that would be sent, without sending it.",
"name": "--dry-run"
},
"--filename": {
"help": "Filename, directory, or URL to files identifying the resource to autoscale.",
"name": "--filename"
},
"--generator": {
"help": "The name of the API generator to use. Currently there is only 1 generator.",
"name": "--generator"
},
"--include-extended-apis": {
"help": "If true, include definitions of new APIs via calls to the API server. [default true]",
"name": "--include-extended-apis"
},
"--max": {
"help": "The upper limit for the number of pods that can be set by the autoscaler. Required.",
"name": "--max"
},
"--min": {
"help": "The lower limit for the number of pods that can be set by the autoscaler. If it's not specified or negative, the server will apply a default value.",
"name": "--min"
},
"--name": {
"help": "The name for the newly created object. If not specified, the name of the input resource will be used.",
"name": "--name"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').",
"name": "--output-version"
},
"--record": {
"help": "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.",
"name": "--record"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
},
"--save-config": {
"help": "If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.",
"name": "--save-config"
},
"--show-all": {
"help": "When printing, show all resources (default hide terminated pods.)",
"name": "--show-all"
},
"--show-labels": {
"help": "When printing, show all labels as the last column (default hide labels column)",
"name": "--show-labels"
},
"--sort-by": {
"help": "If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.",
"name": "--sort-by"
},
"--template": {
"help": "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].",
"name": "--template"
}
},
"subcommands": {}
},
"certificate": {
"args": [],
"command": "certificate",
"help": "Modify certificate resources.",
"options": {},
"subcommands": {
"approve": {
"args": [],
"command": "approve",
"help": "Approve a certificate signing request",
"options": {
"--filename": {
"help": "Filename, directory, or URL to files identifying the resource to update",
"name": "--filename"
},
"--output": {
"help": "Output mode. Use \"-o name\" for shorter output (resource/name).",
"name": "--output"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
}
},
"subcommands": {}
},
"deny": {
"args": [],
"command": "deny",
"help": "Deny a certificate signing request",
"options": {
"--filename": {
"help": "Filename, directory, or URL to files identifying the resource to update",
"name": "--filename"
},
"--output": {
"help": "Output mode. Use \"-o name\" for shorter output (resource/name).",
"name": "--output"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
}
},
"subcommands": {}
}
}
},
"cluster-info": {
"args": [],
"command": "cluster-info",
"help": "Display cluster info",
"options": {
"--include-extended-apis": {
"help": "If true, include definitions of new APIs via calls to the API server. [default true]",
"name": "--include-extended-apis"
}
},
"subcommands": {
"dump": {
"args": [],
"command": "dump",
"help": "Dump lots of relevant info for debugging and diagnosis",
"options": {
"--all-namespaces": {
"help": "If true, dump all namespaces. If true, --namespaces is ignored.",
"name": "--all-namespaces"
},
"--namespaces": {
"help": "A comma separated list of namespaces to dump.",
"name": "--namespaces"
},
"--output-directory": {
"help": "Where to output the files. If empty or '-' uses stdout, otherwise creates a directory hierarchy in that directory",
"name": "--output-directory"
}
},
"subcommands": {}
}
}
},
"completion": {
"args": [
"bash",
"zsh"
],
"command": "completion",
"help": "Output shell completion code for the specified shell (bash or zsh)",
"options": {},
"subcommands": {}
},
"config": {
"args": [],
"command": "config",
"help": "Modify kubeconfig files",
"options": {},
"subcommands": {
"current-context": {
"args": [],
"command": "current-context",
"help": "Displays the current-context",
"options": {},
"subcommands": {}
},
"delete-cluster": {
"args": [],
"command": "delete-cluster",
"help": "Delete the specified cluster from the kubeconfig",
"options": {},
"subcommands": {}
},
"delete-context": {
"args": [],
"command": "delete-context",
"help": "Delete the specified context from the kubeconfig",
"options": {},
"subcommands": {}
},
"get-clusters": {
"args": [],
"command": "get-clusters",
"help": "Display clusters defined in the kubeconfig",
"options": {},
"subcommands": {}
},
"get-contexts": {
"args": [],
"command": "get-contexts",
"help": "Describe one or many contexts",
"options": {
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
}
},
"subcommands": {}
},
"set": {
"args": [],
"command": "set",
"help": "Sets an individual value in a kubeconfig file",
"options": {
"--set-raw-bytes": {
"help": "When writing a []byte PROPERTY_VALUE, write the given string directly without base64 decoding.",
"name": "--set-raw-bytes"
}
},
"subcommands": {}
},
"set-cluster": {
"args": [],
"command": "set-cluster",
"help": "Sets a cluster entry in kubeconfig",
"options": {
"--api-version": {
"help": "api-version for the cluster entry in kubeconfig",
"name": "--api-version"
},
"--certificate-authority": {
"help": "path to certificate-authority file for the cluster entry in kubeconfig",
"name": "--certificate-authority"
},
"--embed-certs": {
"help": "embed-certs for the cluster entry in kubeconfig",
"name": "--embed-certs"
},
"--insecure-skip-tls-verify": {
"help": "insecure-skip-tls-verify for the cluster entry in kubeconfig",
"name": "--insecure-skip-tls-verify"
},
"--server": {
"help": "server for the cluster entry in kubeconfig",
"name": "--server"
}
},
"subcommands": {}
},
"set-context": {
"args": [],
"command": "set-context",
"help": "Sets a context entry in kubeconfig",
"options": {
"--cluster": {
"help": "cluster for the context entry in kubeconfig",
"name": "--cluster"
},
"--namespace": {
"help": "namespace for the context entry in kubeconfig",
"name": "--namespace"
},
"--user": {
"help": "user for the context entry in kubeconfig",
"name": "--user"
}
},
"subcommands": {}
},
"set-credentials": {
"args": [],
"command": "set-credentials",
"help": "Sets a user entry in kubeconfig",
"options": {
"--auth-provider": {
"help": "auth provider for the user entry in kubeconfig",
"name": "--auth-provider"
},
"--auth-provider-arg": {
"help": "'key=value' arugments for the auth provider",
"name": "--auth-provider-arg"
},
"--client-certificate": {
"help": "path to client-certificate file for the user entry in kubeconfig",
"name": "--client-certificate"
},
"--client-key": {
"help": "path to client-key file for the user entry in kubeconfig",
"name": "--client-key"
},
"--embed-certs": {
"help": "embed client cert/key for the user entry in kubeconfig",
"name": "--embed-certs"
},
"--password": {
"help": "password for the user entry in kubeconfig",
"name": "--password"
},
"--token": {
"help": "token for the user entry in kubeconfig",
"name": "--token"
},
"--username": {
"help": "username for the user entry in kubeconfig",
"name": "--username"
}
},
"subcommands": {}
},
"unset": {
"args": [],
"command": "unset",
"help": "Unsets an individual value in a kubeconfig file",
"options": {},
"subcommands": {}
},
"use-context": {
"args": [],
"command": "use-context",
"help": "Sets the current-context in a kubeconfig file",
"options": {},
"subcommands": {}
},
"view": {
"args": [],
"command": "view",
"help": "Display merged kubeconfig settings or a specified kubeconfig file",
"options": {
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--flatten": {
"help": "flatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)",
"name": "--flatten"
},
"--merge": {
"help": "merge the full hierarchy of kubeconfig files",
"name": "--merge"
},
"--minify": {
"help": "remove all information not used by current-context from the output",
"name": "--minify"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').",
"name": "--output-version"
},
"--raw": {
"help": "display raw byte data",
"name": "--raw"
},
"--show-all": {
"help": "When printing, show all resources (default hide terminated pods.)",
"name": "--show-all"
},
"--show-labels": {
"help": "When printing, show all labels as the last column (default hide labels column)",
"name": "--show-labels"
},
"--sort-by": {
"help": "If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.",
"name": "--sort-by"
},
"--template": {
"help": "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].",
"name": "--template"
}
},
"subcommands": {}
}
}
},
"convert": {
"args": [],
"command": "convert",
"help": "Convert config files between different API versions",
"options": {
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--filename": {
"help": "Filename, directory, or URL to files to need to get converted.",
"name": "--filename"
},
"--include-extended-apis": {
"help": "If true, include definitions of new APIs via calls to the API server. [default true]",
"name": "--include-extended-apis"
},
"--local": {
"help": "If true, convert will NOT try to contact api-server but run locally.",
"name": "--local"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "Output the formatted object with the given group version (for ex: 'extensions/v1beta1').",
"name": "--output-version"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
},
"--schema-cache-dir": {
"help": "If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema'",
"name": "--schema-cache-dir"
},
"--show-all": {
"help": "When printing, show all resources (default hide terminated pods.)",
"name": "--show-all"
},
"--show-labels": {
"help": "When printing, show all labels as the last column (default hide labels column)",
"name": "--show-labels"
},
"--sort-by": {
"help": "If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.",
"name": "--sort-by"
},
"--template": {
"help": "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].",
"name": "--template"
},
"--validate": {
"help": "If true, use a schema to validate the input before sending it",
"name": "--validate"
}
},
"subcommands": {}
},
"cordon": {
"args": [],
"command": "cordon",
"help": "Mark node as unschedulable",
"options": {},
"subcommands": {}
},
"cp": {
"args": [],
"command": "cp",
"help": "Copy files and directories to and from containers.",
"options": {
"--container": {
"help": "Container name. If omitted, the first container in the pod will be chosen",
"name": "--container"
}
},
"subcommands": {}
},
"create": {
"args": [],
"command": "create",
"help": "Create a resource by filename or stdin",
"options": {
"--allow-missing-template-keys": {
"help": "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.",
"name": "--allow-missing-template-keys"
},
"--dry-run": {
"help": "If true, only print the object that would be sent, without sending it.",
"name": "--dry-run"
},
"--edit": {
"help": "Edit the API resource before creating",
"name": "--edit"
},
"--filename": {
"help": "Filename, directory, or URL to files to use to create the resource",
"name": "--filename"
},
"--include-extended-apis": {
"help": "If true, include definitions of new APIs via calls to the API server. [default true]",
"name": "--include-extended-apis"
},
"--no-headers": {
"help": "When using the default or custom-column output format, don't print headers (default print headers).",
"name": "--no-headers"
},
"--output": {
"help": "Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].",
"name": "--output"
},
"--output-version": {
"help": "DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').",
"name": "--output-version"
},
"--record": {
"help": "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.",
"name": "--record"
},
"--recursive": {
"help": "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.",
"name": "--recursive"
},
"--save-config": {
"help": "If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.",
"name": "--save-config"
},
"--schema-cache-dir": {
"help": "If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema'",
"name": "--schema-cache-dir"
},
"--selector": {