> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/1AlFSZBNMIBgs7fiOwFD/managed-services/managed-kubernetes/maintenance.md).

# Maintenance Window

All Managed Kubernetes resources, such as clusters and node pools, are subject to an automated (weekly) maintenance process. All changes to a cluster or node pools that may cause service interruption (Example: upgrade) are executed during maintenance. During the maintenance window, you may encounter uncontrolled disconnections and an inability to connect to the cluster.

The upgrade process during maintenance respects the selected Kubernetes version of the cluster. The upgrade process does not upgrade to another Kubernetes major, minor, or patch version unless the current cluster or node pool version reaches its end of life. In such instances, the cluster or node pool will be updated to the next minor version that is active.

## Maintenance window configuration

Maintenance window consists of two parts. The first part specifies the day of the week, while the second part specifies the expected time. The following example shows a maintenance window configuration:

```
...
"maintenanceWindow": {
      "time": "15:39:01",
      "dayOfTheWeek": "Friday"
    },
 ...
```

For more information, see [cluster creation](/cloud/~/revisions/1AlFSZBNMIBgs7fiOwFD/managed-services/managed-kubernetes/managed-kubernetes.md) or [node pool creation](/cloud/~/revisions/1AlFSZBNMIBgs7fiOwFD/managed-services/managed-kubernetes/how-tos/management-of-node-pools.md).

## Cluster maintenance

During cluster maintenance, control plane components are upgraded to the newest version available.

## Node Pool maintenance

During the maintenance of a certain node pool, all nodes of this pool will be replaced by new nodes. Nodes are replaced one after the other, starting with the oldest node. During node replacement, first, a new node is created and added to the cluster. Then the old node is drained and finally removed from the cluster. Node pool upgrade respects the four-hour maintenance window. The upgrade process will be continued in the next node pool maintenance, if it fails to upgrade all nodes of the node pool within the four-hour maintenance window,

### Node drain and pod disruption budgets

The maintenance process first tries to drain a node gracefully, respecting given PDBs for one hour. If this fails, the node is drained ignoring PDBs.


---

# 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://docs.ionos.com/cloud/~/revisions/1AlFSZBNMIBgs7fiOwFD/managed-services/managed-kubernetes/maintenance.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.
