How To Get Kubernetes Config Information And Token Details Using Kubectl Command
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.
# kubectl config view 2. To get the information related to Token and Certificate without getting REDACTED, use this command:# kubectl config view --rawUsing above procedure you can get all the information and is alternative way if kubeconfig file is unknown.
PreviousNode went into NotReady state after updating CPU manager policy
NextScaling master nodes fails with error "waiting for etcd members to start"
Last updated
