This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.9.2.8. 수동 확장
롤백 외에도 웹 콘솔의 복제본 수 또는 oc scale
명령을 사용하여 세부적으로 제어할 수 있습니다. 예를 들어 다음 명령은 배포 구성 프런트 엔드의 복제본을 3 으로
설정합니다.
oc scale dc frontend --replicas=3
$ oc scale dc frontend --replicas=3
결국 복제본 수는 배포 구성 프런트 엔드에서 구성한 배포의 원하는 현재 상태로 전달 됩니다
.
참고
Pod는 oc autoscale
명령을 사용하여 자동 스케일링할 수도 있습니다. 자세한 내용은 Pod 자동 스케일링 을 참조하십시오.