# How to Prevent Container Runtime From Being Managed by Platform9

## Problem

In a **Platform9 Managed Kubernetes** (PMK) deployment, each node is running an instance of the ***pf9-**\_\_**nodeletd*** service which is used to bootstrap the cluster, perform health checks, and manage its overall lifecycle – including underlying components like the [container runtime](https://kubernetes.io/docs/setup/production-environment/container-runtimes/), e.g. [Docker](https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker).

If a critical failure is incurred – some components, including the container runtime, may need to be re-initialized. In this case, any pods scheduled to the node would be affected (as per the underlying containers having been destroyed as part of the container runtime being initialized).

In some cases, it may be preferred that the container runtime be managed outside the control of PMK – including installation of the binary.

## Environment

* Platform9 Managed Kubernetes - All Versions
* Container Runtime (Docker)

## Procedure

### Docker

1. In / ***etc/pf9/kube\_override.env***, dictate that the **PF9\_MANAGED\_DOCKER** variable be exported as " **false**".

{% tabs %}
{% tab title="None" %}

```none
echo export PF9_MANAGED_DOCKER="false" > /etc/pf9/kube_override.env
```

{% endtab %}
{% endtabs %}

**Note**: The override file will be sourced on the next restart of the ***pf9-**\_\_**nodeletd*** service, which will automatically occur (based on failures as aforementioned). As such, there is **no need** to manually restart the service after making the change.


---

# Agent Instructions: 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:

```
GET https://platform9.com/kb/pmk/how-to/how-to-prevent-container-runtime-from-being-managed-by-platform9.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
