Managed Kubernetes Cluster Authentication

UpCloud Managed Kubernetes clusters can let people sign in to the Kubernetes® API with an identity provider your team already uses, through OpenID Connect (OIDC). Instead of sharing the cluster's admin kubeconfig, each person signs in with their own account at a provider such as Google, Microsoft Entra ID, Okta or Keycloak.

OIDC cluster authentication is available on clusters running Kubernetes 1.34 or later.

How it works

You add your identity provider to the cluster as an issuer, and the cluster then accepts sign-ins from it. A cluster can have more than one issuer, for example one per provider. The cluster's admin kubeconfig keeps working alongside OIDC.

Signing in only proves who someone is. What they can do in the cluster is up to you: you grant access with Kubernetes role-based access control (RBAC), by username or by a group from your provider. For how to set up roles and bindings, see How to control access to Managed Kubernetes clusters with RBAC.

Managing issuers

You can manage issuers in the Control Panel, on the cluster's Authentication tab, or with the UpCloud API. The API also offers advanced settings, such as rules that refuse sign-ins from outside your organization. Issuers aren't supported in the UpCloud Terraform provider or upctl yet, so for now, use the Control Panel or the API to manage them.

Removing access

To remove someone's access, disable them at your provider and remove their RBAC bindings on the cluster. Disabling them at your provider isn't enough on its own, because a sign-in they already have keeps working until it expires. Removing their bindings cuts their access on the cluster itself.

For the steps to set up an issuer and grant access, see OIDC cluster authentication on Managed Kubernetes.

Kubernetes is a registered trademark of The Linux Foundation.

Can't find what you're looking for?

For more help you can contact our awesome 24/7 support team

Contact Support