OpenShift Container Platform 4.6 在vSphere 上安装
先决条件 获取 OpenShift Container Platform 安装程序以及集群的 pull secret。 流程 1. 更改为包含安装程序的目录并初始化集群部署: 对于 <installation_directory>,请指定用于保存安装程序所创建的文件的目录名称。 要查看不同的安装详情,请指定 warn、debug 或 error,而不要指定 info。 重要 重要 指定一个空目录。一些安装信息,如 /etc/pki/ca-trust/source/anchors # update-ca-trust extract $ ./openshift-install create cluster --dir <installation_directory> \ 1 --log-level=info 2 OpenShift Container Platform 4.6 在 在 vSphere 上安装 上安装 18 password: "4vYBz-Ee6gm-ymBZj-Wt5AL" INFO Time elapsed: 36m22s + 注意 注意 当安装成功时,集群访问和凭证信息还会输出到 <installation_directory>/.openshift_install.log。 + 重要 重要 第 第 1 章 章 在 在 VSPHERE 上安装 上安装 19 重要 重要 安装程序生成的0 码力 | 204 页 | 2.26 MB | 1 年前3OpenShift Container Platform 4.7 安装
Cloud Credential Operator(CCO)放入手动模 式。 流程 流程 1. 切换到包含安装程序的目录并创建 install-config.yaml 文件: 其中 <installation_directory> 是安装程序在其中创建文件的目录。 2. 编辑 install-config.yaml 配置文件,把其中的 credentialsMode 参数设置为Manual。 二进制文件要使用的 OpenShift Container Platform 发行镜像详情: $ openshift-install create install-config --dir <installation_directory> apiVersion: v1 baseDomain: cluster1.example.com credentialsMode: Manual 1 compute: architecture: amd64 hyperthreading: Enabled ... $ openshift-install create manifests --dir <installation_directory> 第 第 4 章 章 在 在 AWS 上安装 上安装 91 输出示例 出示例 5. 针对您要部署到的云,找到此发行版本镜像中的所有 CredentialsRequests0 码力 | 2276 页 | 23.68 MB | 1 年前3OpenShift Container Platform 4.8 安装
OpenShift Container Platform 4.8 安装 安装 50 1 1. 切换到包含安装程序的目录并创建 install-config.yaml 文件: 其中 <installation_directory> 是安装程序在其中创建文件的目录。 2. 编辑 install-config.yaml 配置文件,把其中的 credentialsMode 参数设置为Manual。 对象创建一个 YAML 文件。 CredentialsRequest 对象示例 象示例 $ openshift-install create install-config --dir <installation_directory> apiVersion: v1 baseDomain: cluster1.example.com credentialsMode: Manual 1 compute: architecture: amd64 hyperthreading: Enabled ... $ openshift-install create manifests --dir <installation_directory> $ openshift-install version release image quay.io/openshift-release-dev/ocp-release:40 码力 | 2586 页 | 27.37 MB | 1 年前3OpenShift Container Platform 4.10 安装
进入包含安装程序的目录并运行以下命令: 对于 <installation_directory>,请指定要存储安装程序创建的文件的目录名称。 重要 重要 $ tar -xvf openshift-install-linux.tar.gz $ ./openshift-install create install-config --dir <installation_directory> 1 OpenShift hyperthreading: Enabled ... 第 第 4 章 章 在 在 ALIBABA 上安装 上安装 75 1 流程 流程 1. 从包含安装程序的目录中运行以下命令来生成清单: 其中: <installation_directory> 指定安装程序在其中创建文件的目录。 4.3.7. 使用 ccoctl 工具为 OpenShift Container Platform 组件创建凭证 您可以使用 对象列表的目录。如果该目录不存在,此命令 就会创建该目录。 注意 注意 运行此命令可能需要一些时间。 $ openshift-install create manifests --dir <installation_directory> $ RELEASE_IMAGE=$(./openshift-install version | awk '/release image/ {print $3}')0 码力 | 3142 页 | 33.42 MB | 1 年前3OpenShift Container Platform 4.14 安装
Platform 安装程序和集群的 pull secret。 流程 流程 1. 创建 install-config.yaml 文件。 a. 进入包含安装程序的目录并运行以下命令: 对于 <installation_directory>,请指定要存储安装程序创建的文件的目录名称。 在指定目录时: 验证该目录是否具有执 执行 行权限。在安装目录中运行 Terraform 二进制文件需要这个权 限。 $ tar -xvf openshift-install-linux.tar.gz $ ./openshift-install create install-config --dir <installation_directory> 1 OpenShift Container Platform 4.14 安装 安装 96 1 使用空目录。有些安装资产,如 bootstrap X.509 证书的过期间隔较短,因此不得重复使 1 2 您必须生成 Kubernetes 清单和 Ignition 配置文件,集群需要配置机器。 流程 流程 1. 从包含安装程序的目录中运行以下命令来生成清单: 其中: <installation_directory> 指定安装程序在其中创建文件的目录。 5.3.7. 使用 ccoctl 工具为 OpenShift Container Platform 组件创建凭证 您可以使用0 码力 | 3881 页 | 39.03 MB | 1 年前3OpenShift Container Platform 4.13 安装
pull secret。 在订阅级别获取服务主体权限。 流程 流程 1. 创建 install-config.yaml 文件。 a. 进入包含安装程序的目录并运行以下命令: 对于 <installation_directory>,请指定要存储安装程序创建的文件的目录名称。 在指定目录时: 验证该目录是否具有执 执行 行权限。在安装目录中运行 Terraform 二进制文件需要这个权 限。 $ tar -xvf openshift-install-linux.tar.gz $ ./openshift-install create install-config --dir <installation_directory> 1 第 第 5 章 章 在 在 ALIBABA 上安装 上安装 95 1 注意 注意 始终删除 ~/.powervs 目录,以避免重复使用过时的配置。运行以下命令: Enabled ... OpenShift Container Platform 4.13 安装 安装 96 1 1. 从包含安装程序的目录中运行以下命令来生成清单: 其中: <installation_directory> 指定安装程序在其中创建文件的目录。 5.3.7. 使用 ccoctl 工具为 OpenShift Container Platform 组件创建凭证 您可以使用0 码力 | 4634 页 | 43.96 MB | 1 年前3OpenShift Container Platform 4.6 在裸机上安装
改变。从 OpenShift Container Platform 老版本中复制安装文件时要格外小心。 2. 自定义以下 install-config.yaml 文件模板,并将它保存到 <installation_directory> 中。 注意 注意 此配置文件必须命名为 install-config.yaml。 3. 备份 install-config.yaml 文件,以便用于安装多个集群。 文件来提供关于平台的更多信息。 注意 注意 安装之后,您无法修改 install-config.yaml 文件中的这些参数。 $ echo $PATH $ oc$ mkdir <installation_directory> OpenShift Container Platform 4.6 在裸机上安装 在裸机上安装 16 重要 重要 openshift-install 命令不验 Kubernetes 清单: 对于 <installation_directory>,请指定含有您创建的 install-config.yaml 文件的安装目 录。 compute: - name: worker platform: {} replicas: 0 $ ./openshift-install create manifests --dir <installation_directory> 1 0 码力 | 160 页 | 1.70 MB | 1 年前3OpenShift Container Platform 4.4 安装
机器获取安装日志的命令: 如果使用了安装程序置备的基础架构,请运行以下命令: $ ./openshift-install gather bootstrap --dir=<installation_directory> 1 installation_directory 是您在运行 ./openshift-install create cluster 时指定的目录。 这个目录包括了安装程序所创建的 OpenShift 的信息,因此您不用指定主机名或 IP 地址。 如果使用了您置备的基础架构,请运行以下命令: $ ./openshift-install gather bootstrap --dir=<installation_directory> \ 1 --bootstrap\ 2 --master \ 3 \ 4 --master " 5 第 第 1 章 章 收集安装日志 收集安装日志 3 1 2 3 4 5 对于 installation_directory,请指定在运行 ./openshift-install create cluster 时指定 的同一目录。这个目录包括了安装程序所创建的 OpenShift Container 0 码力 | 40 页 | 468.04 KB | 1 年前3OpenShift Container Platform 4.6 网络
Container Platform 网络自定义的安 装文档。 流程 流程 1. 进入包含安装程序的目录并创建清单: 其中: <installation_directory> 指定包含集群的 install-config.yaml 文件的目录名称。 2. 在 <installation_directory>/manifests/ 目录下,为高级网络配置创建一个名为 cluster- $ oc annotate $ ./openshift-install create manifests --dir <installation_directory> 第 第 14 章 章 OVN-KUBERNETES 默 默认 认 CNI 网 网络 络供 供应 应商 商 195 1 2 2. 在 <installation_directory>/manifests/ 目录下,为高级网络配置创建一个名为 cluster- cluster- network-03-config.yml 的 stub 清单文件: 其中: <installation_directory> 指定包含集群的 manifests/ 目录的目录名称。 3. 在编辑器中打开 cluster-network-03-config.yml 文件,并使用混合网络配置 OVN- Kubernetes,如下例所示: 指定混合网 指定混合网络 络配置 配置0 码力 | 256 页 | 2.78 MB | 1 年前3OpenShift Container Platform 4.14 发行注记
with SiteConfig and GitOps ZTP, Generating GitOps ZTP installation and configuration CRs manually , 和 single-node OpenShift SiteConfig CR installation reference。 1.3.21.12. 支持微 支持微调 调 etcd 延 延迟 迟容 容错 错(技 user input level=debug msg=Host master-1 Expected the host to boot from disk, but it booted the installation image - please reboot and fix boot order to boot from disk QEMU_HARDDISK drive-scsi0-0-0-0 (sda 0-scsi-0:0:0:0) level=debug msg=Host master-2 Expected the host to boot from disk, but it booted the installation image - please reboot and fix boot order to boot from disk QEMU_HARDDISK drive-scsi0-0-0-0 (sda0 码力 | 73 页 | 893.33 KB | 1 年前3
共 31 条
- 1
- 2
- 3
- 4