Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2877

Kubernetes Lookup fails to get container and image information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.3
    • 2.14.0
    • Lookups
    • None

    Description

      The KubernetesLookup compares the container name against the app name in the Kubernetes spec to determine if it has the correct container. This won't work when there are multiple containers or when the app name doesn't match the container name.  If there is only a single container in the pod it must be the correct container. If there are multiple containers then the container id of the current container must be determined and used to get the appropriate container information from Kubernetes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: