Skip to content

Conversation

@minrk
Copy link
Contributor

@minrk minrk commented Mar 28, 2025

via kbatch_namespace_manifests_file setting, submitted via server-side apply using kubernetes.utils.create_from_dict.

allows attaching ResourceQuotas, NetworkPolicies, etc. to kbatch namespaces to limit user impact.

closes #87

minrk added 10 commits March 28, 2025 14:34
allows for ResourceQuotas, NetworkPolicies, etc. to be created prior to job submission
so limits can be enforced.

done with server-side apply, so we don't need to understand what kind of resources they are

Currently still a single limit, not customizable per user.
moves derived settings to cached properties on Settings for easier reload / modification in tests
probably want this if using ResourceQuota
@minrk minrk marked this pull request as ready for review May 2, 2025 11:04
@minrk minrk merged commit 8599f15 into kbatch-dev:main May 2, 2025
6 checks passed
@minrk minrk deleted the ns-resources branch May 2, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support resource quotas for namespaces

1 participant