OpenShift Container Platform 4.8 Service Mesh
ServiceMeshExtension metadata: name: header-append namespace: istio-system spec: workloadSelector: labels: app: httpbin config: first-header: some-value another-header: another-value image: image: quay.io/maistra-dev/header-append-filter:2.1 phase: PostAuthZ priority: 100 $ oc apply -f.yaml OpenShift Container Platform 4.8 Service Mesh 152 spec.image spec.url spec.phase 有效值: ServiceMeshExtension metadata: name: header-append namespace: istio-system spec: workloadSelector: labels: app: httpbin config: first-header: some-value another-header: another-value image: 0 码力 | 344 页 | 3.04 MB | 1 年前3OpenShift Container Platform 4.9 网络
haproxy.router.openshift.io/hsts_header 注解的边缘和重新加密路由。 前提条件 前提条件 您可以使用具有项目的管理员特权的用户登陆到集群。 已安装 oc CLI。 流程 流程 要在路由上启用 HSTS,请将 haproxy.router.openshift.io/hsts_header 值添加到 edge- terminated 或 re-encrypt openshift.io/hsts_header"="max-age=31536000;\ 1 includeSubDomains;preload" apiVersion: route.openshift.io/v1 kind: Route metadata: annotations: haproxy.router.openshift.io/hsts_header: max-age=3153 ains 告知客户端主机的所有子域都必须与主机具有相同的 HSTS 策略。 可选。当 max-age 大于 0 时,您可以在 haproxy.router.openshift.io/hsts_header 中添 加 preload,以允许外部服务将这个站点包括在 HSTS 预加载列表中。例如,Google 等站 点可以构造设有 preload 的站点的列表。浏览器可以使用这些列表来确定哪些站点可以通过0 码力 | 388 页 | 4.04 MB | 1 年前3OpenShift Container Platform 4.8 Web 控制台
local/ns/istio-system/sa/istio-ingressgateway-service-account" properties: request.headers[<header>]: "value" apiVersion: "rbac.istio.io/v1alpha1" kind: ServiceRoleBinding metadata: name: httpbin-client-binding local/ns/istio-system/sa/istio-ingressgateway-service-account" properties: request.regex.headers[<header>]: "" 第 第 2 章 章 SERVICE MESH 架 架构 构 11 Red Hat OpenShift Service Mesh 包括 CNI local/ns/istio-system/sa/istio-ingressgateway-service-account" properties: request.headers[<header>]: "value" apiVersion: "rbac.istio.io/v1alpha1" kind: ServiceRoleBinding metadata: name: httpbin-client-binding 0 码力 | 87 页 | 1.58 MB | 1 年前3OpenShift Container Platform 4.13 认证和授权
中的最小逻辑单元。pod 由一个或多个容器组成,可在 worker 节点上运行。 常 常规 规用 用户 户 首次登录时或通过 API 自动创建的用户。 请 请求 求标头 标头(Request header) 请求标头是一个 HTTP 标头,用于提供有关 HTTP 请求上下文的信息,以便服务器可以跟踪请求的响 应。 基于角色的 基于角色的访问 访问控制 控制 (RBAC) 重要的安全控制,以 身份提供程序,以便用户使用针对远程身份提供程序验证 的凭证来登录 OpenShift Container Platform。基本身份验证是一种通用后端集成机制。 请求标头 (Request header) 配置 request-header 身份提供程序,标识请求标头值中的用户,例如 X-Remote- User。它通常与设定请求标头值的身份验证代理一起使用。 Github 或 GitHub Enterprise 401 响应表示身份验证失败。 非 200 状态或带有非空“error”键表示错误:{"error":"Error message"} 7.5. 配置请求标头身份提供程序 配置 request-header 身份提供程序,标识请求标头值中的用户,例如 X-Remote-User。它通常与设定请 求标头值的身份验证代理一起使用。 7.5.1. 关于 OpenShift Container Platform0 码力 | 201 页 | 2.74 MB | 1 年前3OpenShift Container Platform 4.13 网络
haproxy.router.openshift.io/hsts_header 注解的边缘和重新加密路由。 前提条件 前提条件 您可以使用具有项目的管理员特权的用户登陆到集群。 已安装 oc CLI。 流程 流程 要在路由上启用 HSTS,请将 haproxy.router.openshift.io/hsts_header 值添加到 edge- terminated 或 re-encrypt openshift.io/hsts_header"="max-age=31536000;\ 1 includeSubDomains;preload" apiVersion: route.openshift.io/v1 kind: Route metadata: annotations: haproxy.router.openshift.io/hsts_header: max-age=3153 ains 告知客户端主机的所有子域都必须与主机具有相同的 HSTS 策略。 可选。当 max-age 大于 0 时,您可以在 haproxy.router.openshift.io/hsts_header 中添 加 preload,以允许外部服务将这个站点包括在 HSTS 预加载列表中。例如,Google 等站 点可以构造设有 preload 的站点的列表。浏览器可以使用这些列表来确定哪些站点可以通过0 码力 | 697 页 | 7.55 MB | 1 年前3OpenShift Container Platform 4.14 分布式追踪
allowed-headers: [<header- name>[, <header-name>]*] allowed-origins: * host-port: 4318 max-connection-age: 0s max- connection-age-grace: 0s max- message-size: 4194304 read- timeout: 0s read-header-timeout: 2s0 码力 | 100 页 | 928.24 KB | 1 年前3OpenShift Container Platform 4.6 网络
仅适用于安全路由(边缘终止或重新加密)。其配置在 HTTP 或传递路由上无效。 流程 流程 要在路由上启用 HSTS,请将 haproxy.router.openshift.io/hsts_header 值添加到边缘终止或重 to: kind: Service name: hello-openshift $ oc get ingresses.config/cluster io/timeout=2s 第 第 15 章 章 配置路由 配置路由 199 1 2 3 1 要在路由上启用 HSTS,请将 haproxy.router.openshift.io/hsts_header 值添加到边缘终止或重 新加密路由: max-age 是唯一的必要参数。它会测量 HSTS 策略生效的时间长度,以秒为单位。每当从 主机收到含有 HSTS 标头的响应时,客户端会更新 max-age。如果 是可选的。含有此参数时,它会告知客户端应像主机一样对待主机上 的所有子域。 preload 是可选的。当 max-age 大于 0 时,在 haproxy.router.openshift.io/hsts_header 中包含 preload 会使外部服务将这个站点包括在 HSTS 预加载列表中。例如,Google 等站 点可以构造设有 preload 的站点的列表。浏览器可以使用这些列表来决定哪些站点可通过0 码力 | 256 页 | 2.78 MB | 1 年前3OpenShift Container Platform 4.13 虚拟化
io/v1alpha1/namespaces/example/virtualmachineexports/exam ple-export/external/manifests/all 1 - type: auth-header-secret url: https://vmexport- proxy.test.net/api/export.kubevirt.io/v1alpha1/namespaces/ url: https://virt-export-export-pvc.default.svc/internal/manifests/all 3 - type: auth-header-secret url: https://virt-export-export-pvc.default.svc/internal/manifests/secret phase: 登录到目标集群。 7. 运行以下命令来获取 Secret 清单: 将替换为 VirtualMachineExport YAML 输出中的 auth-header- secret URL。 引用之前创建的 token_decode 文件。 例如: 8. 运行以下命令,获取 type: all 清单,如 ConfigMap 和 VirtualMachine 0 码力 | 393 页 | 4.53 MB | 1 年前3OpenShift Container Platform 4.6 发行注记
辅助设备指标可与网络附加关联 1.2.8.7. CNF 测试可以在发现模式下运行 1.2.8.8. HAProxy 版本升级 1.2.8.9. Control over X-Forwarded header 1.2.8.10. 修改路由路径 1.2.8.11. Ingress 终止策略 1.2.8.12. AWS 的 Ingress Controller 网络负载均衡 1.2.8.13. AWS HAProxy 版本 2.0.16。 OpenShift Container Platform 4.6 发 发行注 行注记 记 22 1.2.8.9. Control over X-Forwarded header 现在可以通过设置 forwardHeaderPolicy 参数来控制 X-Forwarded 标头。 现在,通过引入 haproxy.router.openshift.io/set-forwarded-headers0 码力 | 91 页 | 1.15 MB | 1 年前3OpenShift Container Platform 4.7 更新集群
Service 应用程序的名称,如 service: 3. 获取策略引擎路由: 4. 为拉取图形数据设置补丁: $ while sleep 10; do HTTP_CODE="$(curl --header Accept:application/json --output /dev/stderr --write-out "%{http_code}" "${POLICY_ENGINE_GRAPH_URI}0 码力 | 62 页 | 716.72 KB | 1 年前3
共 19 条
- 1
- 2