Skip to content

Commit 88cc210

Browse files
authored
Merge pull request #20723 from viniciusbds/patch-2
Update content/en/docs/tasks/manage-kubernetes-objects/declarative-config.md
2 parents f53dd0a + 21d8c30 commit 88cc210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/manage-kubernetes-objects/declarative-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ kubectl scale deployment/nginx-deployment --replicas=2
237237
Print the live configuration using `kubectl get`:
238238

239239
```shell
240-
kubectl get -f https://k8s.io/examples/application/simple_deployment.yaml -o yaml
240+
kubectl get deployment nginx-deployment -o yaml
241241
```
242242

243243
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
296296
Print the live configuration using `kubectl get`:
297297

298298
```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
300300
```
301301

302302
The output shows the following changes to the live configuration:

0 commit comments

Comments
 (0)