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

NAME

9       kubectl  config  delete-context - Delete the specified context from the
10       kubeconfig
11
12
13

SYNOPSIS

15       kubectl config delete-context [OPTIONS]
16
17
18

DESCRIPTION

20       Delete the specified context from the kubeconfig.
21
22
23

OPTIONS INHERITED FROM PARENT COMMANDS

25       --as=""      Username to impersonate for the operation. User could be a
26       regular user or a service account in a namespace.
27
28
29       --as-group=[]       Group  to  impersonate for the operation, this flag
30       can be repeated to specify multiple groups.
31
32
33       --as-uid=""      UID to impersonate for the operation.
34
35
36       --azure-container-registry-config=""      Path to the  file  containing
37       Azure container registry configuration information.
38
39
40       --cache-dir="/builddir/.kube/cache"      Default cache directory
41
42
43       --certificate-authority=""      Path to a cert file for the certificate
44       authority
45
46
47       --client-certificate=""      Path to a client certificate file for TLS
48
49
50       --client-key=""      Path to a client key file for TLS
51
52
53       --cluster=""      The name of the kubeconfig cluster to use
54
55
56       --context=""      The name of the kubeconfig context to use
57
58
59       --insecure-skip-tls-verify=false      If true, the server's certificate
60       will not be checked for validity. This will make your HTTPS connections
61       insecure
62
63
64       --kubeconfig=""      use a particular kubeconfig file
65
66
67       --match-server-version=false       Require  server  version  to   match
68       client version
69
70
71       -n,  --namespace=""       If  present, the namespace scope for this CLI
72       request
73
74
75       --password=""      Password for basic authentication to the API server
76
77
78       --profile="none"        Name   of   profile   to   capture.   One    of
79       (none|cpu|heap|goroutine|threadcreate|block|mutex)
80
81
82       --profile-output="profile.pprof"       Name  of  the  file to write the
83       profile to
84
85
86       --request-timeout="0"      The length of time to wait before giving  up
87       on  a  single  server  request. Non-zero values should contain a corre‐
88       sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
89       out requests.
90
91
92       -s, --server=""      The address and port of the Kubernetes API server
93
94
95       --tls-server-name=""       Server  name  to  use for server certificate
96       validation. If it is not provided, the hostname  used  to  contact  the
97       server is used
98
99
100       --token=""      Bearer token for authentication to the API server
101
102
103       --user=""      The name of the kubeconfig user to use
104
105
106       --username=""      Username for basic authentication to the API server
107
108
109       --version=false      Print version information and quit
110
111
112       --warnings-as-errors=false      Treat warnings received from the server
113       as errors and exit with a non-zero exit code
114
115
116

EXAMPLE

118                # Delete the context for the minikube cluster
119                kubectl config delete-context minikube
120
121
122
123

SEE ALSO

125       kubectl-config(1),
126
127
128

HISTORY

130       January 2015, Originally compiled by Eric Paris (eparis at  redhat  dot
131       com)  based  on the kubernetes source material, but hopefully they have
132       been automatically generated since!
133
134
135
136Manuals                              User            KUBERNETES(1)(kubernetes)
Impressum