18 Ocak 2023 Çarşamba

gcloud container fleet seçeneği

Örnek
Şöyle yaparız
# Register our clusters to Fleet
gcloud container fleet memberships register gke-pri-fleet \
    --gke-cluster europe-west4/<<kubernetes_cluster_name_output_from_gke_primary>> \
    --enable-workload-identity \
    --project=<<your_gcp_project_id>>

gcloud container fleet memberships register gke-sec-fleet \
    --gke-cluster europe-west2/kubernetes_cluster_name_output_from_gke_secondary>> \
    --enable-workload-identity \
    --project=<<your_gcp_project_id>>

# Enable Ingress on Primary Fleet
gcloud container fleet ingress enable \
   --config-membership=gke-pri-fleet
Burada iki tane cluster var. Hercluster'ın önünde de fleet var. Şeklen şöyle




Hiç yorum yok:

Yorum Gönder