Kubeconfig credentials
To interact with the cluster, you need validkubeconfig
credentials. SambaNova provides this file and the associated base64-encoded password.
- Save the provided kubeconfig file securely (e.g., ~/kube/).
-
Decode the base64-encoded password and save it to a YAML file.
Store both the password and kubeconfig file securely and do not share them with unauthorized users; the password is required to access cluster nodes.
-
Export the kubeconfig path:
Example kubeconfig structure
The following sample kubeconfig file shows how clusters, users, and contexts are defined for Kubernetes authentication and access.Kubeconfig fields
Keyword | Description |
---|---|
apiVersion / kind | Defines the type of Kubernetes config. |
clusters | Contains cluster names, endpoints, and certificate authority information. |
users | Specifies users and their authentication method (e.g., token). |
contexts | Maps a user to a cluster and may include a default namespace. |
current-context | The active context used by kubectl . |