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

fix(api): define default toleration in Kepler CRD #273

Merged

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented Oct 11, 2023

Previously, kubectl get kepler -o wide did not show the default toleration applied viz. {"operator": "Exists"}

This PR fixes it by moving the default toleration to the CRD spec itself

Fixes: #186

@sthaha sthaha requested a review from vimalk78 October 11, 2023 05:52
@sthaha sthaha force-pushed the fix-toleration-default branch from e4a8f35 to 4f13d37 Compare October 11, 2023 06:04
vimalk78
vimalk78 previously approved these changes Oct 11, 2023
Copy link
Collaborator

@vimalk78 vimalk78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Previously, `kubectl get kepler -o wide` did not show the default
toleration applied viz. {"operator": "Exists"}

This PR fixes it by moving the default toleration to the CRD spec itself

Fixes: sustainable-computing-io#186

Signed-off-by: Sunil Thaha <sthaha@redhat.com>
Copy link
Collaborator

@vimalk78 vimalk78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vimalk78 vimalk78 merged commit 6da304a into sustainable-computing-io:v1alpha1 Oct 11, 2023
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.

kubectl get kepler should print default tolerations as well
2 participants