Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced replication controllers with deployments #304

Merged
merged 4 commits into from
Jul 19, 2016
Merged

Replaced replication controllers with deployments #304

merged 4 commits into from
Jul 19, 2016

Conversation

glnds
Copy link
Contributor

@glnds glnds commented Apr 1, 2016

Fully tested against Google Cloud.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@glnds
Copy link
Contributor Author

glnds commented Apr 1, 2016

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

* Replication Controllers: This is the management component of Kubernetes, and it’s pretty cool. You give it a set of Pods, tell it "I want three copies of this," and it creates those copies on your cluster. It will do its best to keep those copies always running, so if one crashes it will start another.
* Services: This is the other side to Replication Controllers. A service is the single point of contact for a group of Pods. For example, let’s say you have a Replication Controller that creates four copies of a web server pod. A Service will split the traffic to each of the four copies. Services are "permanent" while the pods behind them can come and go, so it’s a good idea to use Services.
* Deployments: A Deployment provides declarative updates for Pods and ReplicaSets. You only need to describe the desired state in a Deployment object, and the deployment controller will change the actual state to the desired state at a controlled rate for you. You can define Deployments to create new resources, or replace existing ones by new ones.
* Services: This is the other side to Deployments. A service is the single point of contact for a group of Pods. For example, let’s say you have a Deployment that creates four copies of a web server pod. A Service will split the traffic to each of the four copies. Services are "permanent" while the pods behind them can come and go, so it’s a good idea to use Services.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove sentence: "This is the other side to Deployments."

Subjective/distracting/weird.

@@ -20,8 +20,8 @@ Before we jump in and start kube’ing it up, it’s important to understand som

* Containers: These are the Docker, rtk, AppC, or whatever Container you are running. You can think of these like subatomic particles; everything is made up of them, but you rarely (if ever) interact with them directly.
* Pods: Pods are the basic component of Kubernetes. They are a group of Containers that are scheduled, live, and die together. Why would you want to have a group of containers instead of just a single container? Let’s say you had a log processor, a web server, and a database. If you couldn't use Pods, you would have to bundle the log processor in the web server and database containers, and each time you updated one you would have to update the other. With Pods, you can just reuse the same log processor for both the web server and database.
* Replication Controllers: This is the management component of Kubernetes, and it’s pretty cool. You give it a set of Pods, tell it "I want three copies of this," and it creates those copies on your cluster. It will do its best to keep those copies always running, so if one crashes it will start another.
* Services: This is the other side to Replication Controllers. A service is the single point of contact for a group of Pods. For example, let’s say you have a Replication Controller that creates four copies of a web server pod. A Service will split the traffic to each of the four copies. Services are "permanent" while the pods behind them can come and go, so it’s a good idea to use Services.
* Deployments: A Deployment provides declarative updates for Pods and ReplicaSets. You only need to describe the desired state in a Deployment object, and the deployment controller will change the actual state to the desired state at a controlled rate for you. You can define Deployments to create new resources, or replace existing ones by new ones.
Copy link
Member

@janetkuo janetkuo May 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReplicaSet isn't used / explained anywhere in this doc. Consider removing it. Also, suggest rephrasing the description of Deployments to be more about Pods, e.g. something like,

  • Deployments: A Deployment provides declarative updates for Pods. You can define Deployments to create new Pods, or replace existing Pods.

@janetkuo
Copy link
Member

@glnds only one comment, otherwise this is good to go. Thanks!

@pwittrock
Copy link
Member

@glnds What is the status of this PR? Should I close it?

@glnds
Copy link
Contributor Author

glnds commented Jul 19, 2016

@pwittrock Sorry this slipped my mind for a while. Changed the definition as suggested. Fine for me now.

@pwittrock pwittrock merged commit 7103d08 into kubernetes:master Jul 19, 2016
mikutas pushed a commit to mikutas/k8s-website that referenced this pull request Feb 24, 2021
mikutas pushed a commit to mikutas/k8s-website that referenced this pull request Sep 22, 2022
* Add heroes for July and August (kubernetes#304)

Signed-off-by: Christian Mejlak <[email protected]>
Okabe-Junya pushed a commit to Okabe-Junya/website that referenced this pull request Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants