projectcontour / contour

Contour is a Kubernetes ingress controller using Envoy proxy.
https://projectcontour.io
Apache License 2.0
3.72k stars 678 forks source link

Provide debug variants of contour container images #2789

Closed mkilchhofer closed 1 month ago

mkilchhofer commented 4 years ago

Please describe the problem you have As already mentioned (https://github.com/projectcontour/contour/issues/2050#issuecomment-672570646) it would be nice, if you build debug variants of your container images containing debug tools like busybox or another minimal linux distro. This would help people troubleshoot (eg. look at the configs in the empty dir, curl the envoy healthcheck API, etc.)

For inspiration, look at the guys behind fluent-bit:

Update: We only need to talk about the contour container images. Envoy images seems to be ubuntu based.

jpeach commented 4 years ago

Would ephemeral debug containers address similar use cases?

youngnick commented 4 years ago

I think they will, but these will help for those people who don't have an up-to-date cluster, or don't want to use an alpha feature yet.

mkilchhofer commented 4 years ago

I think they will, but these will help for those people who don't have an up-to-date cluster, or don't want to use an alpha feature yet.

Yes, exactly. There is a sentence on this page which says:

Note: The examples in this section require the EphemeralContainers feature gate enabled in your cluster and kubectl version v1.18 or later.

We can't expect that everyone has up-to-date clusters with alpha features enabled :)

mkilchhofer commented 1 month ago

Closing my issue as ephemeral debug container are GA since K8s 1.25.