Assicurati di trovarti nella directory hybrid-base-directory/hybrid-files.
cd $HYBRID_FILES
Verifica che kubectl sia impostato sul contesto corretto utilizzando il seguente comando.
Il contesto corrente deve essere impostato sul cluster in cui esegui il deployment di Apigee hybrid.
kubectl config get-contexts | grep \*
Solo per le piattaforme Anthos on bare metal, AWS on GKE, EKS e GKE on prem, verifica
che la variabile KUBECONFIG sia impostata utilizzando il seguente comando.
echo ${KUBECONFIG}
Esegui un'inizializzazione di simulazione. Eseguire una prova secca ti consente di verificare la presenza di eventuali errori prima che vengano apportate modifiche al cluster. Esegui il comando init con il flag --dry-run come segue:
Nota: Apigee hybrid 1.8 supporta kubectl
la versione 1.21 e successive. Se stai installando una versione precedente di hybrid
e utilizzi kubectl versione 1.8 o precedente, la sintassi per il
flag --dry-run sarà --dry-run=true. Prima di installare Apigee hybrid 1.8,
dovrai aggiornare kubectl alla versione 1.21 o successiva.
Se non sono presenti errori, esegui il comando init come segue:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]],[]]