Führen Sie die folgenden Schritte aus, um Apigee Hybrid in Ihrem Cluster zu installieren:
Sie müssen sich im Verzeichnis hybrid-base-directory/hybrid-files befinden.
cd $HYBRID_FILES
Prüfen Sie mit dem folgenden Befehl, ob kubectl auf den richtigen Kontext eingestellt ist.
Der aktuelle Kontext sollte auf den Cluster eingestellt werden, für den Sie Apigee Hybrid bereitstellen.
kubectl config get-contexts | grep \*
Nur für die Plattformen Anthos on Bare Metal, AWS in GKE, EKS und GKE On-Prem. Prüfen Sie, ob die KUBECONFIG-Variable mit folgendem Befehl festgelegt ist:
echo ${KUBECONFIG}
Führen Sie eine Initialisierung als Probelauf aus. Bei einem Probelauf können Sie prüfen, ob Fehler vorliegen, bevor Änderungen am Cluster vorgenommen werden. Führen Sie den Befehl init mit dem Flag --dry-run so aus:
Hinweis: Apigee Hybrid 1.8 unterstützt kubectl-Version 1.21 und höher. Wenn Sie eine ältere Hybrid-Version installieren und die kubectl-Version 1.8 oder älter verwenden, lautet die Syntax für das Flag --dry-run so: --dry-run=true. Sie müssen kubectl auf Version 1.21 oder höher aktualisieren, bevor Sie Apigee Hybrid 1.8 installieren.
Wenn keine Fehler vorhanden sind, führen Sie den Befehl init so aus:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-27 (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."]]],[]]