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 currentPod Pod. The supplier will hold the currentPod Pod if inside Kubernetes or false, otherwise.
    • isInsideKubernetes

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