Monday, February 5, 2024

kubectl create clusterrolebinding ... RBAC

$ kubectl create clusterrolebinding $USER-edit --clusterrole=edit --user=$USER

Best practices around RBAC will be discussed in Chapter 9Helm Security Considerations

kubectl config view

The kubectl config view command can be used to view the kubeconfig file. Notice how the clusterscontexts, and user stanzas of kubeconfig correspond to the previously described commands, as shown:

$ kubectl config view

apiVersion: v1

clusters:

- cluster:

    certificate-authority: /home/helm-user/.minikube/ca.crt

    server: https://192.168.99.102:8443

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


Helm | Related Projects and Documentation. Plugins!!!

Releases · helm/helm on github

Downloads – Oracle VM VirtualBox

Releases · kubernetes/minikube