-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bugtool: deprecate flag k8s-mode
#35689
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
bugtool: deprecate flag k8s-mode
#35689
Conversation
bf4f75c
to
791aa47
Compare
/test |
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.
should be good to go once tobias' comments get addressed 🚀
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.
@mhofstetter Nice work!
Historically, the bugtool has support for fetching system information from a Cilium Agent via Kubernetes API. In these cases, the bugtool is running outside of the agent and the flag `k8s-mode=true` is set. Nowadays, Cilium CLI (e.g. `cilium sysdump`) is used to gather information from Cilium running in a K8s cluster. In this case, the bugtool is always running within the agent. Therefore, this commit deprecates the flag `k8s-mode` (and it's related flags `cilium-agent-container-name`, `k8s-namespace` & `k8s-label`). It will be completely removed with Cilium 1.18. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
791aa47
to
638d812
Compare
/test |
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.
Thanks!
Historically, the bugtool has support for fetching system information from a Cilium Agent via Kubernetes API. In these cases, the bugtool is running outside of the agent and the flag
k8s-mode=true
is set.Nowadays, Cilium CLI (e.g.
cilium sysdump
) is used to gather information from Cilium running in a K8s cluster. In this case, the bugtool is always running within the agent.Therefore, this commit deprecates the flag
k8s-mode
(and it's related flagscilium-agent-container-name
,k8s-namespace
&k8s-label
). It will be completely removed with Cilium 1.18.