Configure integration with Managed Kubernetes
To deploy a Docker image from the Container Registry to a Managed Kubernetes cluster, customize the integration between these objects in the control panel.
During integration, an authorization token in Container Registry is automatically created and passed to the selected Managed Kubernetes cluster — authentication data is automatically added to the default service account and secret to all cluster namespaces.
You can use the secrets that were automatically generated in other service accounts. Read more in the article Configure Service Accounts for Pods Kubernetes documentation.
If necessary, you can disable Container Registry and Managed Kubernetes integration.
Customize integration
You can configure integration from Container Registry with one or more Managed Kubernetes clusters.
-
In control panel go to Cloud platform → Container Registry.
-
Open the registry page.
-
Click Access to the registry.
-
Select Integration with Kubernetes.
-
Click Continue.
-
Select the Managed Kubernetes clusters that will be granted access to the selected registry. You can select only clusters with status
ACTIVE
. Clusters with other statuses are designated 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 the registry name.
Disable integration
- In control panel go to Cloud platform → Container Registry.
- Open the registry page.
- Click Registry access.
- Select Integration with Kubernetes.
- Click Continue.
- To remove all Managed Kubernetes clusters that have been granted access to the selected registry, click .
- Click Save.