Gunakan langkah-langkah berikut untuk menginstal Apigee hybrid ke cluster Anda:
Pastikan Anda berada di direktori hybrid-base-directory/hybrid-files.
cd $HYBRID_FILES
Pastikan kubectl ditetapkan ke konteks yang benar menggunakan perintah berikut.
Konteks saat ini harus ditetapkan ke cluster tempat Anda men-deploy Apigee hybrid.
kubectl config get-contexts | grep \*
Khusus untuk platform Anthos on bare metal, AWS on GKE, EKS, dan GKE on prem, Pastikan
bahwa variabel KUBECONFIG ditetapkan menggunakan perintah berikut.
echo ${KUBECONFIG}
Lakukan inisialisasi uji coba. Dengan melakukan uji coba, Anda dapat memeriksa error sebelum
perubahan dilakukan pada cluster. Jalankan perintah init dengan flag --dry-run sebagai berikut:
Catatan: Apigee hybrid 1.8 mendukung kubectl
versi 1.21 dan yang lebih baru. Jika Anda menginstal versi hybrid lama
dan menggunakan kubectl versi 1.8 atau yang lebih lama, sintaksis untuk
flag --dry-run akan menjadi --dry-run=true. Anda harus mengupdate kubectl ke versi 1.21 atau yang lebih baru sebelum menginstal Apigee hybrid 1.8.
Jika tidak ada error, jalankan perintah init sebagai berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]],[]]