Hi , if i create clusterrole how can i see the cluster role and cluster role bindings . because after i created and i cant view those using kubectl get … do i need to create the clusterrole only with root user?
You don’t need to create a
clusterrolebinding, to view the
These get clusterroles can view using only root account??
Also creation of cluster role also need to do using root account only??
It doesn’t rely on
You have to check, where you set the config file:
mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config