Which of the following parameter, in kubernetes deployment file, has to be changed for scaling a kubernetes cluster?
A) replicas
B) scale
C) containers
D) pods
Answers
Answer:
the correct option is b
Answer:
The correct option is A. replicas
Explanation:
From the above question,
They have given :
The replicas parameter in Kubernetes deployment files specifies the number of replicas of the application running in the cluster. When this parameter is changed, the cluster is scaled accordingly.
The "replicas" parameter has to be changed for scaling a kubernetes cluster.
The replicas parameter in Kubernetes deployment files is used to specify the number of instances of the application running in the cluster. Changing this parameter is how we scale the cluster.
If we need more instances of the application, we increase the replicas value and Kubernetes will create the necessary number of replicas. Similarly, if we need to decrease the number of running replicas, we can reduce the replicas parameter accordingly. Scaling the cluster with this parameter ensures that Kubernetes can efficiently manage the resources in the cluster and ensure that the application is running optimally.
By changing the replicas parameter in the deployment file, we can easily scale our Kubernetes cluster to meet our needs.
For more such related questions : https://brainly.in/question/10727499
#SPJ3