-
Notifications
You must be signed in to change notification settings - Fork 21
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
Provide tooling for debugging images #18
Comments
Not required but I would consider: |
@rigazilla |
I see the image already contains:
Copying files from a container can be achieved using |
|
We could also provide a little help page that is shown when logging into an interactive shell that tells users how to retrieve information (e.g. |
Good idea! I think a help page will be very useful. |
Some recipes: |
My wishlist:
|
|
Does it dump the routing table ( |
For that, we will use |
more or less :) |
|
|
Standard Java tools like: |
|
-1 for |
I'm afraid the |
Not sure about |
Yes, but you can inspect mount points inside the pod, like mounted volumes etc: Example of
|
How would you inspect java processes, detect deadlocks, or do a memory dump without JMX? |
|
Just learned something new 😁 … yes, you are right! |
You can check whether you can connect to an ip:port by using:
|
Hence, don't think you need |
Also, we should remember that some environment issues with images on Kubernetes/OpenShift can be debugged by launching a pod that contains all the bells and whistles you need, e.g.:
This can be useful to do things like: if I have a pod in the same namespace where I'm running X, can I connect to X? What is the name resolved for Y? I've found this useful in the past. |
For a start. More packages can be added later if required.
This has proven to be a PIA with |
The image is based upon
ubi-minimal
in order to reduce it's footprint. Consequently, the image does not have many of the tools that developers are accustomed to when debugging issues. However, additional packages can be installed at image build time.What packages do we require for the most common debugging tasks?
The text was updated successfully, but these errors were encountered: