用法示例 用法示例 2.5.1.51. oc create rolebinding 为特定角色或集群角色创建角色绑定 用法示例 用法示例 2.5.1.52. oc create route edge 创建使用边缘 TLS 终止的路由 oc create priorityclass default-priority --value=1000 --global-default=true create secret generic # Create an edge route named "my-route" that exposes the frontend service oc create route edge my-route --service=frontend # Create an edge route that exposes the frontend service and specify a path # If the route name is omitted, the service name will be used oc create route edge --service=frontend --path /assets # Create a passthrough route named "my-route" that exposes the
(OC) 41 2.7.1.51. oc create rolebinding 为特定角色或集群角色创建角色绑定 用法示例 用法示例 2.7.1.52. oc create route edge 创建使用边缘 TLS 终止的路由 用法示例 用法示例 2.7.1.53. oc create route passthrough 创建使用 passthrough TLS 终止的路由 用法示例 --user=user2 --group=group1 # Create an edge route named "my-route" that exposes the frontend service oc create route edge my-route --service=frontend # Create an edge route that exposes the frontend service and specify a path # If the route name is omitted, the service name will be used oc create route edge --service=frontend --path /assets # Create a passthrough route named "my-route" that exposes the
51. oc create rolebinding 为特定角色或 ClusterRole 创建 RoleBinding 用法示例 用法示例 2.5.1.52. oc create route edge 创建使用边缘 TLS 终止的路由 用法示例 用法示例 2.5.1.53. oc create route passthrough 创建使用 passthrough TLS 终止的路由 用法示例 --user=user2 --group=group1 # Create an edge route named "my-route" that exposes the frontend service oc create route edge my-route --service=frontend # Create an edge route that exposes the frontend service and specify a path # If the route name is omitted, the service name will be used oc create route edge --service=frontend --path /assets # Create a passthrough route named "my-route" that exposes the