You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/06/21 16:30:00 UTC

[jira] [Closed] (LOG4J2-2877) Kubernetes Lookup fails to get container and image information

     [ https://issues.apache.org/jira/browse/LOG4J2-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers closed LOG4J2-2877.
-------------------------------
    Fix Version/s: 2.14.0
       Resolution: Fixed

> Kubernetes Lookup fails to get container and image information
> --------------------------------------------------------------
>
>                 Key: LOG4J2-2877
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2877
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Lookups
>    Affects Versions: 2.13.3
>            Reporter: Ralph Goers
>            Priority: Major
>             Fix For: 2.14.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)