Remove outdated rollback step from CRUD deployment example

The code was already removed, remove the rollback step also from the README

Kubernetes-commit: e6e3b78f7549d6bae33664af87bf34fd425528c3
This commit is contained in:
Johannes Würbach 2019-01-02 20:52:34 +01:00 committed by Kubernetes Publisher
parent e6b0ffda95
commit 164b2f8a05

View File

@ -36,15 +36,9 @@ Running this command will execute the following operations on your cluster:
image to `nginx:1.13`. You are encouraged to inspect the retry loop that image to `nginx:1.13`. You are encouraged to inspect the retry loop that
handles conflicts. Verify the new replica count and container image with handles conflicts. Verify the new replica count and container image with
`kubectl describe deployment demo`. `kubectl describe deployment demo`.
3. **Rollback Deployment:** This will rollback the Deployment to the last 3. **List Deployments:** This will retrieve Deployments in the `default`
revision. In this case, it's the revision that was created in Step 1.
Use `kubectl describe` to verify the container image is now `nginx:1.12`.
Also note that the Deployment's replica count is still 1; this is because a
Deployment revision is created if and only if the Deployment's pod template
(`.spec.template`) is changed.
4. **List Deployments:** This will retrieve Deployments in the `default`
namespace and print their names and replica counts. namespace and print their names and replica counts.
5. **Delete Deployment:** This will delete the Deployment object and its 4. **Delete Deployment:** This will delete the Deployment object and its
dependent ReplicaSet resource. Verify with `kubectl get deployments`. dependent ReplicaSet resource. Verify with `kubectl get deployments`.
Each step is separated by an interactive prompt. You must hit the Each step is separated by an interactive prompt. You must hit the
@ -63,10 +57,6 @@ Updating deployment...
Updated deployment... Updated deployment...
-> Press Return key to continue. -> Press Return key to continue.
Rolling back deployment...
Rolled back deployment...
-> Press Return key to continue.
Listing deployments in namespace "default": Listing deployments in namespace "default":
* demo-deployment (1 replicas) * demo-deployment (1 replicas)
-> Press Return key to continue. -> Press Return key to continue.