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

Kubernetes Lookup fails to get container and image information

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.3
    • Fix Version/s: 2.14.0
    • Component/s: Lookups
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              rgoers Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: