Questions
Answer the following questions to test your knowledge of this chapter:
- Which of the following commands can be used to create a node pool?
gcloud container node-pools create POOL_NAME --cluster
CLUSTER_NAME --region=REGION_NAME
gcloud node-pools create POOL_NAME --cluster
CLUSTER_NAME --region=REGION_NAME
gcloud container node-pools add POOL_NAME --cluster
CLUSTER_NAME --region=REGION_NAME
kubectl node-pools add POOL_NAME --cluster
CLUSTER_NAME --region=REGION_NAME
kubectl container node-pool create POOL_NAME --cluster
CLUSTER_NAME --region=REGION_NAME
- What are the main components of a GKE cluster
kube-apiserver
etcd
kube-scheduler
kube-controller-manager
cloud-controller-manager
- All of these
- You have received a task to maintain a GKE cluster named
test-before-prod
. To save time, you would like to configure this cluster as your default GKE cluster. What should you do?- Create a file called
gke.default
in the~/.gcloud
folder that contains the cluster name. - Use the
gcloud...
- Create a file called