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 new annotation krane.shopify.io/skip-endpoint-validation to skip the validation of service endpoints #960

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

jerr
Copy link
Contributor

@jerr jerr commented Aug 4, 2024

Introduce an annotation krane.shopify.io/skip-endpoint-validation to allow the deployment of services without endpoint validation when zero endpoints are expected.

What are you trying to accomplish with this PR?
In certain scenarios, we need to deploy services without any endpoints. Therefore, it is necessary to have a mechanism to bypass endpoint validation when zero endpoints are expected.

For instance, consider a Service associated with DaemonSet pods. If this DaemonSet is intended for a specific type of node that is not yet available, it is expected that there will be no pods from this DaemonSet, and consequently, no endpoints for the Service.

How is this accomplished?
The proposed change involves adding a new annotation krane.shopify.io/skip-endpoint-validation to bypass the validation of service endpoints.

What could go wrong?
The change is a minor improvement, and no significant risks have been identified.

@jerr jerr marked this pull request as ready for review August 6, 2024 12:37
@jerr jerr merged commit 6beb0c1 into main Aug 6, 2024
81 checks passed
@jerr jerr mentioned this pull request Aug 6, 2024
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.

3 participants