1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Navaneetha Senthilkumar f9f53af448 Update nodes-pods-adjust-resources-in-place-about.adoc
Hi Team,

The oc command prefix is missing in the pod resizing examples in the following OpenShift 4.20 documentation: https://docs.redhat.com/en/documentation/openshift_container_platform/4.20/html-single/nodes/index#nodes-pods-adjust-resources-in-place-about_nodes-pods-adjust-resources-in-place

Current Example commands:

~~~
$ oc edit pod <pod_name>  --subresource resize

$ apply -f <file_name>.yaml --subresource resize

$ patch pod <pod_name> --subresource resize --patch \
  '{"spec":{"containers":[{"name":"pause", "resources":{"requests":{"cpu":"800m"}, "limits":{"cpu":"800m"}}}]}}'
~~~

Expected Example commands:

~~~
$ oc edit pod <pod_name>  --subresource resize

$ oc apply -f <file_name>.yaml --subresource resize

$ oc patch pod <pod_name> --subresource resize --patch \
  '{"spec":{"containers":[{"name":"pause", "resources":{"requests":{"cpu":"800m"}, "limits":{"cpu":"800m"}}}]}}'
~~~

I have created the following documentation bug as well:

 https://issues.redhat.com/browse/OCPBUGS-64573
2025-11-06 15:15:40 +00:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00
2025-11-05 18:57:51 +00:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00
2025-11-05 19:25:48 +00:00
2025-10-28 14:54:43 -04:00
2025-10-28 14:54:43 -04:00

= OpenShift Documentation

Welcome to the OpenShift documentation GitHub repository. To contribute to OpenShift docs, see https://github.com/openshift/openshift-docs/blob/master/contributing_to_docs/contributing.adoc
Description
Languages
HTML 33.5%
CSS 24%
Python 23.6%
JavaScript 10.8%
Shell 7%
Other 0.9%