
Changed name of file to: admin-application-commands-and-helm-overrides.rst Updated Strings.txt Updated formatting issues: installing-and-running-cpu-manager-for-kubernetes.rst Updated Patch Set 4 to include review comments Admin Tasks Updated Changed name of include file to: isolating-cpu-cores-to-enhance-application-performance.rest Change-Id: I0b354dda3c7f66da3a5d430839b5007a6a19cfad Signed-off-by: Juanita-Balaraj <juanita.balaraj@windriver.com> Signed-off-by: Stone <ronald.stone@windriver.com> Signed-off-by: Juanita-Balaraj <juanita.balaraj@windriver.com>
2.2 KiB
2.2 KiB
Remove CPU Manager for Kubernetes
You can uninstall CMK by removing related Helm charts in the reverse order of their installation.
Delete cmk manager.
Run the
helm delete
command.~(keystone)admin)$ helm delete --purge release "cpu-manager" deleted
Ensure that any pods in the Terminating state have deleted before proceeding to the next step. The pods being terminated are in the kube-system namespace.
For example:
~(keystone)admin)$ kubectl get pods -n kube-system | grep cmk cmk-setup 0/1 Completed 0 71m cmk-uninstall-2z29p 0/1 ContainerCreating 0 4s cmk-webhook-deployment-778c787679-7bpw2 1/1 Running 0 71m cpu-manager-k8s-cmk-compute-0-5621f953-pchjr 3/3 Terminating 0 38 ~(keystone)admin)$ kubectl get pods -n kube-system | grep cmk cmk-setup 0/1 Completed 0 72m cmk-webhook-deployment-778c787679-7bpw2 1/1 Running 0 72m
Delete cmk-manager-webhook.
Run the
helm delete
command.~(keystone)admin)$ helm delete cmk-webhook --purge
Ensure that any pods in the Terminating state have been deleted before proceeding to the next step.
~(keystone)admin)$ kubectl get pods -n kube-system | grep cmk cmk-uninstall-webhook 0/1 Completed 0 11s cmk-webhook-deployment-778c787679-7bpw2 1/1 Terminating 0 73m ~(keystone)admin)$ kubectl get pods -n kube-system | grep cmk cmk-uninstall-webhook 0/1 Completed 0 49s
Delete cmk-manager-init. Run the
helm delete
command.~(keystone)admin)$ helm delete cmk-manager-init --purge release "cpu-manager-init" deleted
The CPU Manager for Kubernetes is now deleted.
Uninstall CPU Manager for Kubernetes on IPv6 <uninstalling-cpu-manager-for-kubernetes-on-ipv6>