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

K8S002: allow configuration for 2 replicas #57

Open
adam-rummer-hpe opened this issue Mar 19, 2024 · 1 comment
Open

K8S002: allow configuration for 2 replicas #57

adam-rummer-hpe opened this issue Mar 19, 2024 · 1 comment
Labels
feature-request Request for a new feature

Comments

@adam-rummer-hpe
Copy link

adam-rummer-hpe commented Mar 19, 2024

Use case

There are many applications that use leader election (e.g. controllers) to achieve redundency where there's not much practical benefit to running 3 pods over 2. This is of course different to qorum based HA where minimum 3 pods are appropriate

when running eksup, pods with 2 replicas are erroneously reported as violating K8S002 and therefore are not highly available

Solution/User Experience

some kind of configurable way to override or edit rules for specific workloads would be great, but I appreciate this means introducing a config file and that adds a lot of complication

An ideal solution would allow me to say "workload X should have minimum Y replicas" so that we don't accidentally green light a workload with a single replica

Alternative solutions

The override could also be a cli flag, but I can see this getting very large for large clusters

@adam-rummer-hpe adam-rummer-hpe added feature-request Request for a new feature triage labels Mar 19, 2024
@bryantbiggs
Copy link
Member

I think that makes sense - and would be applicable for other aspects such as #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants