1.3. Camel K 통합 스케일링

oc scale 명령을 사용하여 통합을 확장할 수 있습니다.

절차

  • Camel K 통합을 확장하려면 다음 명령을 실행합니다.

    oc scale it <integration_name> --replicas <number_of_replicas>
  • Integration 리소스를 직접 편집하여 통합을 확장할 수도 있습니다.

    oc patch it <integration_name> --type merge -p '{"spec":{"replicas":<number_of_replicas>}}'

    통합을 위한 복제본 수를 보려면 다음 명령을 사용하십시오.

    oc get it <integration_name> -o jsonpath='{.status.replicas}'