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

feat: Create container image of utility tools not avialable in production containers #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrajagopal
Copy link
Contributor

Proposed changes

  • This PR addresses issue 42 to collect data from within the nginx-ingress container
  • Due to security constraints, certain tools such as curl are not included in the release images of nginx-ingress thus requiring a dedicated container with such tools
  • This PR creates such an image (e.g. mrajagopal/f5-utils:latest) that can then be attached to a target container ephemerally for troubleshooting the target container: e.g. kb debug -it nginx-ingress-pod-6dc8b9dbdb-4c9ck --image=mrajagopal/f5-utils:latest --target=nginx-ingress -c f5-debugger-"${RANDOM}"
  • These tools include curl, netcat, iproute2, iperf, bash
  • The Makefile currently creates an image for linux/amd64 systems

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING guide
  • I have proven my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have ensured the README is up to date
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch on my own fork

…tion containers

* The container can then be attached to a target container ephermerally for troubleshooting the target container
* These tools include curl, netcat, iproute2, iperf, bash
* The Makefile currently creates an image for linux/amd64 systems
@mrajagopal mrajagopal requested a review from a team as a code owner November 20, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collect pod specific process information such as ps output, memory etc
1 participant