CARVIEW |
Select Language
HTTP/2 301
date: Fri, 18 Jul 2025 06:00:02 GMT
content-type: text/html
location: /reference/doctl/reference/kubernetes/cluster/kubeconfig/remove/
x-frame-options: ALLOW-FROM https://marina.digitalocean.com/
x-xss-protection: 1; mode=block
content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-do-app-origin: 278230ee-e6a3-11ec-b1dc-0c42a19a82a7
cache-control: private
x-do-orig-status: 301
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=F8oqaaikl.ss.9Elb6I6SadgDUuO4eV0PJK5Il5HS3o-1752818402-1.0.1.1-4EDoTxYnC7jq8vtOKVqMSwdtpZuVUS_tpdg27sSFv4ctJ.mqmvqdsgzm0KkYacyE8NLV40qy.9SBdKSZ.w0lGH0oRQBq4VvxGWELhUq4AJc; path=/; expires=Fri, 18-Jul-25 06:30:02 GMT; domain=.ondigitalocean.app; HttpOnly; Secure; SameSite=None
vary: Accept-Encoding
set-cookie: __cf_bm=1oTa3Mg7IrrAhBmiqA7_7OTTYjB4trC86DHIeTZcmEE-1752818402-1.0.1.1-q78M0iQ5p8U7UfGAc6gXceBJ4JNevEeRThq1Z5KFt3BxpWwmM2Q71FdRVwFPs4fEJuM4wF5eUQH9LHGGFhp4RIZpUVdFToqyz9Tl4qZMvBnJcd.ZhzZT6n5f69a6jg_9; path=/; expires=Fri, 18-Jul-25 06:30:02 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 960fc1a09acf95be-BLR
HTTP/2 200
date: Fri, 18 Jul 2025 06:00:03 GMT
content-type: text/html
last-modified: Thu, 17 Jul 2025 20:59:55 GMT
vary: Accept-Encoding
x-frame-options: ALLOW-FROM https://marina.digitalocean.com/
x-xss-protection: 1; mode=block
content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-do-app-origin: 278230ee-e6a3-11ec-b1dc-0c42a19a82a7
cache-control: private
x-do-orig-status: 200
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=uZUjO57mg4rYPWvs4t2MLZucs.ZZ39F9Mg63NYIOFfk-1752818402-1.0.1.1-lHJJ9eubMyh8JMbO6HOh1A0ilXTX3pxdvxWTAbfqABaa6vifyBBuG_v55.eeUIORNno_1oqFADH66nRtWFgUlUI.KAjDTmmBu5p_AD8UULs; path=/; expires=Fri, 18-Jul-25 06:30:02 GMT; domain=.ondigitalocean.app; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 960fc1a608ff95be-BLR
content-encoding: gzip
doctl kubernetes cluster kubeconfig remove | DigitalOcean Documentation
doctl kubernetes cluster kubeconfig remove
Generated on 23 Jun 2025
from doctl
version
v1.131.0
Usage
doctl kubernetes cluster kubeconfig remove <cluster-id|cluster-name> [flags]
Aliases
d, rm
Description
This command removes the specified cluster’s credentials from your local kubeconfig. After running this command, you cannot use kubectl
to interact with your cluster.
Example
The following example removes the credentials for a cluster named example-cluster
from your local kubeconfig:
doctl kubernetes cluster kubeconfig remove example-cluster
Flags
Option | Description |
---|---|
--help , -h |
Help for this command |
Related Commands
Command | Description |
---|---|
doctl kubernetes cluster kubeconfig | Display commands for managing your local kubeconfig |
Global Flags
Option | Description |
---|---|
--access-token , -t |
API V2 access token |
--api-url , -u |
Override default API endpoint |
--config , -c |
Specify a custom config file Default: |
--context |
Specify a custom authentication context name |
--http-retry-max |
Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5 |
--http-retry-wait-max |
Set the minimum number of seconds to wait before retrying a failed request
Default: 30 |
--http-retry-wait-min |
Set the maximum number of seconds to wait before retrying a failed request
Default: 1 |
--interactive |
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false |
--output , -o |
Desired output format [text|json] Default: text |
--trace |
Show a log of network activity while performing a command Default: false |
--verbose , -v |
Enable verbose output Default: false |
We can't find any results for your search.
Try using different keywords or simplifying your search terms.