The OpenShift 4 IPI Alibaba variable file can be found at OCP-4.X/vars/install-on-alibaba.yml
. It will configure the deployment playbook at OCP-4.X/deploy-cluster.yml
to perform a cluster installation on Alibaba. In addition to installing a cluster, the playbook can also perform day 2 operations to include deploying three infra nodes and deploying a workload node to isolate workload driver pods from openshift-scale/workloads repo.
Running from the CLI:
$ cp OCP-4.X/inventory.example inventory
$ # Edit inventory and add your expected orchestration host
$ # Edit deployment variables (Ex vi OCP-4.X/vars/install-on-alibaba.yml) or define env variables
$ ansible-playbook -v -i inventory OCP-4.X/deploy-cluster.yml -e platform=alibaba
Documents for initializing can be found here - ocp4_common_env_var.md
Default: default
The name of the Alibaba profile to be set on the orchestration machine for use with the Alibaba aliyun cli and installer.
Default: No default. The Alibaba access key.
Default: https://aliyuncli.alicdn.com/aliyun-cli-linux-3.0.32-amd64.tgz
Alibaba CLI aliyun install binary
Default: No default. The Alibaba secret access key.
Default: No default. The Alibaba region to install on to.
Default: No default. The base domain for the cluster.
Default: No default. The name of the cluster.
Default: 3
The number of master nodes.
Default: 3
The number of worker nodes to install.
Default: ecs.r5.4xlarge
The instance type of the masters.
Default: ecs.g6.2xlarge
The instance type of the worker nodes.
Default: 64
The root volume disk size for the masters.
Default: cloud_essd
The root volume type for the masters.
Default: 0
Default: 64
The root volume size for worker nodes.
Default: cloud_essd
The root volume type for worker nodes.
Default: 0
Default: machine.openshift.io
The prefix used in machinesets. Usually this is machine.openshift.io
however it might be sigs.k8s.io
depending on version installed.
Default: ecs.g6.8xlarge
The instance type for infra nodes.
Default: ecs.g6.4xlarge
The instance type for the workload node.
Default: 64
The root volume size for the infra nodes.
Default: cloud_essd
The root volume type for infra nodes.
Default: 0
Default: 64
The root volume size for the workload node.
Default: cloud_essd
The root volume type for workload node.
Default: 0
Default: 15d
The retention period for the Prometheus server.
Default: alicloud-disk
The storage class for Prometheus server.
Default: 10Gi
The storage size for Prometheus server.
Default: alicloud-disk
The storage class for the alertmanager servers.
Default: 2Gi
Default: false
Toggle the deployment of the OVN SBSB relay.
Default: false
Toggle to patch and replace the default OVN deployment image.
Default: nil
The OVN image that we will use to replace the default, requires OVN_PATCH
to be true
.