-
Bug
-
Resolution: Done
-
Minor
-
DO280 - OCP4.14-en-2-20240725
-
None
-
False
-
-
False
-
1
-
en-US (English)
Please fill in the following information:
URL: | |
Reporter RHNID: | bucknd |
Section Title: | patching kubernetes resources |
Issue description
example given in book is
*oc patch deployment hello -p *
'{"spec":{"template":{"spec":{"resources":{"requests":{"cpu": "100m"}}}}}}'
if user were to try and run an example like this it would fail as the path is missing the 'containers' section
Steps to reproduce:
Workaround:
the example should be modified so that an example of a working patch command can be seen.... for instance
*oc patch deployment mysql -p '{"spec":{"template":{"spec":{"containers":[{"name": "mysql-80-rhel7","resources": {"requests":
{"cpu": "100m"}}}]}}}}'*
Expected result: