OpenShift Container Platform 4.14 分布式追踪在镜像工具中添加 Tempo Operator 相关镜像,将镜像复制到 registry: 1.2.6. Red Hat build of OpenTelemetry 重要 重要 $ oc edit configmap tempo-operator-manager-config -n openshift-tempo-operator 1 data: controller_manager_config CSV 缺少对操作对象镜像的引用。(TRACING-3523) 临时 临时解决方案 解决方案 在镜像工具中添加 Tempo Operator 相关镜像,将镜像复制到 registry: $ oc edit configmap tempo-operator-manager-config -n openshift-tempo-operator 1 data: controller_manager_config CSV 缺少对操作对象镜像的引用。(TRACING-3523) 临时 临时解决方案 解决方案 在镜像工具中添加 Tempo Operator 相关镜像,将镜像复制到 registry: $ oc edit configmap tempo-operator-manager-config -n openshift-tempo-operator 1 data: controller_manager_config0 码力 | 100 页 | 928.24 KB | 1 年前3
OpenShift Container Platform 4.8 Service Mesh信息的评分信息。 reviews 微服务有三个版本: 版本 v1 不调用 ratings 服务。 版本 v2 调用 ratings 服务,并以一到五个黑色星来代表对本书的评分。 $ oc edit smmr -napiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: Operator 在 Provided APIS 下点 Istio Service Mesh Member Roll 链接。 5. 点 ServiceMeshMemberRoll 菜单 并选择 Edit Service Mesh Member Roll。 6. 编辑默认的 Service Mesh Member Roll YAML 并从 members 列表中删除 bookinfo。 另外,您可以使用 要使用补丁修复资源,请使用 oc patch。 $ oc get smcp -o yaml $ oc get smcp.v1.maistra.io > smcp-resource.yaml #Edit the smcp-resource.yaml file. $ oc replace -f smcp-resource.yaml $ oc patch smcp.v1.maistra.io 0 码力 | 344 页 | 3.04 MB | 1 年前3
OpenShift Container Platform 4.6 分布式追踪值 值 默 默认值 认值 es: bulk: actions: 在批量处理器决定向磁盘 提交更新前可添加到队列 的请求数。 1000 es: bulk: flush-interval: 提交批量 提交批量请 请求的 求的时间 时间. 要禁用批量处理器清除间 隔,请将其设置为零。 200ms es: bulk: size: 在批量处理器决定提交更 在批量处理器决定提交更 新之前,批量请求可以处 理的字节数。 5000000 es: bulk: workers: 可以接收并将批量请求提 交 Elasticsearch 的 worker 数量。 1 表 表 3.12. ES TLS 配置参数 配置参数 参数 参数 描述 描述 值 值 默 默认值 认值 es: tls: ca: 用于验证远程服务器的 TLS 证书颁发机构(CA) es-archive: bulk: actions: 在批量处理器决定向磁盘 提交更新前可添加到队列 的请求数。 0 es-archive: bulk: flush-interval: 提交批量 提交批量请 请求的 求的时间 时间. 要禁用批量处理器清除间 隔,请将其设置为零。 0s es-archive: bulk: size: 在批量处理器决定提交更0 码力 | 59 页 | 572.03 KB | 1 年前3
OpenShift Container Platform 4.10 监控cluster-admin 集群角色的用户访问集群,也可以使用在 openshift-user- workload-monitoring 项目中具有 user-workload-monitoring-config-edit 角色的用户访问 集群。 您已创建了 user-workload-monitoring-config ConfigMap 对象。 已安装 OpenShift CLI(oc)。 流程 流程 1 data/config.yaml 下: $ oc apply -f user-workload-monitoring-config.yaml $ oc -n openshift-monitoring edit configmap cluster-monitoring-config apiVersion: v1 kind: ConfigMap metadata: name: cluster-monitoring-config resources: requests: storage: 40Gi $ oc -n openshift-user-workload-monitoring edit configmap user-workload- monitoring-config apiVersion: v1 kind: ConfigMap metadata: name: user0 码力 | 135 页 | 1.58 MB | 1 年前3
OpenShift Container Platform 4.13 虚拟化列表 点 VirtualMachine 旁边的 Options 菜单 选择 Stop,Restart,Pause,Clone,Migrate,Copy SSH command,Edit labels,Edit annotations, 或 Delete。 点 VirtualMachine 进入 VirtualMachine 详情页面。 4.3.1. VirtualMachine 详情页面 元素 元素 描述 描述 操作 操作菜单 点 Actions 菜单,选择 Stop, Restart, Pause, Clone, Migrate, Copy SSH command, Edit labels, Edit annotations, 或 Delete。 概述 概述 标签页 资源使用情况、警报、磁盘和设备 详 详情 情 标签页 VirtualMachine 详情和配置 Metrics 中添加网络接口。 Filter 字段 按接口类型过滤。 搜索字段 根据名称或标签搜索网络接口。 网 网络 络接口 接口表 网络接口列表 点击网络接口 旁边的 Options 菜单来选择 Edit 或 Delete。 4.3.1.5.4. Disk 标签页 标签页 您可以在 Disks 选项卡上管理磁盘。 例 例 4.20. Disk 标签页 标签页 设 设置 置 描述 描述 YAML0 码力 | 393 页 | 4.53 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序projects 列出集群中的所有项目。 使用 Details 选项卡查看项目详情。 如果您有足够的项目权限,可以使用 Project Access 选项卡为项目提供或撤销 administrator、edit 和 view 权限。 OpenShift Container Platform 4.10 构 构建 建应 应用程序 用程序 6 2.1.3. 使用 CLI 创建项目 如果集群管理员允许,您可以创建新项目。 Developer 视角为您的项目提供访问权限 您可以使用 Developer 视角中的 Project 视图来授予或撤销对项目的访问权限。 流程 流程 将用户添加到项目,并为用户提供 Admin、Edit 或 View 访问权限: 1. 在 Developer 视角中,导航到 Project 视图。 2. 在 Project 页面中,选择 Project Access 选项卡。 3. 点击 Add 视角自定义可用的集群角色 项目的用户根据其访问控制分配到集群角色。您可以通过导航到 Project → Project access → Role 来访 问这些集群角色。默认情况下,这些角色为 Admin、Edit 和 View。 要为项目添加或编辑集群角色,您可以自定义集群的 YAML 代码。 流程 流程 自定义项目的不同集群角色: 1. 在 Search 视图中,使用 Resources 下拉列表搜索0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具the supported API versions oc api-versions 第 第 2 章 章 OPENSHIFT CLI (OC) 27 2.7.1.5. oc apply edit-last-applied 编辑资源/对象的最新 last-applied-configuration 注解 用法示例 用法示例 2.7.1.6. oc apply set-last-applied --prune-allowlist=core/v1/ConfigMap # Edit the last-applied-configuration annotations by type/name in YAML oc apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations annotations by file in JSON oc apply edit-last-applied -f deploy.yaml -o json # Set the last-applied-configuration of a resource to match the contents of a file oc apply set-last-applied -f deploy.yaml0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序projects 列出集群中的所有项目。 使用 Details 选项卡查看项目详情。 如果您有足够的项目权限,可以使用 Project Access 选项卡为项目提供或撤销 administrator、edit 和 view 权限。 OpenShift Container Platform 4.9 构 构建 建应 应用程序 用程序 6 2.1.3. 使用 CLI 创建项目 如果集群管理员允许,您可以创建新项目。 Developer 视角为您的项目提供访问权限 您可以使用 Developer 视角中的 Project 视图来授予或撤销对项目的访问权限。 流程 流程 将用户添加到项目,并为用户提供 Admin、Edit 或 View 访问权限: 1. 在 Developer 视角中,导航到 Project 视图。 2. 在 Project 页面中,选择 Project Access 选项卡。 3. 点击 Add 视角自定义可用的集群角色 项目的用户根据其访问控制分配到集群角色。您可以通过导航到 Project → Project access → Role 来访 问这些集群角色。默认情况下,这些角色为 Admin、Edit 和 View。 要为项目添加或编辑集群角色,您可以自定义集群的 YAML 代码。 流程 流程 自定义项目的不同集群角色: 1. 在 Search 视图中,使用 Resources 下拉列表搜索0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具yaml --all --prune-whitelist=core/v1/ConfigMap 第 第 2 章 章 OPENSHIFT CLI (OC) 23 2.5.1.5. oc apply edit-last-applied 编辑资源/对象的最新 last-applied-configuration 注解 用法示例 用法示例 2.5.1.6. oc apply set-last-applied oc attach 附加到正在运行的容器 用法示例 用法示例 # Edit the last-applied-configuration annotations by type/name in YAML oc apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations annotations by file in JSON oc apply edit-last-applied -f deploy.yaml -o json # Set the last-applied-configuration of a resource to match the contents of a file oc apply set-last-applied -f deploy.yaml0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具yaml --all --prune-whitelist=core/v1/ConfigMap 第 第 2 章 章 OPENSHIFT CLI (OC) 23 2.5.1.5. oc apply edit-last-applied 编辑资源/对象的最新 last-applied-configuration 注解 用法示例 用法示例 2.5.1.6. oc apply set-last-applied oc attach 附加到正在运行的容器 用法示例 用法示例 # Edit the last-applied-configuration annotations by type/name in YAML. oc apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations annotations by file in JSON. oc apply edit-last-applied -f deploy.yaml -o json # Set the last-applied-configuration of a resource to match the contents of a file. oc apply set-last-applied -f deploy.yaml0 码力 | 152 页 | 1.24 MB | 1 年前3
共 56 条
- 1
- 2
- 3
- 4
- 5
- 6













