Use kubectl get -o yaml to get YAML manifest

Signed-off-by: Nic Cope <nicc@rk0n.org>
This commit is contained in:
Nic Cope 2024-01-31 11:30:43 -08:00
parent 1341e35e38
commit 741929cacf
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ Use `kubectl get` to view the annotations on a managed resource. For example, an
AWS VPC resource:
```yaml {label="creation" copy-lines="2-9"}
$ kubectl get vpc my-vpc
$ kubectl get -o yaml vpc my-vpc
apiVersion: ec2.aws.upbound.io/v1beta1
kind: VPC
metadata: