From e6e3b78f7549d6bae33664af87bf34fd425528c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCrbach?= Date: Wed, 2 Jan 2019 20:52:34 +0100 Subject: [PATCH] Remove outdated rollback step from CRUD deployment example The code was already removed, remove the rollback step also from the README --- .../create-update-delete-deployment/README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md b/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md index 72cfc5d91db..2c8b19a016c 100644 --- a/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md +++ b/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md @@ -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 handles conflicts. Verify the new replica count and container image with `kubectl describe deployment demo`. -3. **Rollback Deployment:** This will rollback the Deployment to the last - 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` +3. **List Deployments:** This will retrieve Deployments in the `default` 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`. Each step is separated by an interactive prompt. You must hit the @@ -63,10 +57,6 @@ Updating deployment... Updated deployment... -> Press Return key to continue. -Rolling back deployment... -Rolled back deployment... --> Press Return key to continue. - Listing deployments in namespace "default": * demo-deployment (1 replicas) -> Press Return key to continue.