Skip to content

Commit

Permalink
Fix broken links to replicaset examples (#14199)
Browse files Browse the repository at this point in the history
  • Loading branch information
plumenator authored and k8s-ci-robot committed May 7, 2019
1 parent 1054269 commit 0b00873
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/en/docs/concepts/workloads/controllers/replicaset.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Saving this manifest into `frontend.yaml` and submitting it to a Kubernetes clus
create the defined ReplicaSet and the Pods that it manages.

```shell
kubectl apply -f http://k8s.io/examples/controllers/frontend.yaml
kubectl apply -f https://kubernetes.io/examples/controllers/frontend.yaml
```

You can then get the current ReplicaSets deployed:
Expand Down Expand Up @@ -162,7 +162,7 @@ Suppose you create the Pods after the frontend ReplicaSet has been deployed and
fulfill its replica count requirement:

```shell
kubectl apply -f http://k8s.io/examples/pods/pod-rs.yaml
kubectl apply -f https://kubernetes.io/examples/pods/pod-rs.yaml
```

The new Pods will be acquired by the ReplicaSet, and then immediately terminated as the ReplicaSet would be over
Expand All @@ -184,12 +184,12 @@ pod2 0/1 Terminating 0 4s

If you create the Pods first:
```shell
kubectl apply -f http://k8s.io/examples/pods/pod-rs.yaml
kubectl apply -f https://kubernetes.io/examples/pods/pod-rs.yaml
```

And then create the ReplicaSet however:
```shell
kubectl apply -f http://k8s.io/examples/controllers/frontend.yaml
kubectl apply -f https://kubernetes.io/examples/controllers/frontend.yaml
```

You shall see that the ReplicaSet has acquired the Pods and has only created new ones according to its spec until the
Expand Down

0 comments on commit 0b00873

Please sign in to comment.