Cluster Kubeconfig
Kubernetes users can download the non-administrative (Member) Kubeconfig file for a cluster by clicking the Kubeconfig button in the Kubernetes Dashboard screen.
The downloaded file will look something like this:
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: <certificate string goes here>
server: https://test.mynewdeployment.com:9500
name: Kubernetes Cluster One
contexts:
- context:
cluster: Kubernetes Cluster One
user: HPECP-k8s_member
namespace: k8s-tenant1
name: Kubernetes Cluster One-K8S Tenant1-k8s_member
current-context: Kubernetes Cluster One-K8S Tenant1-k8s_member
kind: Config
preferences: {}
users:
- name: HPECP-k8s_member
user:
exec:
command: kubectl
apiVersion: client.authentication.k8s.io/v1beta1
args:
- hpecp
- authenticate
- test.mynewdeployment.com:8080
- --hpecp-user=k8s_member
- --hpecp-token=/api/v2/session/<UUID goes here>
- --hpecp-token-expiry=1581033286
- --insecure=true
- --insecure-skip-tls-verify=true