mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
f9f53af44891dcb270cc727aec1aa08d3ecf6b3e
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
…
…
…
…
…
…
…
…
…
…
…
…
…
…
= 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%