 OpenShift Container Platform 4.4 安装Operator 传递至运行的 OpenShift Container Platform 节点的 MachineConfig。 以下小节描述了您可能需要以这种方式在节点中配置的功能。 3.2.1. 添加 day-1 内核参数 虽然修改内核参数通常应做为第 2 天的任务,但您可能希望在初始集群安装过程中将内核参数添加到所有 master 节点或 worker 节点中。下面是一些您可能需要在集群安装过程中添加内核参数以在系统第一次引 内核模块 根据 OpenShift Container Platform 集群首次引导时是否必须存在内核模块,您可以通过以下两种方式之 一设置内核模块部署: 在集群安装 在集群安装时 时( (day-1)置 )置备 备内核模 内核模块 块:您可以通过一个 MachineConfig 创建内容,并通过包括 一组清单文件来将其提供给 openshift-install。 通 通过 过 Machine0 码力 | 40 页 | 468.04 KB | 1 年前3 OpenShift Container Platform 4.4 安装Operator 传递至运行的 OpenShift Container Platform 节点的 MachineConfig。 以下小节描述了您可能需要以这种方式在节点中配置的功能。 3.2.1. 添加 day-1 内核参数 虽然修改内核参数通常应做为第 2 天的任务,但您可能希望在初始集群安装过程中将内核参数添加到所有 master 节点或 worker 节点中。下面是一些您可能需要在集群安装过程中添加内核参数以在系统第一次引 内核模块 根据 OpenShift Container Platform 集群首次引导时是否必须存在内核模块,您可以通过以下两种方式之 一设置内核模块部署: 在集群安装 在集群安装时 时( (day-1)置 )置备 备内核模 内核模块 块:您可以通过一个 MachineConfig 创建内容,并通过包括 一组清单文件来将其提供给 openshift-install。 通 通过 过 Machine0 码力 | 40 页 | 468.04 KB | 1 年前3
 OpenShift Container Platform 4.7 安装OpenShift Container Platform 的 Telemetry 访问 16.1.18. 后续步骤 第 第 17 章 章 安装配置 安装配置 17.1. 自定义节点 17.1.1. 添加 day-1 内核参数 17.1.2. 在节点中添加内核模块 17.1.2.1. 构建并测试内核模块容器 17.1.2.2. 为 OpenShift Container Platform 置备内核模块 --disk-container "file:// OpenShift Container Platform 4.7 安装OpenShift Container Platform 的 Telemetry 访问 16.1.18. 后续步骤 第 第 17 章 章 安装配置 安装配置 17.1. 自定义节点 17.1.1. 添加 day-1 内核参数 17.1.2. 在节点中添加内核模块 17.1.2.1. 构建并测试内核模块容器 17.1.2.2. 为 OpenShift Container Platform 置备内核模块 --disk-container "file://- /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": bootstrap 节点,以便在 OpenShift Container Platform 集群初始化过程中使用。 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": 0 码力 | 2276 页 | 23.68 MB | 1 年前3
 OpenShift Container Platform 4.8 安装--disk-container "file:// OpenShift Container Platform 4.8 安装--disk-container "file://- /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": 虚拟机可能无法引导集群节点,这会阻止虚拟机使用 RHCOS 镜像置备节点。这 可能是因为以下原因: https://libvirt.org Main PID: 9850 (libvirtd) Tasks: 20 (limit: 32768) Memory: 74.8M CGroup: /system.slice/libvirtd.service ├─ 9850 /usr/sbin/libvirtd 0 码力 | 2586 页 | 27.37 MB | 1 年前3
 OpenShift Container Platform 4.10 安装--disk-container "file:// OpenShift Container Platform 4.10 安装--disk-container "file://- /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": 0 码力 | 3142 页 | 33.42 MB | 1 年前3
 OpenShift Container Platform 4.14 安装--disk-container "file:// OpenShift Container Platform 4.14 安装--disk-container "file://- /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} OpenShift Container Platform 4.14 安装 安装 428 1 2 3 4 复制 SnapshotId --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": 0 码力 | 3881 页 | 39.03 MB | 1 年前3
 OpenShift Container Platform 4.13 安装--disk-container "file:// OpenShift Container Platform 4.13 安装--disk-container "file://- /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": --disk-container "file:// - /containers.json" 2 $ watch -n 5 aws ec2 describe-import-snapshot-tasks --region ${AWS_DEFAULT_REGION} { "ImportSnapshotTasks": [ { "Description": 0 码力 | 4634 页 | 43.96 MB | 1 年前3
 OpenShift Container Platform 4.13 虚拟化CLUSTER-NETWORK-ADDONS-OPERATOR 2.5. 关于 HOSTPATH-PROVISIONER-OPERATOR 2.6. 关于 SSP-OPERATOR 2.7. 关于 TEKTON-TASKS-OPERATOR 2.8. 关于 VIRT-OPERATOR 第 第 3 章 章 OPENSHIFT VIRTUALIZATION 入 入门 门 3.1. 规划和安装 OPENSHIFT VIRTUALIZATION cdi-operator Network: cluster-network-addons-operator Scaling: ssp-operator Templating: tekton-tasks-operator OLM 还会部署 hyperconverged-cluster-operator pod,它负责其他组件的部署、配置和生命周期,以 及几个 helper pod: hco-webhook 拒绝它们。 2.7. 关于 TEKTON-TASKS-OPERATOR tekton-tasks-operator 部署示例管道,显示 OpenShift Pipelines 用于虚拟机的情况。它还部署额外的 OpenShift Pipeline 任务,允许用户从模板创建虚拟机、复制和修改模板,以及创建数据卷。 表 表 2.6. tekton-tasks-operator components0 码力 | 393 页 | 4.53 MB | 1 年前3 OpenShift Container Platform 4.13 虚拟化CLUSTER-NETWORK-ADDONS-OPERATOR 2.5. 关于 HOSTPATH-PROVISIONER-OPERATOR 2.6. 关于 SSP-OPERATOR 2.7. 关于 TEKTON-TASKS-OPERATOR 2.8. 关于 VIRT-OPERATOR 第 第 3 章 章 OPENSHIFT VIRTUALIZATION 入 入门 门 3.1. 规划和安装 OPENSHIFT VIRTUALIZATION cdi-operator Network: cluster-network-addons-operator Scaling: ssp-operator Templating: tekton-tasks-operator OLM 还会部署 hyperconverged-cluster-operator pod,它负责其他组件的部署、配置和生命周期,以 及几个 helper pod: hco-webhook 拒绝它们。 2.7. 关于 TEKTON-TASKS-OPERATOR tekton-tasks-operator 部署示例管道,显示 OpenShift Pipelines 用于虚拟机的情况。它还部署额外的 OpenShift Pipeline 任务,允许用户从模板创建虚拟机、复制和修改模板,以及创建数据卷。 表 表 2.6. tekton-tasks-operator components0 码力 | 393 页 | 4.53 MB | 1 年前3
 OpenShift Container Platform 3.11 扩展和性能指南$HOME/ansible/facts fact_caching_timeout = 600 log_path = $HOME/ansible.log nocows = 1 callback_whitelist = profile_tasks [privilege_escalation] become = False [ssh_connection] ssh_args = -o ControlMaster=auto -o ControlPersist=600s 8595c317d294f2c8e448b5e61a29c026d1c.scope # for i in `ls cpuset.cpus tasks` ; do echo -n "$i "; cat $i ; done cpuset.cpus 2 tasks 44216 # grep ^Cpus_allowed_list /proc/44216/status Cpus_allowed_list:0 码力 | 58 页 | 732.06 KB | 1 年前3 OpenShift Container Platform 3.11 扩展和性能指南$HOME/ansible/facts fact_caching_timeout = 600 log_path = $HOME/ansible.log nocows = 1 callback_whitelist = profile_tasks [privilege_escalation] become = False [ssh_connection] ssh_args = -o ControlMaster=auto -o ControlPersist=600s 8595c317d294f2c8e448b5e61a29c026d1c.scope # for i in `ls cpuset.cpus tasks` ; do echo -n "$i "; cat $i ; done cpuset.cpus 2 tasks 44216 # grep ^Cpus_allowed_list /proc/44216/status Cpus_allowed_list:0 码力 | 58 页 | 732.06 KB | 1 年前3
 OpenShift Container Platform 4.2
