Managed Kubernetes
Latest
How to Start and Stop the PMK Stack Starting From v5.0/K8s v1.18
Problem
Starting with v5.0 and Kubernetes v1.18 the /etc/init.d/pf9-kube script is deprecated and can no longer be used to start and stop the PMK stack on the nodes.
Environment
Platform9 Managed Kubernetes - v5.0 and Higher
Kubernetes v1.18
Answer
There is a new component pf9-nodelet which controls the lifecycle of the Kubernetes stack. You can start and stop the stack by using the following command.
/opt/pf9/nodelet/nodeletd phases stop
/opt/pf9/nodelet/nodeletd phases start
pf9-nodelet offers you more granularity for controlling the K8s stack compared to the old init.d script. You can see the other options available to you by running the command with a -h flag.
# /opt/pf9/nodelet/nodeletd phases -h
Commands related to phases related to bring up of k8s stack
Usage:
nodeletd phases [command]
Available Commands:
list Lists the phases and their index numbers to use with rest of commands
restart restarts pf9 kube stack. Takes optional --phase param to allow restarting from the specific phase
start starts pf9 kube stack. Takes optional --from-phase param to allow starting from the specific phase
status checks the status of Platform9 Kube on this host. Takes optional --phase param to check the status of a specific phase
stop stops pf9 kube stack. Takes optional --till-phase param to allow stopping till the specific phase
Flags:
-h, --help help for phases
Use “nodeletd phases [command] --help” for more information about a command.
Last updated on
Was this page helpful?
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered by
