From 0d9d83a23d26fc95dfbd1e6384a9d09c3493ae47 Mon Sep 17 00:00:00 2001 From: John Kwiatkoski Date: Sat, 5 Feb 2022 19:41:02 -0500 Subject: [PATCH] Remove deprecated `--record` flag from example Trying to use this flag `--record` in the example leads to the warning: ``` Flag --record has been deprecated, --record will be removed in the future ``` --- .../overview/working-with-objects/kubernetes-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md b/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md index c763b40e056..9d57d9860da 100644 --- a/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md +++ b/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md @@ -63,7 +63,7 @@ One way to create a Deployment using a `.yaml` file like the one above is to use in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example: ```shell -kubectl apply -f https://k8s.io/examples/application/deployment.yaml --record +kubectl apply -f https://k8s.io/examples/application/deployment.yaml ``` The output is similar to this: