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

Add taint and tolerate #326

Open
jacobtomlinson opened this issue Mar 11, 2024 · 0 comments
Open

Add taint and tolerate #326

jacobtomlinson opened this issue Mar 11, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jacobtomlinson
Copy link
Member

Which project are you requesting an enhancement for?

kr8s

What do you need?

It would be useful to easily set taints and tolerations on resources.

from kr8s.objects import Node, Pod

node = Node.get("k8s-node-1")
node.taint("key1", "value1", effect="NoSchedule")

pod = Pod.get("my-pod")
pod.tolerate("key1", operator="Exists", effect="NoSchedule")
@jacobtomlinson jacobtomlinson added enhancement New feature or request help wanted Extra attention is needed labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant