Merge pull request #7922 from leseb/doc-fix

doc: fix patch command
This commit is contained in:
Travis Nielsen
2021-05-18 07:41:48 -06:00
committed by GitHub
+1 -1
View File
@@ -97,7 +97,7 @@ ceph-mon \
Patch the `rook-ceph-mon-b` Deployment to stop this mon working without deleting the mon pod:
```console
kubectl -n rook-ceph patch deployment rook-ceph-mon-b -p '{"op":"remove", "path":"/spec/template/spec/containers/0/livenessProbe"}'
kubectl -n rook-ceph patch deployment rook-ceph-mon-b --type='json' -p '[{"op":"remove", "path":"/spec/template/spec/containers/0/livenessProbe"}]'
kubectl -n rook-ceph patch deployment rook-ceph-mon-b -p '{"spec": {"template": {"spec": {"containers": [{"name": "mon", "command": ["sleep", "infinity"], "args": []}]}}}}'
```