-
Notifications
You must be signed in to change notification settings - Fork 905
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
update(falco): add container-gvisor and kubernetes-gvisor print options #2288
update(falco): add container-gvisor and kubernetes-gvisor print options #2288
Conversation
Signed-off-by: Luca Guerra <luca@guerra.sh>
/milestone 0.34 |
@jasondellaluce: The provided milestone is not valid for this repository. Milestones in this repository: [ Use 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. |
/milestone 0.34.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: 35c5c0a8aabe8a32a9c66350ae547a2418d7b3d3
|
else if(m_options.print_additional == "k" || m_options.print_additional == "kubernetes") | ||
{ | ||
output_format = "k8s.ns=%k8s.ns.name k8s.pod=%k8s.pod.name container=%container.id"; | ||
replace_container_info = true; | ||
} | ||
else if(m_options.print_additional == "kg" ||m_options.print_additional == "kubernetes-gvisor") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else if(m_options.print_additional == "kg" ||m_options.print_additional == "kubernetes-gvisor") | |
else if(m_options.print_additional == "kg" || m_options.print_additional == "kubernetes-gvisor") |
cfe7880
to
30a3024
Compare
Signed-off-by: Luca Guerra <luca@guerra.sh>
30a3024
to
5949cd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: 8e1a1986b2d157f150b22a6ee2a46bd633f72a1d
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, leogr, LucaGuerra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Luca Guerra luca@guerra.sh
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
When running with gVisor on a host with containers, you probably want to print details with
container-gvisor
, when using kuberneteskubernetes-gvisor
, as they're equivalent tocontainer
andkubernetes
but add information useful for gVisor (currently vtid and vpid, but could be more). These can easily be used by the helm chart as well.Also, remove the previous
if
that was trying to set this automatically. It is cleaner to specifiy the print format explicitly like we currently do with k8s.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: