Nodelet Phases Restart on Master Node Stuck at "Wait for k8s services and network to be up" Stage.

Problem

The scaling of master node in an existing cluster fails, the subsequent nodelet phases restart stuck at "Wait for k8s services and network to be up" stage.

In the kubelet logs below error observed:

kubelet logs
Copy

Environment

  • Platform9 Managed Kubenetes - v5.6
  • Kubernetes - v1.23

Cause

  • The static pods(control-plane pods) were pointing towards non-existing file/etc/pf9/kube.d/master.yaml.
Bash
Copy
  • A known bug is causing this issue PMK-5807.

Resolution

  • The issue is fixed in Platform9 Managed Kubernetes v5.7. Reference JIRA [PMK-5807].

Additional Information

  • In nodelet.log file below error observed.
Nodelet Debug Logs
Copy
  • As a workaround updated the static pod file path in master-default-kubelet-config configmap.
Bash
Copy
  • Restart the PMK Stack.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard