OpenShift Container Platform 4.8 CLI 工具io/openshift/mysql-55-centos7:latest #1 deployed 25 minutes ago - 1 pod service frontend (172.30.159.137:5432 -> 8080) frontend deploys origin-ruby-sample:latest <- builds https://github.com/openshift/ruby-hello-world 'description' and the value 'my frontend'. # If the same annotation is set multiple times, only the last value will be applied oc annotate pods foo description='my frontend' # Update a pod identified in "pod.json" oc annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value. oc0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具io/openshift/mysql-55-centos7:latest #1 deployed 25 minutes ago - 1 pod service frontend (172.30.159.137:5432 -> 8080) frontend deploys origin-ruby-sample:latest <- builds https://github.com/openshift/ruby-hello-world 'description' and the value 'my frontend' # If the same annotation is set multiple times, only the last value will be applied oc annotate pods foo description='my frontend' # Update a pod identified in "pod.json" oc annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value oc annotate0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具io/openshift/mysql-55-centos7:latest #1 deployed 25 minutes ago - 1 pod service frontend (172.30.159.137:5432 -> 8080) frontend deploys origin-ruby-sample:latest <- builds https://github.com/openshift/ruby-hello-world 'description' and the value 'my frontend' # If the same annotation is set multiple times, only the last value will be applied oc annotate pods foo description='my frontend' # Update a pod identified 用法示例 用法示例 oc annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value oc annotate0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序以下是 ReplicaSet 定义示例: name: frontend-1 spec: replicas: 1 1 selector: 2 name: frontend template: 3 metadata: labels: 4 name: frontend 5 spec: containers: apps/v1 kind: ReplicaSet metadata: name: frontend-1 labels: tier: frontend spec: replicas: 3 selector: 1 matchLabels: 2 tier: frontend 第 第 7 章 章 部署 部署 97 1 2 3 对一组资源进行的标签查询。matchLabels matchExpressions 的结果在逻辑上是组合在一起 的。 基于相等的选择器,使用与选择器匹配的标签指定资源。 基于集合的选择器,用于过滤键。这将选择键等于 tier 并且值等于 frontend 的所有资源。 7.1.2. DeploymentConfig 对象 在复制控制器的基础上,OpenShift Container Platform 增加了对软件开发和部署生命周期的支持,,及0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序。 以下是 ReplicaSet 定义示例: apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend-1 labels: tier: frontend spec: replicas: 3 OpenShift Container Platform 4.10 构 构建 建应 应用程序 用程序 108 1 matchExpressions 的结果在逻辑上是组合在一起 的。 基于相等的选择器,使用与选择器匹配的标签指定资源。 基于集合的选择器,用于过滤键。这将选择键等于 tier 并且值等于 frontend 的所有资源。 8.1.1.2. 复制控制器 复制控制器 与副本集类似,复制控制器确保始终运行指定数量的 pod 副本。如果 pod 退出或被删除,复制控制器会 做出反应,实例化更多 pod matchLabels: 2 tier: frontend matchExpressions: 3 - {key: tier, operator: In, values: [frontend]} template: metadata: labels: tier: frontend spec: containers:0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.6 网络的连接,但拒绝其他项目中所有 pod 的连接,请添加以下 NetworkPolicy 对象: 仅允许基于 pod 标签的 HTTP 和 HTTPS 流量: 要对带有特定标签(以下示例中的 role=frontend)的 pod 仅启用 HTTP 和 HTTPS 访问,请添 加类似如下的 NetworkPolicy 对象: 使用命名空间和 pod 选择器接受连接: 要通过组合使用命名空间和 pod 选择器来匹配网络流量 k8s.io/v1 metadata: name: allow-http-and-https spec: podSelector: matchLabels: role: frontend ingress: - ports: - protocol: TCP port: 80 - protocol: TCP port: 443 OpenShift 例如,对于以上示例中定义的 NetworkPolicy 对象,您可以在同一个项目中定义 allow-same- namespace 和 allow-http-and-https 策略。因此,允许带有标签 role=frontend 的 pod 接受每一策略所 允许的任何连接。即,任何端口上来自同一命名空间中的 pod 的连接,以及端口 80 和 443 上的来自任意 命名空间中 pod 的连接。 10.1.2. 网络策略优化0 码力 | 256 页 | 2.78 MB | 1 年前3
OpenShift Container Platform 4.9 网络的连接,但拒绝其他项目中所有 pod 的连接,请添加以下 NetworkPolicy 对象: 仅允许基于 pod 标签的 HTTP 和 HTTPS 流量: 要对带有特定标签(以下示例中的 role=frontend)的 pod 仅启用 HTTP 和 HTTPS 访问,请添 加类似如下的 NetworkPolicy 对象: 使用命名空间和 pod 选择器接受连接: 要通过组合使用命名空间和 pod 选择器来匹配网络流量 k8s.io/v1 metadata: name: allow-http-and-https spec: podSelector: matchLabels: role: frontend ingress: - ports: - protocol: TCP port: 80 - protocol: TCP port: 443 OpenShift 例如,对于以上示例中定义的 NetworkPolicy 对象,您可以在同一个项目中定义 allow-same- namespace 和 allow-http-and-https 策略。因此,允许带有标签 role=frontend 的 pod 接受每一策略所 允许的任何连接。即,任何端口上来自同一命名空间中的 pod 的连接,以及端口 80 和 443 上的来自任意 命名空间中 pod 的连接。 12.1.2. 网络策略优化0 码力 | 388 页 | 4.04 MB | 1 年前3
OpenShift Container Platform 4.13 网络HELP haproxy_frontend_bytes_in_total Current total of incoming bytes. # TYPE haproxy_frontend_bytes_in_total gauge haproxy_frontend_bytes_in_total{frontend="fe_no_sni"} 0 haproxy_frontend_bytes_in_tot al{frontend="fe_sni"} 0 haproxy_frontend_bytes_in_total{frontend="public"} 119070 ... # HELP haproxy_server_bytes_in_total Current total of incoming bytes. # TYPE haproxy_server_bytes_in_total gauge OpenShift 的连接,但拒绝其他项目中所有 pod 的连接,请添加以下 NetworkPolicy 对象: 仅允许基于 pod 标签的 HTTP 和 HTTPS 流量: 要对带有特定标签(以下示例中的 role=frontend)的 pod 仅启用 HTTP 和 HTTPS 访问,请添 加类似如下的 NetworkPolicy 对象: 使用命名空间和 pod 选择器接受连接: 要通过组合使用命名空间和 pod 选择器来匹配网络流量0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.14 分布式追踪二进制、Jaeger Thrift compact、Jaeger gRPC 和 Zipkin。启用网关时,只启用 OpenTelemetry 协议 (OTLP) gRPC。 在 Query Frontend 服务上公开 Jaeger Query gRPC 端点。 支持没有网关身份验证和授权的多租户。 1.4.4.2. 程序 程序错误 错误修复 修复 在此次更新之前,Tempo Operator Ingester 将 trace 批处理到块中,创建 bloom 过滤器和索引,然后将其全部刷新 到后端。 Query Frontend - Query Frontend 负责为传入的查询对搜索空间进行分片。然后,搜索查 询会发送到 Queriers。Query Frontend 部署通过 Tempo Query sidecar 公开 Jaeger UI。 Querier - Querier 负责在 配置选项。 template.querier: Tempo querier 的配置 选项。 template.queryFron tend: Tempo query- frontend 的配置选项。 template.gateway: Tempo gateway 的配置 选项。 参数 参数 描述 描述 值 值 默 默认值 认值 最低要求配置 最低要求配置0 码力 | 100 页 | 928.24 KB | 1 年前3
OpenShift Container Platform 3.11 CLI 参考deploys docker.io/library/mysql:latest #1 deployed 47 hours ago service frontend-test (172.30.17.236:5432 -> 8080) frontend-test deploys origin-ruby-sample:test <- builds https://github.com/ope io/openshift/mysql-55-centos7:latest #1 deployed 25 minutes ago - 1 pod service frontend (172.30.159.137:5432 -> 8080) frontend deploys origin-ruby-sample:latest <- builds https://github.com/openshift/ruby-hello-world0 码力 | 45 页 | 737.95 KB | 1 年前3
共 26 条
- 1
- 2
- 3













