Managed Kubernetes
Latest
How to Restart PMK Stack?
Problem
Restart PMK stack during the discrepancies occurred related to the PMK stack.
Info
PMK (Platform9 Managed Kubernetes) Stack basically refers to the nodelet phases running on the node.
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-nodeletd
Stop 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
Start nodeletd phase:
# /opt/pf9/nodelet/nodeletd phases start --verbose
INDEX NUMBER FILE NAME PHASE STATUS
1 Generate certs / Send signing request to CA running
2 Prepare configuration running
3 Configure Container Runtime running
4 Start Container Runtime running
5 Configure etcd running
6 Start etcd running
7 Network configuration running
8 Configure CNI plugin running
9 Configure and start pf9-bouncer running
10 Miscellaneous scripts and checks running
11 Configure and start kubelet running
Start pf9-hostagent and ps9-nodeleted service.
# sudo systemctl start pf9-hostagent pf9-nodeletd
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.
Last updated on
Was this page helpful?
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered by
