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}'