Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Get Kubernetes Config Information And Token Details Using Kubectl Command
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Get the Kubernetes configuration information details, Certificate details and Token information using the kubectl command.
Environment
- Platform9 Managed Kubernetes - v5.0 and Higher
Procedure
You can use kubectl config command to get those details
- Execute below command to get the details cluster name, server url, username, etc. Token and Certificate information will be REDACTED with this command.
Kubeconfig View
xxxxxxxxxx# kubectl config view2. To get the information related to Token and Certificate without getting REDACTED, use this command:
Config View
xxxxxxxxxx# kubectl config view --raw- Using above procedure you can get all the information and is alternative way if kubeconfig file is unknown.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message