Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Hybrid worker nodes #285

Open
2 tasks done
gojeaqui opened this issue Nov 8, 2023 · 1 comment
Open
2 tasks done

Allow Hybrid worker nodes #285

gojeaqui opened this issue Nov 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@gojeaqui
Copy link
Contributor

gojeaqui commented Nov 8, 2023

Feature description

Hello,

I would like to propose the option to have a second group of worker nodes with the ability to specify a different vendor and different network_config settings.

The use case is (for example) we have a cluster with bare metal worker nodes who have bonding in their interfaces and can be configured using BMC.
But we also have virtual infra nodes who have only one interface and are VMWare pre provissioned VMs which we will use vendor: PXE

Something like this:

      children:
        masters:
          vars:
            role: master
            vendor: PXE

        workers:
          vars:
            role: worker
            vendor: PXE

        workers2:
          vars:
            role: worker
            vendor: Dell # This example uses baremetal worker nodes

Required statements

  • I acknowledge that Red Hat does not provide commercial support for the content of this repository.
  • I acknowledge that any assistance is offered purely on a best-effort basis, as resource permits.
@gojeaqui gojeaqui added the enhancement New feature or request label Nov 8, 2023
@nocturnalastro
Copy link
Collaborator

nocturnalastro commented Nov 9, 2023

You can have sub groups under workers ansible should handle that fine. e.g.

children:
    masters:
        vars:
            role: master
            vendor: PXE
        hosts: 
           ...
    workers:
        vars:
            role: worker
        children:
            infra_workers:
                vars: 
                    vendor: PXE
                hosts: 
                    worker1:
                        ...
            metal_workers:
                vars: 
                    vendor: Dell
                hosts:
                    worker2:
                        ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants