Downloading the kubeconfig file
You can follow these links to learn how to access the kubeconfig file of your cluster based on the cloud service you are using:
sample kubeconfig file
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: ${cluster_ca_certificate} //Use this value for CERTIFICATE AUTHORITY
server: ${endpoint} //Use this value for HOST
name: ${cluster_name}
contexts:
- context:
cluster: ${cluster_name}
user: ${user_name}
name: ${name}
current-context: your-context
kind: Config
preferences: {}
users:
- name: ${name}
user:
token: ${access_token} //Use this value for TOKEN