I just installed a single-node kubernetes cluster on CentOS7 using kubeadm according to this manual, then installed the kubernetes-dashboard extension. But the pod status is CrashLoopBackOff.
I have checked the logs of the dashboard docker container and found following error:
...
2017/10/24 10:15:57 Serving securely on HTTPS port: 8443
2017/10/24 10:15:57 Couldn't read CA certificate: open : no such file or directoryWhat does this mean?
you need to mount your certificate into your kubernetes-dashboard deployment so it can access your SSL/TLS Certificate.
i assume you are using the following deployment: https://github.com/kubernetes/dashboard/blob/master/src/deploy/recommended/kubernetes-dashboard.yaml
so you need to add your key and public key to your kubernetes secret "kubernetes-dashboard-certs".
For Cert Generation see: https://github.com/kubernetes/dashboard/wiki/Certificate-management
For more information about Secrets in K8s see: https://kubernetes.io/docs/concepts/configuration/secret/