File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/en/docs/tasks/manage-kubernetes-objects Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ kubectl scale deployment/nginx-deployment --replicas=2
237
237
Print the live configuration using ` kubectl get ` :
238
238
239
239
``` shell
240
- kubectl get -f https://k8s.io/examples/application/simple_deployment.yaml -o yaml
240
+ kubectl get deployment nginx-deployment -o yaml
241
241
```
242
242
243
243
The output shows that the ` replicas ` field has been set to 2, and the ` last-applied-configuration `
@@ -296,7 +296,7 @@ kubectl apply -f https://k8s.io/examples/application/update_deployment.yaml
296
296
Print the live configuration using ` kubectl get ` :
297
297
298
298
``` shell
299
- kubectl get -f https://k8s.io/examples/application/simple_deployment .yaml -o yaml
299
+ kubectl get -f https://k8s.io/examples/application/update_deployment .yaml -o yaml
300
300
```
301
301
302
302
The output shows the following changes to the live configuration:
You can’t perform that action at this time.
0 commit comments