OpenShift Container Platform 4.8 CLI 工具com/*=svc:8080,tls=secret1" # Create an ingress with a default backend oc create ingress ingdefault --class=default \ --default-backend=defaultsvc:http \ --rule="foo.com/*=svc:8080,tls=secret1" mysql:latest --to myregistry.com/myimage:latest layer.tar.gz # Add a new layer to the image and store the result on disk # This results in $(pwd)/v2/mysql/blobs,manifests oc image append --from mysql:latest file://mysql:local layer.tar.gz # Add a new layer to the image and store the result on disk in a designated directory # This will result in $(pwd)/mysql-local/v2/mysql/blobs,manifests oc image append --from0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具--class=default \ --rule="foo.com/*=svc:8080,tls=secret1" # Create an ingress with a default backend 第 第 2 章 章 OPENSHIFT CLI (OC) 35 2.5.1.45. oc create job 使用指定名称创建作业 用法示例 用法示例 2.5.1.46. oc create priorityclass 创建具有指定名称的优先级类 用法示例 用法示例 oc create ingress ingdefault --class=default \ --default-backend=defaultsvc:http \ --rule="foo.com/*=svc:8080,tls=secret1" # Create a job oc create job my-job 1.77. oc image extract 将文件从镜像复制到文件系统 用法示例 用法示例 # Add a new layer to the image and store the result on disk # This results in $(pwd)/v2/mysql/blobs,manifests oc image append --from mysql:latest0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具com/*=svc:8080,tls=secret1" # Create an ingress with a default backend oc create ingress ingdefault --class=default \ --default-backend=defaultsvc:http \ --rule="foo.com/*=svc:8080,tls=secret1" mysql:latest --to myregistry.com/myimage:latest layer.tar.gz # Add a new layer to the image and store the result on disk # This results in $(pwd)/v2/mysql/blobs,manifests oc image append --from mysql:latest file://mysql:local layer.tar.gz # Add a new layer to the image and store the result on disk in a designated directory # This will result in $(pwd)/mysql-local/v2/mysql/blobs,manifests oc image append --from0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.13 认证和授权openshift_auth_basic_password_count_result 按照结果(success 或 error)统计 oc login 用户名和密码的尝试次数。 openshift_auth_form_password_count 统计 web 控制台登录尝试次数。 openshift_auth_form_password_count_result 按照结果(success 或 error)统计 web [NC] RewriteRule ^.* - [F,L]# Insert your backend server name/ip here. ProxyPass https:// /oauth/authorize AuthName "SSO (objectClass=*)" # Insert your backend server name/ip here. ProxyPass https:// /oauth/authorize AuthName "SSO 0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.8 Service MeshServiceEntry CR 和相关的 DestinationRule CR: a. 将 ServiceEntry CR 添加到名为 service-entry-threescale-saas-backend.yml 的文件: ServiceEntry CR $ oc apply -f threescale-wasm-auth-bookinfo.yaml apiVersion: networking networking.istio.io/v1beta1 kind: ServiceEntry metadata: name: service-entry-threescale-saas-backend spec: hosts: - su1.3scale.net ports: - number: 443 name: https OpenShift Container Platform Platform 4.8 Service Mesh 156 b. 将 DestinationRule CR 添加到名为 destination-rule-threescale-saas-backend.yml 的文 件: DestinationRule CR c. 运行以下命令,为 3scale 托管后端应用并保存外部 ServiceEntry CR: d. 运行以下命令,为 3scale Hosted0 码力 | 344 页 | 3.04 MB | 1 年前3
OpenShift Container Platform 4.13 网络metrics ... # HELP haproxy_backend_connections_total Total number of connections. # TYPE haproxy_backend_connections_total gauge haproxy_backend_connections_total{backend="http",namespace="default",route="hello- route="hello- route"} 0 haproxy_backend_connections_total{backend="http",namespace="default",route="hello- route-alt"} 0 haproxy_backend_connections_total{backend="http",namespace="default",route="hello- matchLabels: role: frontend - from: - podSelector: matchLabels: role: backend 第 第 22 章 章 网 网络 络策略 策略 209 以下策略表示这两个规则与以下相同的规则: 相同的指南信息适用于 spec.podSelector spec。如果不同的网络策略有相同的0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.7 安装} ], "backendAddressPools" : [ { "name" : "public-lb-backend" } ], "loadBalancingRules" : [ { "name" : "api-internal" "id" : "[concat(variables('masterLoadBalancerID'), '/backendAddressPools/public-lb- backend')]" }, "protocol" : "Tcp", "loadDistribution" : "Default" } ], "backendAddressPools" : [ { "name" : "internal-lb-backend" } ], "loadBalancingRules" : [ { "name" : "api-internal"0 码力 | 2276 页 | 23.68 MB | 1 年前3
OpenShift Container Platform 4.6 网络ROUTER_HARD_STOP_AFT ER router.openshift.io/haproxy.h ealth.check.interval 为后端健康检查设定间隔。 (TimeUnits) ROUTER_BACKEND_CHEC K_INTERVAL haproxy.router.openshift.io/i p_whitelist 为路由设置白名单。白名单是以空 格分开的 IP 地址和 CIDR 范围列 ms(毫秒,默认)、s(秒)、m (分钟)、h *(小时) 、 、d (天)。 正则表达式是: [1-9][0-9]*(us\|ms\|s\|m\|h\|d)。 变 变量 量 默 默认 认 描述 描述 ROUTER_BACKEND_CHECK_INTE RVAL 5000ms 后端上后续存活度检查之间的时长。 ROUTER_CLIENT_FIN_TIMEOUT 1s 控制连接到路由的客户端的 TCP FIN 超时 周期。如果发送到关闭连接的 io/termination: "reencrypt" 1 spec: rules: - host: www.example.com http: paths: - backend: service: name: frontend 第 第 15 章 章 配置路由 配置路由 209 1 route.openshift.io/termination0 码力 | 256 页 | 2.78 MB | 1 年前3
OpenShift Container Platform 4.8 安装} ], "backendAddressPools" : [ { "name" : "public-lb-backend" } ], "loadBalancingRules" : [ { "name" : "api-internal" "id" : "[concat(variables('masterLoadBalancerID'), '/backendAddressPools/public-lb- backend')]" }, "protocol" : "Tcp", "loadDistribution" : "Default" } ], "backendAddressPools" : [ { "name" : "internal-lb-backend" } ], "loadBalancingRules" : [ { "name" : "api-internal"0 码力 | 2586 页 | 27.37 MB | 1 年前3
OpenShift Container Platform 4.8
Web 控制台3scale 凭据和您要管理的 API 服务 ID 更新此 功能。 1. 使用 3scale 配置修改处理器配置。 处理器配置示例 理器配置示例 您可以选择在 params 部分提供一个 backend_url 字段来覆盖 3scale 配置提供的 URL。如果适配器与 3scale 内部实例在同一集群中运行,且您希望利用内部集群 DNS,这可能很有用。 1. 用 3scale 配置来修改规则配置,将规则发送到 生成模板的命名空间 不是 istio-system -t, --token 3scale 访问令牌 是 -u, --url 3scale Admin Portal URL 是 --backend-url 3scale 后端 URL。如果 设定,它会覆盖从系统配 置中读取的值。 不是 -s, --service 3scale API/Service ID 不是 --auth0 码力 | 87 页 | 1.58 MB | 1 年前3
共 23 条
- 1
- 2
- 3













