简体   繁体   中英

Kubernetes - Deployment/replicaSet

I am learning concepts in kubernetes, when i am going through deployments and replicaset concepts i got one doubt that can replicasets and deployment be independent to each other

You can create a ReplicaSet without creating a Deployment , but nowadays it does not make much sense. You will almost always use only Deployment for deploying an application, and for every change, eg updating the image: , it will manage the creation of a new ReplicaSet for you.

You can create ReplicaSet and ReplicationController also Deployment however nowadays all use Deployment which auto-create and manage ReplicaSet .

We can say Replicasset is updated version of the replication controller to understand easily.

You can deploy the same application using Replicaset & Deployment , however, with deployment it's easy to manage and update docker image.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM