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

feat(kuma-cp) exclude pods that matches labels from injection #1072

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

This PR introduces the capability to exclude individual pods from injection that match the given list of tags.

Use case:
On OpenShift when you use DeploymentConfig instead of Deployment, there is an additional Pod that does not match any Service, which is a requirement for Kuma. Now by default, we are excluding OpenShift Deployer Pods from Kuma injection.

Also, I added more logging to the injector

Documentation

  • Documented in config. We may need a separate site in docs for sidecar injection.

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
@jakubdyszkiewicz jakubdyszkiewicz requested a review from a team as a code owner October 14, 2020 10:14
@jakubdyszkiewicz jakubdyszkiewicz merged commit 016c45a into master Oct 14, 2020
@jakubdyszkiewicz jakubdyszkiewicz deleted the feat/exclude-pods-from-injection branch October 14, 2020 12:07
jakubdyszkiewicz added a commit that referenced this pull request Oct 14, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
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.

None yet

2 participants