adjusting replicas does not seem to work
ebartz opened this issue · 3 comments
Hi Simon,
first of all, this project is really awesome! Thanks for putting all this together.
One thing that does not seem to work for me is having more nodes. I thought that it would be done by specifying a number of workers/masters like this:
---
apiVersion: v1
baseDomain: 'example.com'
metadata:
name: 'okd4'
compute:
- hyperthreading: Enabled
name: worker
replicas: 4
controlPlane:
hyperthreading: Enabled
name: master
replicas: 3
networking:
clusterNetworks:
- cidr: 10.128.0.0/14
hostPrefix: 23
networkType: OpenShiftSDN
serviceNetwork:
- 172.30.0.0/16
machineCIDR:
platform:
none: {}
pullSecret: '{"auths":{"none":{"auth": "none"}}}'
sshKey: ssh-rsa AABBCC... Some_Service_User
But that did not do the trick for me. Am I missing something?
Hi @ebartz,
I hope you are doing well! Nice that you also work with OpenShift.
We are dealing with an UPI install here. The number compute replicas is only relevant for IPI installs. It applies to the MCO (Machine Config Operator). We do not have an hcloud integration in the MCO. Please always keep the value to zero for UPI. This does not apply to the control plane.
For scaling of master and worker nodes there is also an extra Terraform variable.
export TF_VAR_replicas_master=3
export TF_VAR_replicas_worker=4