Geraldin Valencia:
Hi everyone, I have this question: Is the answer to this question correct? In Kubernetes, which component was specifically introduced to supersede the outdated ReplicationControllers? In the mock exam, the answer is this: Deployments. But I think it is: ReplicaSet. Could someone please help me with this doubt?
Sauron:
From https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/
> Note: A Deployment
that configures a ReplicaSet
is now the recommended way to set up replication.
Also, at the end of the page, https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-s-next
> What’s next
> • Learn about https://kubernetes.io/docs/concepts/workloads/pods|Pods.
> • Learn about https://kubernetes.io/docs/concepts/workloads/controllers/deployment/|Deployment, the replacement for ReplicationController.
> • ReplicationController
is part of the Kubernetes REST API. Read the https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/|ReplicationController object definition to understand the API for replication controllers.
Geraldin Valencia:
thank you so much