mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Add munger to verify kubectl -f targets, fix docs
This commit is contained in:
@@ -149,13 +149,13 @@ JSON and YAML formats are accepted.
|
||||
|
||||
.nf
|
||||
// Replace a pod using the data in pod.json.
|
||||
$ kubectl replace \-f pod.json
|
||||
$ kubectl replace \-f ./pod.json
|
||||
|
||||
// Replace a pod based on the JSON passed into stdin.
|
||||
$ cat pod.json | kubectl replace \-f \-
|
||||
|
||||
// Force replace, delete and then re\-create the resource
|
||||
kubectl replace \-\-force \-f pod.json
|
||||
kubectl replace \-\-force \-f ./pod.json
|
||||
|
||||
.fi
|
||||
.RE
|
||||
|
||||
Reference in New Issue
Block a user