Installing a three-node cluster on GCP
You can install a three-node cluster using either installer-provisioned or user-provisioned infrastructure.
You configure a three-node cluster by setting the number of worker nodes to in the install-config.yaml
file before deploying the cluster. Setting the number of worker nodes to 0
ensures that the control plane machines are schedulable. This allows application workloads to be scheduled to run from the control plane nodes.
- You have an existing
install-config.yaml
file.
Procedure
Set the number of compute replicas to
0
in yourinstall-config.yaml
file, as shown in the followingcompute
stanza:If you are deploying a cluster with user-provisioned infrastructure:
Do not create additional worker nodes.
Example cluster-scheduler-02-config.yml
file for a three-node cluster
apiVersion: config.openshift.io/v1
kind: Scheduler
creationTimestamp: null
spec:
mastersSchedulable: true
policy:
name: ""