-
Notifications
You must be signed in to change notification settings - Fork 296
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
WIP: Integrating the new k8s-metacollector + k8smeta plugin with falco 0.36.2 #598
WIP: Integrating the new k8s-metacollector + k8smeta plugin with falco 0.36.2 #598
Conversation
Signed-off-by: Aldo Lacuku <[email protected]>
The defualt mode to get kubernetes metadata is using the k8s-metacollector and the k8smeta plugin. This commit adds the required helpers and variables to enable the k8s-metacollector by default. Signed-off-by: Aldo Lacuku <[email protected]>
Signed-off-by: Aldo Lacuku <[email protected]>
Signed-off-by: Aldo Lacuku <[email protected]>
Signed-off-by: Aldo Lacuku <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alacuku The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold The PR is only for testing the new |
/close Not more relevant. See #601 |
@alacuku: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
Any specific area of the project related to this PR?
/area falco-chart
What this PR does / why we need it:
This PR updates the
Falco charts
to leverage the new k8s-metacollector and k8smeta plugin.How to deploy:
Check that the pods are in place:
You should have something like (the number of Falco pods will depend on the number of your nodes):
NOTE: The new fields exported by the plugins start with prefix
k8smeta
. The container runtime engines still use the old prefixk8s
. The majority of those fields will return<NA>
. Please update your old fields to match the ones of the plugin.Some implementation details of this PR:
The old
kubernetes
collector has been replaced by thek8smeta
plugin. Thek8s-metacollector
chart has been added as a dependency to theFalco
chart and is enabled by default. TheFalco
andfalcoctl
configurations are updated at deployment time by a custom helper. It does the following:k8smeta
plugin to theload_plugins
list;k8smeta
plugin configuration to theplugins
section;plugin
artifact type to theallowedTypes
in thefalcoctl
configuration;pluigin
OCI references to thefalcoctl
install references.Furthermore, all the resources needed by
Falco
to connect to the k8s api-server has been removed:Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist