A cloud engineer needs to add a new dedicated pool of compute nodes to an existing GKE Standard cluster named `app-cluster` in zone `us-central1-a`. The new nodes must use the `e2-highmem-16` machine type to support memory-intensive workloads. Which `gcloud` command should the engineer execute to fulfill this requirement?
- gcloud container node-pools create memory-pool --cluster=app-cluster --machine-type=e2-highmem-16 --zone=us-central1-aCevap
- Bgcloud container clusters update app-cluster --node-pool=memory-pool --machine-type=e2-highmem-16 --zone=us-central1-a
- Cgcloud compute instances create memory-pool --cluster=app-cluster --machine-type=e2-highmem-16 --zone=us-central1-a
- Dkubectl scale node-pool memory-pool --replicas=3 --machine-type=e2-highmem-16
Cevap
Execute gcloud container node-pools create memory-pool --cluster=app-cluster --machine-type=e2-highmem-16 --zone=us-central1-a to provision a new node pool with the desired machine type on the existing cluster.
To add a new pool of nodes to an existing GKE Standard cluster with a customized machine type, the command `gcloud container node-pools create` must be used along with specifying the target cluster name, desired machine type, and zone location.
Adım Adım Çözüm
Anahtar Kavram
GKE Node Pool Provisioning and Management