Complete the code to create a GKE cluster using gcloud CLI.
gcloud container clusters create [1] --zone us-central1-aThe command requires a cluster name after 'create'. 'my-cluster' is a valid name.
Complete the command to get credentials for your GKE cluster.
gcloud container clusters get-credentials [1] --zone us-central1-aYou must specify the exact cluster name to get its credentials. 'my-cluster' matches the created cluster.
Fix the error in the command to list nodes in your GKE cluster.
kubectl get [1]To see the nodes in the cluster, use 'kubectl get nodes'.
Fill both blanks to create a deployment with 3 replicas of nginx.
kubectl create deployment [1] --image=[2] --replicas=3
The deployment name can be 'nginx-deploy' and the image should be 'nginx:latest' to pull the official nginx image.
Fill all three blanks to expose the nginx deployment as a LoadBalancer service on port 80.
kubectl expose deployment [1] --type=[2] --port=[3]
Expose the 'nginx-deploy' deployment as a 'LoadBalancer' type service on port 80 to allow external traffic.