berops / claudie

Cloud-agnostic managed Kubernetes
https://docs.claudie.io/
Apache License 2.0
631 stars 40 forks source link

Bug: Claudie doesn't allow nodes from two different AWS provider instances in the same region #1312

Closed bernardhalas closed 6 months ago

bernardhalas commented 7 months ago

Current Behaviour

Currently, Claudie doesn't allow the following configuration:

spec:
  providers:
    - name: aws-team1
      providerType: aws
...
    - name: aws-team2
      providerType: aws
...
  nodePools:
    dynamic:
      - name: control-aws
        providerSpec:
          name: aws-team1
          region: eu-west-1
      - name: compute-aws
        providerSpec:
          name: aws-team2
          region: eu-west-1

Expected Behaviour

Sometimes, the users might want to deploy nodepools in the same region, by two different providers (e.g. for billing, reporting or security issues).

Anything else to note

Currently, I see the options to set provider.alias to e.g.:

References

JKBGIT1 commented 7 months ago

Depends on https://github.com/berops/claudie/issues/1296