mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSDOCS#15081: Autogenerating CLI docs for 4.21
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
f7e9d8e7c3
commit
0ff8a88f33
@@ -249,7 +249,13 @@ Autoscale a deployment config, deployment, replica set, stateful set, or replica
|
||||
oc autoscale deployment foo --min=2 --max=10
|
||||
|
||||
# Auto scale a replication controller "foo", with the number of pods between 1 and 5, target CPU utilization at 80%
|
||||
oc autoscale rc foo --max=5 --cpu-percent=80
|
||||
oc autoscale rc foo --max=5 --cpu=80%
|
||||
|
||||
# Auto scale a deployment "bar", with the number of pods between 3 and 6, target average CPU of 500m and memory of 200Mi
|
||||
oc autoscale deployment bar --min=3 --max=6 --cpu=500m --memory=200Mi
|
||||
|
||||
# Auto scale a deployment "bar", with the number of pods between 2 and 8, target CPU utilization 60% and memory utilization 70%
|
||||
oc autoscale deployment bar --min=3 --max=6 --cpu=60% --memory=70%
|
||||
----
|
||||
|
||||
|
||||
@@ -1872,6 +1878,9 @@ Log in to a server
|
||||
# Log in to the given server through a browser
|
||||
oc login localhost:8443 --web --callback-port 8280
|
||||
|
||||
# Log in to the given server through a browser without opening it automatically (print URL only)
|
||||
oc login localhost:8443 --web --auto-open-browser=false --callback-port 8280
|
||||
|
||||
# Log in to the external OIDC issuer through Auth Code + PKCE by starting a local server listening on port 8080
|
||||
oc login localhost:8443 --exec-plugin=oc-oidc --client-id=client-id --extra-scopes=email,profile --callback-port=8080
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user