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 KUBERNETES_SERVICE_HOST #562

Merged
merged 1 commit into from Mar 14, 2019

Conversation

Projects
None yet
2 participants
@prsimoes
Copy link
Contributor

commented Mar 13, 2019

When using host network, the containers can't resolve kubernetes.default, thus not getting the metadata like pod name, namespace, etc. Using the environment variable KUBERNETES_SERVICE_HOST, which points to the current cluster API server, will allow that.

Add KUBERNETES_SERVICE_HOST
When using host network, the containers can't resolve kubernetes.default, thus not getting the metadata like pod name, namespace, etc. Using the environment variable KUBERNETES_SERVICE_HOST, which points to the current cluster API server, will allow that.

@mstemm mstemm self-requested a review Mar 14, 2019

@mstemm

mstemm approved these changes Mar 14, 2019

Copy link
Contributor

left a comment

Thanks so much for the changes!

@mstemm mstemm merged commit 3d96ca5 into falcosecurity:dev Mar 14, 2019

1 check passed

Travis CI - Pull Request Build Passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.