vy commented on issue #2151:
URL:
https://github.com/apache/logging-log4j2/issues/2151#issuecomment-1878659536
@Amya28, are there any particular reasons you choose `KubernetesLookup` over
exporting associated Kubernetes configuration to environment variables and
accessing them using `EnvironmentLookup`, e.g.,
`${env:KUBERNETES_CLUSTER_NAME}`?
I am curious about your use case for following reasons:
* We consider**ed** dropping `KubernetesLookup` in Log4j `3.0.0`
* Using `EnvironmentLookup` helps you avoid any `kubernetes-client`
dependencies
* Judging from my personal experience, injecting K8s config into apps
through env vars is a common industry practice
Hence, I want to understand your rationale for deviating from this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]