Service Mesh 的安装、使用和发行注记信息加或删除任务时都需要更新副本。 正确的示例 正确的示例: Tasks to complete: Create a serverless application; Connect an event source; Force a new revision 不正确的示例 不正确的示例: You will complete these 3 tasks: Creating a serverless application;0 码力 | 44 页 | 651.51 KB | 1 年前3 OpenShift Container Platform 4.2
Service Mesh 的安装、使用和发行注记信息加或删除任务时都需要更新副本。 正确的示例 正确的示例: Tasks to complete: Create a serverless application; Connect an event source; Force a new revision 不正确的示例 不正确的示例: You will complete these 3 tasks: Creating a serverless application;0 码力 | 44 页 | 651.51 KB | 1 年前3
 OpenShift Container Platform 4.14 OperatorOperator 项目,以提供协调逻辑,其格式为 Ansible 角色,它在每次创建、更新或删除 Memcached 资源时运行。 流程 流程 1. 用下列结构更新 roles/memcached/tasks/main.yml 文件: $ operator-sdk create api \ --group cache \ --version v1 \ --kind Memcached 注意 本教程使用 HTTP_PROXY 作为示例环境变量。 先决条件 先决条件 启用了集群范围的出口代理的集群。 流程 流程 1. 通过使用以下内容更新 roles/memcached/tasks/main.yml 文件,将环境变量添加到部署中: 2. 通过在 config/manager/manager.yaml 文件中添加以下内容来设置 Operator 部署上的环境变 量: 5 Collection for Ansible 流程 流程 1. 在基于 Ansible 的 Operator 项目目录中,使用您想要的 Ansible 逻辑来修改 roles/ OpenShift Container Platform 4.14 OperatorOperator 项目,以提供协调逻辑,其格式为 Ansible 角色,它在每次创建、更新或删除 Memcached 资源时运行。 流程 流程 1. 用下列结构更新 roles/memcached/tasks/main.yml 文件: $ operator-sdk create api \ --group cache \ --version v1 \ --kind Memcached 注意 本教程使用 HTTP_PROXY 作为示例环境变量。 先决条件 先决条件 启用了集群范围的出口代理的集群。 流程 流程 1. 通过使用以下内容更新 roles/memcached/tasks/main.yml 文件,将环境变量添加到部署中: 2. 通过在 config/manager/manager.yaml 文件中添加以下内容来设置 Operator 部署上的环境变 量: 5 Collection for Ansible 流程 流程 1. 在基于 Ansible 的 Operator 项目目录中,使用您想要的 Ansible 逻辑来修改 roles/- /tasks/main.yml 文件。在创建 API 时,当使用 --generate-role 标志时,会创建 roles/ - / 目录。 - 可替换与您为 API 指定的类型匹配。 以下示例根据名为 0 码力 | 423 页 | 4.26 MB | 1 年前3
共 17 条
- 1
- 2













