Configure integration with a Managed Kubernetes cluster
To deploy a Docker image from the Container Registry to a Managed Kubernetes cluster, configure the integration between these objects in the Control panel.
During integration, an authorization token in Container Registry is created automatically and passed to the selected Managed Kubernetes cluster — authentication data is automatically added to the default service account and 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 documentation for Kubernetes.
If necessary, you can disable the integration of Container Registry and Managed Kubernetes.
Configure integration
You can configure integration from Container Registry with one or more Managed Kubernetes clusters.
-
In the Control panel, on the top menu, click Products and select Container Registry.
-
Open the Registries tab.
-
Open the registry page.
-
Click Access the Registry.
-
Select Integration with Kubernetes.
-
Click Continue.
-
Select the Managed Kubernetes clusters that will be granted access to the selected registry. You can only select clusters with the status
ACTIVE. Clusters with other statuses are marked asINACTIVE. -
If you are setting up the integration for the first time, click Integrate.
-
If you are changing the integration settings, click Save.
Information about the Managed Kubernetes clusters that have been granted access to the selected registry is displayed on the registry page, under its name.
Disable integration
- In the Control panel, on the top menu, click Products and select Container Registry.
- Open the Registries tab.
- Open the registry page.
- Click Access the Registry.
- Select Integration with Kubernetes.
- Click Continue.
- To remove all Managed Kubernetes clusters that have been granted access to the selected registry, click .
- Click Save.