We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d92c72 commit f1606ccCopy full SHA for f1606cc
content/en/docs/reference/kubectl/cheatsheet.md
@@ -115,7 +115,7 @@ kubectl create cronjob hello --image=busybox:1.28 --schedule="*/1 * * * *" --
115
kubectl explain pods # get the documentation for pod manifests
116
117
# Create multiple YAML objects from stdin
118
-cat <<EOF | kubectl apply -f -
+kubectl apply -f - <<EOF
119
apiVersion: v1
120
kind: Pod
121
metadata:
@@ -142,7 +142,7 @@ spec:
142
EOF
143
144
# Create a secret with several keys
145
146
147
kind: Secret
148
0 commit comments