Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

minikube error – CrashLoopBackOff: secrets is forbidden: User “system:serviceaccount:kube-system:default”

$ minikube dashboard
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503

$ kubectl get pod -n=kube-system
NAME                                    READY   STATUS             RESTARTS   AGE
coredns-5c98db65d4-b554r                1/1     Running            2          10h
coredns-5c98db65d4-zqnvx                1/1     Running            2          10h
etcd-minikube                           1/1     Running            1          10h
kube-addon-manager-minikube             1/1     Running            1          10h
kube-apiserver-minikube                 1/1     Running            1          10h
kube-controller-manager-minikube        1/1     Running            1          10h
kube-proxy-g6kmz                        1/1     Running            1          10h
kube-scheduler-minikube                 1/1     Running            1          10h
kubernetes-dashboard-7b8ddcb5d6-dvxmf   0/1     CrashLoopBackOff   4          105s
storage-provisioner                     1/1     Running            2          10h
$ kubectl logs kubernetes-dashboard-7b8ddcb5d6-dvxmf -n=kube-system
dashboard CrashLoopBackOff: secrets is forbidden: User "system:serviceaccount:kube-system:default" cannot create resource

Solution

kubectl create clusterrolebinding kube-system-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.