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

sysdump: collect resources & logs of Cilium SPIRE installation #1738

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

mhofstetter
Copy link
Member

This PR adds resources & logs of the Cilium SPIRE installation (mutual authentication) to the Cilium CLI SysDump.

  • Logs of agent & server
  • DaemonSet of agent
  • StatefulSet of server
  • ConfigMaps of agent & server

By default, SPIRE gets installed into the namespace cilium-spire during the installation of Cilium. Therefore, it was necessary to add an additional "namespace detection". The detection defaults to the Cilium namespace in case of a failure.

Collects the logs of the SPIRE agent & server Pods during sysdump.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
Collects SPIRE server StatefulSet & SPIRE agent DaemonSet during
sysdump.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
Collects the configurations of the SPIRE agent & server during sysdump.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added kind/enhancement This would improve or streamline existing functionality. area/sysdump labels Jun 20, 2023
@mhofstetter mhofstetter requested review from a team as code owners June 20, 2023 13:58
@mhofstetter mhofstetter temporarily deployed to ci June 20, 2023 13:58 — with GitHub Actions Inactive
Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I have checked out this pr and use for my local testing 👍

@michi-covalent michi-covalent merged commit b02c62f into cilium:main Jun 20, 2023
19 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/spire-logs branch June 20, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysdump kind/enhancement This would improve or streamline existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants