第 1 章 从 Service Mesh 2 迁移到 Service Mesh 3
此迁移部分的内容仅在以下情况下应用:
- 您是一个现有的 Red Hat OpenShift Service Mesh 用户运行 OpenShift Service Mesh 2.6.9。
- 您需要移至 OpenShift Service Mesh 3.0。
如果您没有运行 OpenShift Service Mesh 2.6.9,则必须更新,然后才能继续。如需更多信息,请参阅升级 Service Mesh。
在迁移过程中,您可能需要引用,或者您可能定向到 OpenShift Service Mesh 2.x 内容。在新标签页或窗口中打开 OpenShift Service Mesh 2.x 有助于更轻松地参考。当您在 OpenShift Service Mesh 2 ServiceMeshControlPlane 资源内容和 OpenShift Service Mesh 3 Istio 资源内容间进行移动时,这特别有用。
1.1. 迁移的建议 复制链接链接已复制到粘贴板!
请考虑以下建议,以限制错误配置或可能冲突的风险:
- 如果您在 OpenShift Container Platform Web 控制台中配置了自动更新,请将其改为 Manual。通过切换到手动更新,您可以防止在迁移过程中对 OpenShift Service Mesh 2 Operator 和 control plane 的更新。
- 保持服务网格配置更改量,如流量管理或安全性的变化,或在迁移过程中将新的工作负载或网关添加到最低限度。
如果需要在迁移过程中添加新工作负载命名空间,则必须由 OpenShift Service Mesh 3 control plane 管理,并使用 maistra.io/ignore-namespace: "true" 标记,以避免 OpenShift Service Mesh 3 control plane 和 OpenShift Service Mesh 2 ServiceMeshControlPlane 资源间的冲突。
- 在不需要不必要的延迟的情况下完成迁移。
1.1.1. 使用迁移指南 复制链接链接已复制到粘贴板!
迁移指南旨在帮助您根据部署模型从 OpenShift Service Mesh 2.6.9 迁移到 OpenShift Service Mesh 3.0:
- Mulitenant
- 使用 cert-manager 的 Mulitenant
- 集群范围的
- 使用 cert-manager 的集群范围
迁移指南使用 info 应用作为演示目的的示例。
您还可以迁移网关。