@@ -89,7 +89,7 @@ new flag `--subresource=[subresource-name]` which will allow fetching and updati
89
89
` status ` and ` scale ` subresources for all API resources.
90
90
91
91
Note that the API contract against the subresource is identical to a full resource. Therefore updating
92
- the status subresource to hold new value which could protentially be reconciled by a controller
92
+ the status subresource to hold new value which could potentially be reconciled by a controller
93
93
to a different value is * expected behavior* .
94
94
95
95
If ` --subresource ` flag is used for a resource that doesn't support the subresource,
@@ -119,11 +119,11 @@ nginx-deployment 3 3
119
119
# for CRDS
120
120
# a `get` on a status subresource will return identical information
121
121
# to that of a full resource
122
- $ kubectl get crontab cron--subresource=status
122
+ $ kubectl get crontab cron --subresource=status
123
123
NAME SPEC REPLICAS AGE
124
124
cron * * * * * /5 3 4m52s
125
125
126
- $ kubectl get vmset vmset-1 --subresource=scale
126
+ $ kubectl get crontab cron --subresource=scale
127
127
NAME DESIREDREPLICAS AVAILABLEREPLICAS
128
128
cron 3 0
129
129
```
@@ -147,7 +147,7 @@ $ kubectl patch deployment nginx-deployment --subresource='scale' --type='merge'
147
147
scale.autoscaling/nginx-deployment patched
148
148
149
149
# spec.replicas is updated for the main resource
150
- $ k get deploy nginx-deployment
150
+ $ kubectl get deploy nginx-deployment
151
151
NAME READY UP-TO-DATE AVAILABLE AGE
152
152
nginx-deployment 2/2 2 2 4m
153
153
0 commit comments