7.2. 使用 OCP 上的 Fuse Online 安装 Apache Camel K
Camel K operator 在 Fuse Online 中可用,以便在 OCP 上部署并重新部署集成时(例如,从 1-2 分钟到几秒钟)加快上转时间。本节解释了如何使用 Syndesis 开源项目中的 Fuse Online 安装 Camel K。
重要
技术预览中的 Camel K 运行时不支持 Fuse 在线扩展。
先决条件
- 您必须连接到您要安装 Fuse Online 的 OCP 集群,或连接到为开发创建的本地集群。
- 您必须具有集群管理特权。
流程
- 下载并解压缩最新的 Fuse Online 1.8.x 版本: https://github.com/syndesisio/fuse-online-install/releases/tag/1.8。
设置 Fuse Online 以使用 Camel K:
$ bash install_ocp.sh --setup --camel-k
这会在集群中安装 Fuse Online 和 Camel K operator。
在您的集群中安装 Fuse Online 和 Camel K:
$ bash install_ocp.sh --camel-k
默认情况下,这会在当前的 OCP 项目中安装 Fuse Online 和 Camel K 运行时引擎,脚本则计算访问 Fuse Online 的路由。如果已安装 Fuse Online,则仅安装 Camel K。
注意当将
camel-k
作为运行时引擎安装时,这将替换spring-boot
的经典 Camel 集成运行时。
更多信息
如需了解更多详细信息,请参阅在 OCP 上安装 Fuse Online。