2.5.3. 应用程序管理CLI命令

2.5.3.1. annotate

更新一个或多个资源上的注解。

示例:向路由添加注解

$ oc annotate route/test-route haproxy.router.openshift.io/ip_whitelist="192.168.1.10"

示例:从路由中删除注解

$ oc annotate route/test-route haproxy.router.openshift.io/ip_whitelist-