---
title: "Configure integration of a Managed Kubernetes cluster with Container Registry"
sidebar_label: "Configure integration with Container Registry"
description: "How to configure integration with Container Registry"
sidebar_position: 10
toc_max_heading_level: 2
---

import Formbricks from '@theme/MDXComponents/Formbricks';
import CloseIcon from '@selectel/docux/icons/close';

# Configure integration of a Managed Kubernetes cluster with Container Registry

To deploy a Docker image from the [Container Registry](/craas/about/about-craas/) registry to a Managed Kubernetes cluster, [configure the integration between these objects](#configure-integration) in the Control Panel.

During integration, an authorization token for Container Registry is created automatically and passed to the selected Managed Kubernetes cluster — authentication data is added automatically to the default service account and to the secret for all cluster namespaces.

You can use secrets that were automatically generated in other service accounts. Learn more in the [Configure Service Accounts for Pods](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account) Kubernetes documentation article.

If necessary, you can [disable integration of Container Registry and Managed Kubernetes](#disable-integration).

### Configure integration \{#configure-integration}

You can configure integration from a Managed Kubernetes cluster with one or more Container Registry registries.

1. In the [control panel](https://my.selectel.ru/mks/), on the top menu, click **Products** and select **Managed Kubernetes**.

2. In the **Clusters** section, open the cluster page → **Settings** tab.

3. In the **Container Registry Integration** block, click **Configure Integration**.

4. Select the registries that you want to be accessible from the cluster.

5. If you are setting up the integration for the first time, click **Integrate**.

6. If you are changing the integration settings, click **Save**.

   Information about Container Registry registries accessible from the cluster is displayed on the cluster page → **Settings** tab → **Container Registry integration** block.

### Disable integration \{#disable-integration}

1. In the [control panel](https://my.selectel.ru/mks/), on the top menu, click **Products** and select **Managed Kubernetes**.
2. In the **Clusters** section, open the cluster page → **Settings** tab.
3. In the **Container Registry Integration** block, click **Configure Integration**.
4. To remove all Managed Kubernetes clusters that have been granted access to the selected registry, click <CloseIcon />.
5. Click **Save**.

<Formbricks />
