Siga estas etapas para instalar a Apigee híbrida no cluster:
Verifique se você está no diretório hybrid-base-directory/hybrid-files.
cd $HYBRID_FILES
Verifique se kubectl está definido para o contexto correto usando o seguinte comando.
O contexto atual será definido como o cluster ao qual você está implantando a Apigee híbrida.
kubectl config get-contexts | grep \*
Para plataformas somente Anthos em bare metal, AWS no GKE, EKS e GKE On-Prem, verifique
se KUBECONFIG é definida usando o comando a seguir.
echo ${KUBECONFIG}
Faça uma inicialização de simulação. Uma simulação permite verificar se há erros antes de qualquer
alteração no cluster. Execute o comando init com a sinalização --dry-run da seguinte maneira:
Observação: a Apigee híbrida 1.9 suporta a versão 1.21 e mais recentes do kubectl. Se você estiver instalando uma versão mais antiga da versão
híbrida e usando a versão 1.8 ou anterior do kubectl, a sintaxe da
sinalização --dry-run será --dry-run=true. Você
precisará atualizar o kubectl para a versão 1.21 ou mais recentes antes de
instalar a Apigee híbrida 1.8.
Se não houver erros, execute o comando init da seguinte maneira:
[[["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 2025-03-12 UTC."],[[["This documentation refers to Apigee hybrid version 1.8, which is now end-of-life and requires an upgrade to a newer version."],["Installing Apigee hybrid involves navigating to the `\u003cvar translate=\"no\"\u003ehybrid-base-directory\u003c/var\u003e` `/hybrid-files` directory and executing commands from there, as the overrides file uses relative paths."],["Before applying changes, users should perform dry runs of the `init` and `apply` commands to identify potential errors without altering the cluster."],["The installation process uses `apigeectl` commands to initialize and apply configurations, followed by checking pod readiness with `kubectl` commands."],["After successfully applying configurations, Apigee-specific runtime components are installed, and the user is prompted to expose Apigee ingress as the next step."]]],[]]