Kubernetes Dashboard Pod Not Running

Problem

Kubernetes dashboard pod in crashLoopBackOff state:

Javascript
Copy

Also, the clusteraddon associated with the kubernetes dashboard will be in installAddonError state:

Kubernetes Dashboard
Copy

Environment

  • Platform9 Managed Kubernetes - v5.5 and Higher

Cause

The kubernetes dashboard pod is in crashLoopBackOff state due to the missing /etc/cni/net.d/calico-kubeconfig file in the node.

Resolution

Restart PMK stack on the affected node, this should re-populate the file /etc/cni/net.d/calico-kubeconfig, and recreate the pods and related resources.

The commands shared below will restart PMK stack in the affected node:

Nodeletd Phases restart
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard