Interface PodUtils<T>


public interface PodUtils<T>
Utility interface to retrieve Pod related information.
Author:
Ioannis Canellos
  • Method Details

    • currentPod

      Supplier<T> currentPod()
      Returns:
      A supplier of the current Pod. The supplier will hold the current Pod if inside Kubernetes or null, otherwise.
    • isInsideKubernetes

      boolean isInsideKubernetes()
      Returns:
      true if called from within Kubernetes, false otherwise.