OpenShift Container Platform 4.13 认证和授权Container Platform。基本身份验证是一种通用后端集成机制。 请求标头 (Request header) 配置 request-header 身份提供程序,标识请求标头值中的用户,例如 X-Remote- User。它通常与设定请求标头值的身份验证代理一起使用。 Github 或 GitHub Enterprise 配置 github 身份提供程序,针对 GitHub 或 GitHub Enterprise 控制台配置身份提供程序 通过 web 控制台而非 CLI 配置身份提供程序 (IDP)。 先决条件 先决条件 您必须以集群管理员身份登录到 web 控制台。 流程 流程 1. 导航至 Administration → Cluster Settings。 2. 在 Configuration 选项卡下,单击 OAuth。 3. 在 Identity Providers 部分中,从 Add 下拉菜单中选择您的身份提供程序。 mappingMethod: claim 2 type: BasicAuth basicAuth: url: https://www.example.com/remote-idp 3 ca: 4 name: ca-config-map tlsClientCert: 5 name: client-cert-secret0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.10 监控openshift-monitoring data: config.yaml: | prometheusK8s: remoteWrite: - url: "https://remote-write.endpoint"第 第 2 章 章 配置 配置监 监控堆 控堆栈 栈 35 对于 openshift-monitoring data: config.yaml: | prometheusK8s: remoteWrite: - url: "https://remote-write.endpoint" basicAuth: username: name: remoteWriteAuth Prometheus 实例配置远程写入,如下所示: config.yaml: | prometheusK8s: remoteWrite: - url: "https://remote-write.endpoint" tlsConfig: ca: secret: name: selfsigned-mtls-bundle 0 码力 | 135 页 | 1.58 MB | 1 年前3
OpenShift Container Platform 4.7 日志记录Workloads → Pods 页面,并检查 openshift-logging 项目中报告问题的 pod 的 日志。 3. 创建 OpenShift Logging 实例: a. 切换到 Administration → Custom Resource Definitions 页面。 b. 在 Custom Resource Definitions 页面上,点 ClusterLogging。 c openshift-logging $ oc delete pod --selector logging-infra=fluentd@type syslog_buffered remote_syslog rsyslogserver.example.com port 514 hostname ${hostname} remove_tag_prefix tag facility local0 Platform 使用旧配置方法转发日志: 1. 创建名为 syslog.conf 的配置文件,并在 部分中指定类似如下的参数: @type 1 remote_syslog 2 port 514 3 hostname ${hostname} remove_tag_prefix 4 facility 0 码力 | 183 页 | 1.98 MB | 1 年前3
OpenShift Container Platform 4.9 节点登陆到 OpenShift Container Platform Web 控制台。 2. 为 Kube Descheduler Operator 创建所需的命名空间。 a. 进行 Administration → Namespaces,点 Create Namespace。 b. 在 Name 字段中输入 openshift-kube-descheduler-operator,在 Labels Operator。 c. 在确认对话框中,点 Uninstall。 4. 删除 openshift-kube-descheduler-operator 命名空间。 a. 导航至 Administration → Namespaces。 b. 在过滤器框中输入 openshift-kube-descheduler-operator。 c. 点 openshift-kube-descheduler-operator 在确认对话框中,输入 openshift-kube-descheduler-operator 并点 Delete。 5. 删除 KubeDescheduler CRD。 a. 进入 Administration → Custom Resource Definitions。 b. 在过滤器框中输入 KubeDescheduler。 c. 点 KubeDescheduler 条目旁的 Options0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.6 节点为 为 Kube Descheduler Operator 创 创建所需的命名空 建所需的命名空间 间。 。 a. 进 进行 行 Administration → Namespaces,点 ,点 Create Namespace。 。 b. 在 在 Name 字段中 字段中输 输入 入 opensh 删 删除 除 openshift-kube-descheduler-operator 命名空 命名空间 间。 。 a. 导 导航至 航至 Administration → Namespaces。 。 b. 在 在过滤 过滤器框中 器框中输 输入 入 openshift-kube-descheduler-operator。 Delete。 。 5. 删 删除 除 KubeDescheduler CRD。 。 a. 进 进入 入 Administration → Custom Resource Definitions。 。 b. 在 在过滤 过滤器框中 器框中输 输入 入 KubeDescheduler。0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.6 网络项目模板必须创建在 openshift-config 命名空间中。加载修改后的模板: 5. 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 点击 Global Configuration,查看所有配置资源。 iii. 找到 Project 的条目,并点击 Edit YAML。 流程 流程 1. 为 SR-IOV Network Operator 创建一个命名空间: a. 在 OpenShift Container Platform web 控制台中,点 Administration → Namespaces。 b. 点 Create Namespace。 c. 在 Name 字段中输入 openshift-sriov-network-operator,然后点击上的同一端口。 可以是 tcp 或 udp。 <remote_port> - 和以上一样,除了连接被重新定向到 上的一个不同的 <remote_port> 中。 - 如果最后一行是一个 IP 地址,那么其它端口上的所有连接都会被重新指向那个 IP 地址的对应端口。如果没有故障切换 0 码力 | 256 页 | 2.78 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序项目模板必须创建在 openshift-config 命名空间中。加载修改后的模板: 5. 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 $ oc adm create-bootstrap-project-template com/openshift-project-request. 自定义项目请求消息: 流程 1. 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 iii. 找到 Project 的条目,并点击 Edit YAML。 docker、pipeline 或 source 来覆盖自动检测到的构建策略。 注意 注意 oc 命令要求包含构建源的文件在远程 Git 存储库中可用。对于所有 Source 构建,您必须 使用 git remote -v。 3.3.1.4. 语 语言 言检测 检测 如果您使用源构建策略, new-app 会尝试根据存储库根目录或指定上下文目录中是否存在特定文件来确定 要使用的语言构建器: 表 3.10 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.13 虚拟化第 4 章 章 WEB 控制台概述 控制台概述 29 控制台 控制台列表 选择 VNC console 或 Serial console。 您可以选择 Desktop viewer 来使用 Remote Desktop Protocol (RDP) 连接到 Windows VirtualMachines。您必须在同一网络的机器上安装 RDP 客户端。 send key 列表 选择要发送到控制台的键组合。 控制台删除一个命名空间。 先决条件 先决条件 可以使用具有 cluster-admin 权限的账户访问 OpenShift Container Platform 集群。 流程 流程 1. 导航至 Administration → Namespaces。 2. 在命名空间列表中找到您要删除的命名空间。 3. 在命名空间列表的右侧,从 Options 菜单 中选择 Delete Namespace。 4 (CRD)。 先决条件 先决条件 可以使用具有 cluster-admin 权限的账户访问 OpenShift Container Platform 集群。 流程 流程 1. 进入到 Administration → CustomResourceDefinitions。 2. 选择 Label 过滤器,并在 Search 字段中输入 operators.coreos.com/kubevirt-0 码力 | 393 页 | 4.53 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序项目模板必须创建在 openshift-config 命名空间中。加载修改后的模板: 5. 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 $ oc adm create-bootstrap-project-template com/openshift-project-request. 自定义项目请求消息: 流程 流程 1. 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 iii. 找到 Project 的条目,并点击 Edit YAML。 docker、pipeline 或 source 来覆盖自动检测到的构建策略。 注意 注意 oc 命令要求包含构建源的文件在远程 Git 存储库中可用。对于所有 Source 构建,您必须 使用 git remote -v。 3.3.1.4. 语 语言 言检测 检测 如果您使用源构建策略, new-app 会尝试根据存储库根目录或指定上下文目录中是否存在特定文件来确定 要使用的语言构建器: 表 表 30 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.10 架构附加组件 下面选择 Install。 4.3.4. Insights 公告标签页 Insights Advisor 选项卡使用 OpenShift Container Platform 的 Remote Health 功能来识别和缓解安全 性、性能、可用性和稳定性风险。请参阅 OpenShift Container Platform 文档中的使用 Insights 发现集群 中的问题。 4.3 管理或 机器置备系统。 集群 Operator 由一个 ClusterOperator 对象表示,集群管理员可在 OpenShift Container Platform Web 控制台的 Administration → Cluster Settings 页面中查看它。每个集群 Operator 都会提供一个确定集群 功能的简单 API。Operator 将管理组件生命周期的细节隐藏起来。Operator0 码力 | 63 页 | 1.40 MB | 1 年前3
共 41 条
- 1
- 2
- 3
- 4
- 5













