Interface PodUtils<T>
public interface PodUtils<T>
Utility interface to retrieve Pod related information.
- Author:
- Ioannis Canellos
-
Method Summary
-
Method Details
-
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.
-