Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

ha-experimental has two deployments #291

Closed
zfrhv opened this issue May 30, 2023 · 3 comments
Closed

ha-experimental has two deployments #291

zfrhv opened this issue May 30, 2023 · 3 comments

Comments

@zfrhv
Copy link
Contributor

zfrhv commented May 30, 2023

when applying ha-experimental.yaml there are two deployments,

  • one is single controller
  • and other is ha controller with 3 replicas

total is 4 controller pods

is that on purpose or by accident?

@erikgb
Copy link
Contributor

erikgb commented May 30, 2023

Yes I think so. At present the reconciler in HNC does not support leader election, so that is the single pod deployment. The deployment with 3 pods is to serve the webhooks - which is the most critical part of HNC (or any Kubernetes controller). But especially HNC, since one webhook is configured to match ALL namespaced resources.

@erikgb
Copy link
Contributor

erikgb commented May 30, 2023

I am working on improving the "god" webhook configuration in #285.

@zfrhv
Copy link
Contributor Author

zfrhv commented May 30, 2023

i see
thank you

@zfrhv zfrhv closed this as completed May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants