Monday, February 5, 2024

kubectl config set-credentials. kubeconfig

kubeconfig:

kubectl config set-cluster


kubectl config set-credentials

The set-credentials command will define the name of a user along with its authentication method and details. This command can configure a username and password pair, client certificate, bearer token, or authentication provider to allow users and administrators the ability to specify varying different methods of authentication.

Then, we have the set-context command:

kubectl config set-context


No comments: