11.6. 更新 director Operator 上的所有 Compute 节点
将所有 Compute 节点更新至最新的 Red Hat OpenStack Platform (RHOSP) 16.2 版本。要更新 Compute 节点,请使用 limit: Compute 选项运行部署,以仅限制对 Compute 节点的操作。
流程
创建名为
osdeploy-controller-update.yaml的osdeploy作业:$ cat <<EOF > osdeploy-compute-update.yaml apiVersion: osp-director.openstack.org/v1beta1 kind: OpenStackDeploy metadata: name: compute-update spec: configVersion: <config_version> configGenerator: update mode: update advancedSettings: limit: Compute EOF应用配置:
$ oc apply -f osdeploy-compute-update.yaml- 等待 Compute 节点更新完成。