Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Configurar o serviço de identidade do GKE para clusters individuais
Este documento é destinado a administradores de clusters ou operadores de aplicativos que querem configurar o serviço de identidade do GKE em clusters individuais, permitindo que desenvolvedores e outros usuários façam login nos clusters usando os detalhes de identidade deles de provedores de identidade.
Antes de começar
Verifique se o administrador da plataforma forneceu todas as informações necessárias para registrar o serviço de identidade do GKE no seu provedor de identidade.
Verifique se você tem as seguintes ferramentas de linha de comando instaladas:
Use a versão 474.0.0 da CLI do Google Cloud ou uma versão mais recente, que inclui gcloud, a ferramenta de linha de comando para interagir com o Google Cloud. Se você precisar instalar a Google Cloud CLI, consulte o guia de instalação.
kubectl para executar comandos em clusters do Kubernetes. Se precisar instalar kubectl, siga estas instruções.
Se você estiver usando o Cloud Shell como ambiente shell para interagir com o Google Cloud, essas ferramentas estarão instaladas.
Verifique se você inicializou a CLI gcloud para uso com o projeto em que os clusters estão registrados.
Configurar clusters individuais com base no provedor configurado
É possível configurar o serviço de identidade do GKE para clusters individuais. Com base no provedor de identidade configurado, é possível configurar o serviço de identidade do GKE para clusters individuais de uma das seguintes maneiras:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-11-21 UTC."],[],[],null,["# Set up GKE Identity Service for individual clusters\n===================================================\n\nThis document is for **cluster administrators** or application operators who want to set up GKE Identity Service on individual clusters, allowing developers and other users to log in to the clusters using their existing identity details from identity providers.\n\nBefore you begin\n----------------\n\n- Ensure that your platform administrator has given you all the necessary information to register GKE Identity Service with your identity provider.\n- Ensure that you have the following command line tools installed:\n - Use the 474.0.0 version of the Google Cloud CLI or higher, which includes `gcloud`, the command line tool for interacting with Google Cloud. If you need to install the Google Cloud CLI, see the [installation guide](/sdk/docs/install).\n- `kubectl` for running commands against Kubernetes clusters. If you need to install `kubectl`, follow these [instructions](/kubernetes-engine/fleet-management/docs/before-you-begin#install-kubectl).\n\n If you are using Cloud Shell as your shell environment for interacting with Google Cloud, these tools are installed for you.\n- Ensure that you have [initialized](/sdk/docs/install-sdk#initializing_the) the gcloud CLI for use with the project where the clusters are registered.\n\nSet up individual clusters based on your configured provider\n------------------------------------------------------------\n\nYou can set up GKE Identity Service for individual clusters. Based on the identity provider configured, you can set up GKE Identity Service for individual clusters in one of the following ways:\n\n- [Set up clusters for GKE Identity Service with OIDC](/kubernetes-engine/enterprise/identity/setup/per-cluster)\n- [Set up clusters for GKE Identity Service with SAML](/kubernetes-engine/enterprise/identity/setup/saml-per-cluster)\n- [Set up clusters for GKE Identity Service with LDAP](/kubernetes-engine/enterprise/identity/setup/ldap)"]]