How to Restart PMK Stack?
Problem
Restart PMK stack during the discrepancies occurred related to the PMK stack.
Environment
Platform9 Managed Kubernetes - v5.3 and Higher.
Procedure
Steps to be followed to restart PMK stack in the required node:
Stop pf9-hostagent and pf9-nodeletd services:
sudo systemctl stop pf9-hostagent pf9-nodeletdStop nodeletd phase:
# sudo /opt/pf9/nodelet/nodeletd phases stop --force
# sudo /opt/pf9/nodelet/nodeletd phases status
INDEX NUMBER FILE NAME PHASE STATUS
1 Generate certs / Send signing request to CA stopped
2 Prepare configuration stopped
3 Configure Container Runtime stopped
4 Start Container Runtime stopped
5 Configure etcd stopped
6 Start etcd stopped
7 Network configuration stopped
8 Configure CNI plugin stopped
9 Configure and start pf9-bouncer stopped
10 Miscellaneous scripts and checks stopped
11 Configure and start kubelet stopped
12 Configure and start kube-proxy stopped
13 Wait for k8s services and network to be up stopped
14 Apply and validate node taints stopped
15 Apply dynamic kubelet configuration stopped
16 Uncordon node stopped
17 Deploy app catalog stopped
18 Configure and start Keepalived stopped
19 Configure and start pf9-addon-operator stopped
20 Drain all pods (stop only operation) stopped
21 Configure and start monitoring stoppedStart nodeletd phase:
Start pf9-hostagent and ps9-nodeleted service.
Additional Information
Starting the pf9-hostagent service will start the PMK stack which is already stopped.
The nodeletd phases logs are also available at /var/log/pf9/nodeletd.log file on the node.
PreviousHow-To Query Container Mounts Using Crictl or Nerdctl
NextHow to Copy Files From Pod to Host.
Last updated
