Skip to content

Lab‐5: Scale application

Student User edited this page Sep 16, 2024 · 2 revisions

STEP-1 Switch to test100 namespace.

[student@servera ~]$ oc config set-context --namespace test100 --current

STEP-2 Scale application.

[student@servera ~]$ oc scale --replicas=2 deployment/test1

STEP-3 List resources created.

[student@servera ~]$ oc get pod

STEP-4 Delete the test100 project/namespace.

[student@servera ~]$ oc delete namespace test100

Clone this wiki locally