This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.1.14.2.3. 路由标签和注解
有时,OpenShift 路由中需要特定的标签或注解。例如,OpenShift 路由中的一些高级功能使用特殊注释进行管理。请参阅以下"Additional resources"部分中的"特定于路由的注解"。
对于这个和其他用例,Red Hat OpenShift Service Mesh 会将 Istio 网关资源中存在的所有标签和注解(与 kubectl.kubernetes.io
开头的注解例外)复制到受管 OpenShift 路由资源中。
如果您需要 Service Mesh 创建的 OpenShift 路由中的特定标签或注解,在 Istio 网关资源中创建它们,它们将复制到由 Service Mesh 管理的 OpenShift 路由资源中。