Removing references of kubectl rolling-update command (#19449)
* Removing rolling-update command details Removing rolling-update command details Removing references to kubectl rolling-update command * Removing rolling-update references
This commit is contained in:
@@ -204,7 +204,6 @@ kubectl diff -f ./my-manifest.yaml
|
||||
|
||||
## Updating Resources
|
||||
|
||||
As of version 1.11 `rolling-update` have been deprecated (see [CHANGELOG-1.11.md](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.11.md)), use `rollout` instead.
|
||||
|
||||
```bash
|
||||
kubectl set image deployment/frontend www=image:v2 # Rolling update "www" containers of "frontend" deployment, updating the image
|
||||
@@ -215,12 +214,6 @@ kubectl rollout status -w deployment/frontend # Watch rolling
|
||||
kubectl rollout restart deployment/frontend # Rolling restart of the "frontend" deployment
|
||||
|
||||
|
||||
# deprecated starting version 1.11
|
||||
kubectl rolling-update frontend-v1 -f frontend-v2.json # (deprecated) Rolling update pods of frontend-v1
|
||||
kubectl rolling-update frontend-v1 frontend-v2 --image=image:v2 # (deprecated) Change the name of the resource and update the image
|
||||
kubectl rolling-update frontend --image=image:v2 # (deprecated) Update the pods image of frontend
|
||||
kubectl rolling-update frontend-v1 frontend-v2 --rollback # (deprecated) Abort existing rollout in progress
|
||||
|
||||
cat pod.json | kubectl replace -f - # Replace a pod based on the JSON passed into std
|
||||
|
||||
# Force replace, delete and then re-create the resource. Will cause a service outage.
|
||||
|
||||
Reference in New Issue
Block a user