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

[Action] Refusing workloads from running on Kubernetes #420

Open
1 of 4 tasks
xamebax opened this issue May 19, 2024 · 0 comments
Open
1 of 4 tasks

[Action] Refusing workloads from running on Kubernetes #420

xamebax opened this issue May 19, 2024 · 0 comments

Comments

@xamebax
Copy link
Contributor

xamebax commented May 19, 2024

Description

Running workloads on Kubernetes can give developers the freedom and velocity they need, but that freedom can also give operators a headache.

There are mechanisms like admission webhooks and operators that can enforce human-defined criteria and prevent certain workloads from being deployed to Kubernetes at all. Kyverno is an example of such an operator, but other tools also exist.

This is a vague question that might be worth exploring first before digging in to write a recommendation:

  • what kind of criteria for refusing deploying Pods on Kubernetes can we potentially adopt to increase environmental sustainability? These could be criteria around for example making sure resource requests and/or limits are set, or making sure an HPA object is deployed also, or something completely different.
  • what kind of tools can be used to aid refusal?

Outcome

A preliminary list of ideas that can be made concrete further, outlined in the working document.

To-Do

  • dig into Kubernetes to find out which configuration of Deployments, StatefulSets, HPAs, etc. is often suboptimally set and needlessly increases a cluster's carbon footprint
  • research operators and other mechanisms that can refuse objects being deployed to Kubernetes
  • submit the outline for feedback

Code of Conduct

  • I agree to follow this project's Code of Conduct

Comments

No response

@xamebax xamebax self-assigned this May 19, 2024
@xamebax xamebax moved this to Needs Triage in TAG-Environmental-Sustainability May 20, 2024
@xamebax xamebax changed the title [Tracking] Refusing workloads from running on Kubernetes [Action] Refusing workloads from running on Kubernetes May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant