redhat-performance / JetSki

Deployment Automation for OpenShift on Baremetal in Red Hat's Shared Labs
Apache License 2.0
21 stars 29 forks source link

Support for compact cluster installation #219

Closed josecastillolema closed 2 years ago

josecastillolema commented 2 years ago

Description

Support for compact cluster deployments. The number of workers (worker_count) must be set to 0.

Fixes # (issue)

Type of change

Please select the appropriate options:

Testing

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist

dustinblack commented 2 years ago

As I'm refreshing my memory, I thought that JetSki already allowed for deployments with zero worker nodes. We even default the worker count to 0:

https://github.com/redhat-performance/JetSki/blob/ab0bba1094226119fca1f7feb4bdc3b73d6c67e9/ansible-ipi-install/group_vars/all.yml#L44

IIRC the OpenShift installer automatically sets the masters/controllers as schedulable if there are no workers. Do you have a case where this isn't true and the manifest from this PR is explicitly required?

josecastillolema commented 2 years ago

I was not aware that JetSki already allowed for deployments with 0 workers (and that the installer would automatically set the masters/controllers as schedulable). Dropping this PR.