Missing resource name on kubectl patch

Adding teh resource name to patch
This commit is contained in:
kkimaya 2024-12-31 17:34:05 +05:30 committed by GitHub
parent ce1d8e21eb
commit 74dbaf513f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ and allow Kubernetes to add more temporary replicas during a rollout, by setting
100%:
```shell
kubectl patch --type='merge' -p '{"spec":{"strategy":{"rollingUpdate":{"maxSurge": "100%" }}}}'
kubectl patch deployments/my-nginx --type='merge' -p '{"spec":{"strategy":{"rollingUpdate":{"maxSurge": "100%" }}}}'
```
```none