You want to enable your running Google Container Engine cluster to scale as demand for your application changes.
What should you do?
Correct Answer: B
and redeploy your application.
Explanation:
Cluster autoscaling
--enable-autoscaling
Enables autoscaling for a node pool.
Enables autoscaling in the node pool specified by --node-pool or the default node pool if --node-pool is not provided.
Where:
--max-nodes=MAX_NODES
Maximum number of nodes in the node pool.
Maximum number of nodes to which the node pool specified by --node-pool (or default node pool if unspecified) can scale.
Incorrect Answers:
C, D: Warning: Do not use Alpha Clusters or alpha features for production workloads.
Note: You can experiment with Kubernetes alpha features by creating an alpha cluster. Alpha clusters are short-lived clusters that run stable Kubernetes releases with all Kubernetes APIs and features enabled. Alpha clusters are designed for advanced users and early adopters to experiment with workloads that take advantage of new features before those features are production-ready. You can use Alpha clusters just like normal Kubernetes Engine clusters.
References: https://cloud.google.com/sdk/gcloud/reference/container/clusters/create Reference:
https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler