> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmk/how-to.md).

# HOW TO

- [How To Enable/Disable ETCD Backup Using Qbert API](https://platform9.com/kb/pmk/how-to/how-to-enable-disable-etcd-backup-using-qbert-api.md)
- [Forcefully Delete Kubernetes Pod](https://platform9.com/kb/pmk/how-to/forcefully-delete-kubernetes-pod.md)
- [Configure BASH Autocomplete for Kubectl CLI on MacOS X](https://platform9.com/kb/pmk/how-to/configure-bash-autocomplete-for-kubectl-cli-on-macos-x.md)
- [Enable Alpha/Beta Features on Platform9 Managed Kubernetes API Server](https://platform9.com/kb/pmk/how-to/enable-alpha-beta-features-on-platform9-managed-kubernetes-api.md)
- [Creating Multi-Master BareMetal Cluster on Platform9 Managed OpenStack VMs](https://platform9.com/kb/pmk/how-to/creating-multi-master-baremetal-cluster-on-platform9-managed-op.md)
- [Scale Master Nodes in AWS Clusters](https://platform9.com/kb/pmk/how-to/scale-master-nodes-in-aws-clusters-in-pmk.md)
- [How to Find ETCD Leader and Check ETCD Health](https://platform9.com/kb/pmk/how-to/how-to-find-etcd-leader-and-check-etcd-health.md)
- [Enable Scheduler Container Logs to Track Pod Placement](https://platform9.com/kb/pmk/how-to/enable-scheduler-container-logs-to-track-pod-placement.md)
- [How To Change Configuration for Kubelet Service on a Single Worker or Master Node in a PMK Cluster](https://platform9.com/kb/pmk/how-to/single-node-change-config-kubelet-service.md)
- [Enable Debug Logging for Docker Daemon](https://platform9.com/kb/pmk/how-to/enable-debug-logging-for-docker-daemon.md)
- [Move VIP From Active Master Without Restarting the PMK Stack](https://platform9.com/kb/pmk/how-to/move-vip-from-active-master-without-restarting-pf9-kube-service.md)
- [How To Identify the Active Master Node in Platform9 Managed Kubernetes Cluster](https://platform9.com/kb/pmk/how-to/how-to-identify-the-active-master-node-in-platform9-managed-kub.md)
- [How-to Grant Read-Only Access to the Kubernetes Dashboard](https://platform9.com/kb/pmk/how-to/how-to-grant-read-only-access-to-the-kubernetes-dashboard.md)
- [How to Prevent Container Runtime From Being Managed by Platform9](https://platform9.com/kb/pmk/how-to/how-to-prevent-container-runtime-from-being-managed-by-platform9.md)
- [How-To: Identify The Virtual Interface of a Pod in the Root Namespace Using Flannel as the Network B](https://platform9.com/kb/pmk/how-to/how-to-identify-the-virtual-interface-of-a-pod-in-the-root-name.md)
- [How To Persist Changes to CoreDNS ConfigMap on PMK Cluster](https://platform9.com/kb/pmk/how-to/how-to-persist-changes-to-coredns-configmap.md)
- [How To Modify/Add APIServer, ControllerManager & Scheduler Flags on an Existing Cluster](https://platform9.com/kb/pmk/how-to/modify-add-apiserver-controllerm-scheduler-flag-existing-cluster.md)
- [How To Change Configuration for Kubelet Service on All Worker or Master Nodes in a PMK Cluster](https://platform9.com/kb/pmk/how-to/change-configuration-for-kubelet-service.md)
- [How-To Run Calicoctl Commands](https://platform9.com/kb/pmk/how-to/how-to-run-calicoctl-commands.md)
- [How To Disable Partial Restarts of Nodeletd Phases](https://platform9.com/kb/pmk/how-to/how-to-ensure-partial-restarts-for-nodeletd-pmk-agent-service-p.md)
- [How To Prevent a Run Away Pod or Container From Using All Resources on the Node](https://platform9.com/kb/pmk/how-to/how-to-prevent-a-run-away-pod-or-container-from-using-all-resou.md)
- [How-To Enable MFA from the new UI?](https://platform9.com/kb/pmk/how-to/how-to-enable-mfa-from-the-new-ui.md)
- [How-To Use Helm 3 to Deploy Applications in Platform9 Managed Kubernetes Environment?](https://platform9.com/kb/pmk/how-to/how-to-use-helm-3-to-deploy-applications-in-platform9-managed-k.md)
- [How-To Restore From ETCD Backup on a Multi-Master Cluster](https://platform9.com/kb/pmk/how-to/restore-etcd-backup-on-multi-master-cluster.md)
- [How To Add/Modify Existing MetalLB Configuration via API](https://platform9.com/kb/pmk/how-to/modify-metallb-addon-config-via-api.md)
- [How To Ensure Nodelet Service Status Checks are Not Honored](https://platform9.com/kb/pmk/how-to/how-to-ensure-pf9-nodeletd-service-status-checks-are-not-honored.md)
- [How To Increase Docker Image Storage Pool Size](https://platform9.com/kb/pmk/how-to/how-to-increase-docker-storage-pool-size.md)
- [The PVC Remains In Pending State While Deploying Fission Using Helm Chart](https://platform9.com/kb/pmk/how-to/the-pvc-remains-in-pending-state-while-deploying-fission-using.md)
- [Unable to Access Kubernetes Dashboard After Creating PMK Cluster](https://platform9.com/kb/pmk/how-to/unable-to-access-kubernetes-dashboard-after-creating-pmk-cluster.md)
- [Error Creating Load Balancer (will retry): Failed To Ensure Load Balancer For Service](https://platform9.com/kb/pmk/how-to/error-creating-load-balancer-will-retry-failed-to-ensure-load-b.md)
- [Kubectl Commands Not Working After v1.20 Cluster Upgrade](https://platform9.com/kb/pmk/how-to/kubectl-command-not-working-on-v1-20.md)
- [Move Platform9 Logs Directory to a Different FileSystem to Mitigate Space Issues on PMK Nodes.](https://platform9.com/kb/pmk/how-to/move-platform9-logs-directory-to-a-different-filesystem-to-miti.md)
- [How to Start and Stop the PMK Stack Starting From v5.0/K8s v1.18](https://platform9.com/kb/pmk/how-to/how-to-start-and-stop-the-pf9-kube-stack-starting-from-v5-0-k8s.md)
- [How To Enable fail-on-swap=false Option as a Parameter Value in Kubelet on a Worker Node](https://platform9.com/kb/pmk/how-to/how-to-enable-fail-on-swap-false-option-as-a-parameter-value-in.md)
- [Increase Existing Kubernetes Cluster Node Count for Flannel CNI](https://platform9.com/kb/pmk/how-to/increase-existing-kubernetes-cluster-node-count-flannel.md)
- [Status Checks on the Worker Loadbalancer Show as Nodes Down in AWS](https://platform9.com/kb/pmk/how-to/status-checks-on-the-worker-loadbalacer-show-as-nodes-down-in-a.md)
- [How To Find the Platform9 Managed Kubernetes Version Running on the Management Plane?](https://platform9.com/kb/pmk/how-to/how-to-find-the-platform9-managed-kubernetes-version-running-on.md)
- [How to Enable Audit Logging in PMK Cluster](https://platform9.com/kb/pmk/how-to/how-to-enable-audit-logging-in-pmk-cluster.md)
- [How Can I Change the Detach Key Combination for Kubernetes Pods?](https://platform9.com/kb/pmk/how-to/how-can-i-change-the-detach-key-combination-for-kubernetes-pods.md)
- [How to Generate a Token for using the Qbert API](https://platform9.com/kb/pmk/how-to/how-to-generate-a-token-for-using-the-qbert-api.md)
- [How to Add an Existing App Catalog Repository to a Newly Created Cluster](https://platform9.com/kb/pmk/how-to/how-to-add-an-existing-app-catalog-repository-to-a-newly-created.md)
- [How to Cleanup Incorrectly Configured Docker Storage](https://platform9.com/kb/pmk/how-to/how-to-cleanup-incorrectly-configured-docker-storage.md)
- [Delete a Cluster using the Qbert API](https://platform9.com/kb/pmk/how-to/delete-a-cluster-using-the-qbert-api.md)
- [How To Customize CoreDNS Configuration for Adding Additional External DNS](https://platform9.com/kb/pmk/how-to/custom-coredns-configuration-for-adding-additional-external-dns.md)
- [How To Avoid Placement of More Than One Pod Replicas on Same Worker Node](https://platform9.com/kb/pmk/how-to/how-to-avoid-scheduling-more-that-one-replicas-of-a-pod-on-same.md)
- [How To Rotate Container Logs on The Master and Worker Nodes](https://platform9.com/kb/pmk/how-to/how-to-rotate-container-logs-on-node.md)
- [How To Disable and Re-enable Dynamic Kubelet Configuration](https://platform9.com/kb/pmk/how-to/how-to-disable-and-re-enable-dynamic-kubelet-configuration.md)
- [How To Identify the Master Node With Latest ETCD Backup](https://platform9.com/kb/pmk/how-to/how-to-identify-master-node-with-latest-etcd-backup.md)
- [How To Run Kube-Bench In Platform9 Managed Kubernetes Clusters](https://platform9.com/kb/pmk/how-to/how-to-run-kube-bench-in-platform9-managed-kubernetes-clusters.md)
- [How To Clean up Decommissioned Node Manually](https://platform9.com/kb/pmk/how-to/how-to-clean-up-decommissioned-node-manually.md)
- [How to List all Containers Running in a Cluster](https://platform9.com/kb/pmk/how-to/how-to-list-all-containers-running-in-a-cluster.md)
- [How to Enable Graceful Node Shutdown?](https://platform9.com/kb/pmk/how-to/how-to-enable-graceful-node-shutdown.md)
- [Restoring ETCD Backup to Recover Cluster From Loss of Quorum](https://platform9.com/kb/pmk/how-to/restore-etcd-cluster-from-quorum-loss.md)
- [How to Restore Cluster from ETCD Backup on New Master Nodes in Case of Loss of All Existing Master N](https://platform9.com/kb/pmk/how-to/how-to-restore-from-etcd-backup-after-replacing-multi-master-nod.md)
- [How To Enable Verbose Logging for Kubelet on a Node?](https://platform9.com/kb/pmk/how-to/how-to-enable-verbose-logging-for-kubelet-on-a-node.md)
- [How-To Enable or Disable MetalLB via Sunpike API For an Already Installed Cluster](https://platform9.com/kb/pmk/how-to/enable-or-disable-metallb-for-an-existing-cluster.md)
- [How To Use Reserved AWS Instances in PMK](https://platform9.com/kb/pmk/how-to/how-to-use-reserved-aws-instances-in-pmk.md)
- [How To Pull Container Images From a Private Repository](https://platform9.com/kb/pmk/how-to/how-to-pull-container-images-from-a-private-repository.md)
- [How To Forcefully Remove a Terminating Namespace Stuck Due to Finalizers.](https://platform9.com/kb/pmk/how-to/how-to-forcefully-remove-a-terminating-namespace-stuck-due-to-fi.md)
- [How to Upgrade PMK Cluster in Batches](https://platform9.com/kb/pmk/how-to/how-to-upgrade-cluster-in-batches.md)
- [How-To Implement CPU and Memory System Reservation for Kubernetes Nodes](https://platform9.com/kb/pmk/how-to/how-to-implement-cpu-and-memory-system-reservation-for-kubernete.md)
- [How to Verify if the ETCD Secrets Are Encrypted or Not?](https://platform9.com/kb/pmk/how-to/how-to-verify-if-the-etcd-secrets-are-encrypted-or-not.md)
- [How to Allow Unsafe Sysctls on a PMK Cluster](https://platform9.com/kb/pmk/how-to/how-to-allow-unsafe-sysctls-on-a-pmk-cluster.md)
- [How To Change calicoIpIpMode to Never in Existing PMK Cluster](https://platform9.com/kb/pmk/how-to/how-to-change-calicoipipmode-to-never-in-existing-pmk-cluster.md)
- [How are SSL Certificates Rotated in the Platform9 Managed Kubernetes Stack](https://platform9.com/kb/pmk/how-to/how-are-ssl-certificates-rotated-in-pmk.md)
- [How to Proactively Monitor PLEG Health with Prometheus and Alertmanager Rules](https://platform9.com/kb/pmk/how-to/how-to-proactively-monitor-pleg-health-with-prometheus-and-alert.md)
- [How-To Force Delete a Cluster Using API](https://platform9.com/kb/pmk/how-to/how-to-force-delete-a-cluster-using-api.md)
- [How to Drain A Kubernetes Node Using API](https://platform9.com/kb/pmk/how-to/how-to-drain-a-kubernetes-node-using-api.md)
- [How to Suspend All Kubernetes CronJobs](https://platform9.com/kb/pmk/how-to/how-to-suspend-all-kubernetes-cronjobs.md)
- [How-To Query Container Mounts Using Crictl or Nerdctl](https://platform9.com/kb/pmk/how-to/how-to-query-container-mounts-using-crictl-or-nerdctl.md)
- [How to Restart PMK Stack?](https://platform9.com/kb/pmk/how-to/how-to-restart-pmk-stack.md)
- [How to Copy Files From Pod to Host.](https://platform9.com/kb/pmk/how-to/how-to-copy-files-from-pod-to-host.md)
- [How to Collect a Network Trace File from a Browser](https://platform9.com/kb/pmk/how-to/how-to-collect-a-network-trace-file-from-a-browser.md)
- [Master Node Fails to Attach to an Existing Cluster and UI Shows "Quorum Achieved with a tolerance 1"](https://platform9.com/kb/pmk/how-to/master-node-is-failing-to-attach-to-existing-cluster-and-cluster.md)
- [How To Rename PMK Cluster?](https://platform9.com/kb/pmk/how-to/how-to-rename-pmk-cluster.md): Learn how to rename your Platform9 Managed Kubernetes cluster effectively. This guide details the necessary steps, including utilizing the curl PUT request with your user token and API URL, to ensure
- [How To Create K8S Cluster Using Qbert API And Private Docker Registry](https://platform9.com/kb/pmk/how-to/how-to-create-k8s-cluster-using-qbert-api-and-private-docker-reg.md)
- [How To Install/Upgrade Prometheus Stack Using Helm Chart.](https://platform9.com/kb/pmk/how-to/how-to-install-upgrade-prometheus-stack-using-helm-chart.md)
- [How To Modify Cluster Properties Using API Calls.](https://platform9.com/kb/pmk/how-to/how-to-modify-cluster-properties-using-api-calls.md)
- [How to Save Current State of Cluster Using Cluster-info Dump Command.](https://platform9.com/kb/pmk/how-to/how-to-save-current-state-of-cluster-using-cluster-dump-command.md)
- [How to Configure streamingConnectionIdleTimeout: "672h" Without Dynamic Kubelet Config](https://platform9.com/kb/pmk/how-to/how-to-configure-streamingconnectionidletimeout-672h-without.md)
- [How to Clean Luigi and Kubevirt Stale Entries After disabling the Luigin Plugins](https://platform9.com/kb/pmk/how-to/how-to-clean-luigi-and-kubevirt-stale-entries-after-disabling-th.md)
- [How to Re-deploy CoreDNS Pods Only to the Master Nodes.](https://platform9.com/kb/pmk/how-to/how-to-re-deploy-coredns-pods-only-to-the-master-nodes.md)
- [Create Read-Only Cluster User](https://platform9.com/kb/pmk/how-to/create-read-only-cluster-user.md)
- [Adding new node fails with error "Error registering network: failed to acquire lease: out of subnets](https://platform9.com/kb/pmk/how-to/adding-new-node-fails-with-error--error-registering-network--fai.md)
- [Disabling pf9-managed cert-manager](https://platform9.com/kb/pmk/how-to/disablingpf9managedcert-manager.md)
- [CoreDNS Pod Replica Gets Continuously Scaled Down by the Deployment-Controller](https://platform9.com/kb/pmk/how-to/replica-of-coredns-pod-being-scaled-down-continuous.md)
- [How To Enable Debug Log for Kube-APIserver on an Existing Cluster](https://platform9.com/kb/pmk/how-to/how-to-enable-debug-log-for-kube-apiserver-on-an-existing-cluste.md)
- [Speaker pod fails to announce service if ExternalTrafficPolicy is changed to Local](https://platform9.com/kb/pmk/how-to/speaker-pod-fails-to-announce-service-if-externaltrafficpolicy-i.md)
- [Updating API Audit Logging Parameters using Qbert API Leads to Duplicate Entries.](https://platform9.com/kb/pmk/how-to/updating-api-audit-parameters-using-qbert-api-leads-to-duplicate.md)
- [Vault Token Expired Prematurely Before Validity Period Ends](https://platform9.com/kb/pmk/how-to/vault-token-expired-prematurely-before-validity-period-ends.md): Resolve the issue of nodes getting stuck at the "Generate certs" phase after reboot in Platform9 Kubernetes. Learn how to renew the Vault Token, troubleshoot, and update configurations to get your clu
- [How to Disable the ImageLocality Scheduling Plugin in PMK](https://platform9.com/kb/pmk/how-to/how-to-disable-the-imagelocality-scheduling-plugin-in-pmk.md): Learn how to disable the imageLocality scheduling plugin in Platform9 Managed Kubernetes. Follow our step-by-step guide to update the kube-scheduler configuration and ensure optimal scheduling behavio
- [Calico to Cilium Migration on PMK Workload Clusters](https://platform9.com/kb/pmk/how-to/calico-to-cilium-migration-on-pmk-workload-clusters.md): Migrate your workload clusters from Calico to Cilium CNI with Platform9 Managed Kubernetes v5.13.0+. Follow our detailed guide for prerequisites, execution steps, and final verifications to ensure a s


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://platform9.com/kb/pmk/how-to.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
