15.2. 在 OpenShift 镜像上修补 Fuse
OpenShift 镜像上的 Fuse 独立于主要 Fuse 产品进行更新。如果 OpenShift 镜像上的 Fuse 需要任何补丁,则更新的镜像将在 OpenShift 镜像流上的标准 Fuse 上提供,您可以从 registry.redhat.io
下载更新的镜像。OpenShift 上的 Fuse 提供以下镜像流(由 OpenShift 镜像流名称标识):
-
fuse-java-openshift-rhel8
-
fuse-java-openshift-jdk11-rhel8
-
fuse-karaf-openshift-rhel8
-
fuse-eap-openshift-jdk8-rhel7
-
fuse-eap-openshift-jdk11-rhel8
-
fuse-console-rhel8
-
fuse-apicurito-generator-rhel8
-
fuse-apicurito-rhel8
流程
OpenShift 镜像流上的 Fuse 通常安装在 OpenShift 服务器上的
openshift
项目中。要检查 OpenShift 上 OpenShift 镜像上的 Fuse 状态,请以管理员身份登录 OpenShift,并输入以下命令:$ oc get is -n openshift NAME DOCKER REPO TAGS UPDATED fuse-console-rhel8 172.30.1.1:5000/openshift/fuse7/fuse-console-rhel8 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago fuse7-eap-openshift-jdk8-rhel7 172.30.1.1:5000/openshift/fuse7/fuse-eap-openshift-jdk8-rhel7 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago fuse7-eap-openshift-jdk11-rhel8 172.30.1.1:5000/openshift/fuse7/fuse-eap-openshift-jdk11-rhel8 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago fuse7-java-openshift-rhel8 172.30.1.1:5000/openshift/fuse7/fuse-java-openshift-rhel8 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago fuse7-java-openshift-jdk11-rhel8 172.30.1.1:5000/openshift/fuse7/fuse-java-openshift-jdk11-rhel8 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago fuse7-karaf-openshift-rhel8 172.30.1.1:5000/openshift/fuse7/fuse-karaf-openshift-rhel8 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago fuse-apicurito-generator-rhel8 172.30.1.1:5000/openshift/fuse7/fuse-apicurito-generator-rhel8 1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago apicurito-ui-rhel8 172.30.1.1:5000/openshift/fuse7/apicurito-ui-rhel8 1.2,1.3,1.4,1.5,1.6,1.7,1.8, 1.9 About an hour ago
现在,您可以一次更新每个镜像流:
oc import-image -n openshift fuse7/fuse7-java-openshift-rhel8:1.10 oc import-image -n openshift fuse7/fuse7-java-openshift-jdk11-rhel8:1.10 oc import-image -n openshift fuse7/fuse7-karaf-openshift-rhel8:1.10 oc import-image -n openshift fuse7/fuse7-eap-openshift-jdk8-rhel7:1.10 oc import-image -n openshift fuse7/fuse7-eap-openshift--jdk11-rhel8:1.10 oc import-image -n openshift fuse7/fuse7-console-rhel8:1.10 oc import-image -n openshift fuse7/apicurito-ui-rhel8:1.10 oc import-image -n openshift fuse7/fuse-apicurito-generator-rhel8:1.10
注意
镜像流中的版本标签格式为 1.9-<BUILDNUMBER&
gt;。当您将标签指定为 1.9
时,您将在 1.9
流中获取最新的构建。
注意
您还可以配置 Fuse 应用程序,以便在 OpenShift 镜像上的新 Fuse 可用时自动触发重新构建。详情请参阅 Builds OpenShift Container Platform documentation_ 中的 Triggering and modify build 部分。