Bagian ini menjelaskan persyaratan dasar untuk menyiapkan
cluster Google Kubernetes Engine (GKE)
yang sesuai untuk penginstalan produksi campuran Apigee.
Membuat cluster
Untuk informasi tentang cara membuat cluster GKE, lihat
Membuat cluster dalam dokumentasi GKE.
Persyaratan cluster produksi
Ikuti persyaratan berikut saat membuat cluster produksi:
Versi software
Persyaratan
Nilai
Versi Kubernetes
Versi 1.13 atau yang lebih baru
Anda dapat menemukan versi cluster Kubernetes yang didukung dengan mengeluarkan perintah
berikut:
gcloud container get-server-config
Versi yang didukung ditampilkan di bagian judul validMasterVersions:.
Pilih opsi konfigurasi template ini untuk cluster GKE produksi Anda:
Konfigurasi
Nilai
Template cluster
Cluster standar
Jenis lokasi
Regional (direkomendasikan)
Zona ketersediaan
3
Penskalaan otomatis
Aktifkan penskalaan otomatis untuk node Anda, dengan jumlah instance minimum dan maksimum yang ditetapkan ke jumlah yang sama. GKE akan memberikan
peringatan tentang penetapan nilai ke angka yang sama. Anda dapat mengabaikan peringatan ini.
Penyimpanan disediakan secara dinamis menggunakan penyedia dinamis StatefulSet.
Persyaratan node
Node pool adalah sekelompok node dalam cluster yang semuanya memiliki konfigurasi yang sama. Secara default, Anda harus mengonfigurasi dua node pool di cluster, satu untuk pod Cassandra stateful dan satu lagi untuk pod lainnya, yang stateless.
Konfigurasikan dua node pool ini
seperti yang dijelaskan di bawah:
Konfigurasi node pool stateful
Konfigurasikan node pool stateful sebagai berikut:
Konfigurasi
Nilai
Nama
apigee-data
Jumlah minimum node
3
Jenis mesin
N1-standard-8 (Jenis mesin standar dengan 8 vCPU, memori 30 GB)
Penyimpanan
Penyimpanan akan disediakan secara dinamis menggunakan penyedia dinamis StatefulSet
Konfigurasi node pool stateless
Konfigurasikan node pool stateless sebagai berikut:
Konfigurasi
Nilai
Nama
apigee-runtime
Jumlah minimum node
3 (1 per zona)
Jenis mesin
N1-standard-4 (Jenis mesin standar dengan 4 vCPU, memori 15 GB)
[[["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-09-04 UTC."],[[["\u003cp\u003eThe Apigee hybrid documentation version 1.1 is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eSetting up a production Google Kubernetes Engine (GKE) cluster for Apigee hybrid requires a cluster with Kubernetes version 1.13 or later and kubectl version 1.13.x or later.\u003c/p\u003e\n"],["\u003cp\u003eA production cluster should be a regional standard cluster with 3 availability zones, enabled autoscaling, and storage provisioned dynamically via StatefulSet.\u003c/p\u003e\n"],["\u003cp\u003eTwo node pools are required: a stateful node pool named \u003ccode\u003eapigee-data\u003c/code\u003e with a minimum of 3 nodes, and a stateless node pool named \u003ccode\u003eapigee-runtime\u003c/code\u003e also with a minimum of 3 nodes, one per zone.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eapigee-data\u003c/code\u003e node pool should use the N1-standard-8 machine type, while the \u003ccode\u003eapigee-runtime\u003c/code\u003e node pool should use the N1-standard-4 machine type.\u003c/p\u003e\n"]]],[],null,["# GKE production cluster requirements\n\n| You are currently viewing version 1.1 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nThis section describes the basic requirements for setting up a\nGoogle Kubernetes Engine (GKE) cluster\nsuitable for an Apigee hybrid production installation.\n\n| A production cluster can consume significant resources because it includes more nodes and larger virtual machine configurations than a non-production setup. Also, a production cluster might be hosted in multiple zones and regions worldwide.\n\nCreating the cluster\n--------------------\n\n\nFor information about creating GKE clusters, see [Creating a cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster) in the GKE documentation.\n\nProduction cluster requirements\n-------------------------------\n\n\nFollow these requirements when creating your production cluster:\n\n### Software versions\n\n### Cluster template configuration\n\nChoose these template configuration options for your production GKE cluster:\n\n### Node requirements\n\n\nA [node pool](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) is a group of nodes within a cluster that all have the same configuration. By\ndefault, you must configure two node pools in your cluster -- one for the stateful Cassandra\npods and one for the rest of the pods, which are stateless.\nConfigure these two node pools\nas described below:\n\n#### Stateful node pool configuration\n\n\nConfigure a stateful node pool as follows:\n\n#### Stateless node pool configuration\n\n\nConfigure a stateless node pool as follows:"]]