Class KubernetesSystem
- java.lang.Object
-
- io.helidon.service.configuration.api.System
-
- io.helidon.service.configuration.kubernetes.KubernetesSystem
-
@Deprecated public final class KubernetesSystem extends System
Deprecated.This class is slated for removal.A non-authoritativeSystem
implementation that is enabled when running on any of several possible Kubernetes systems.- See Also:
isEnabled()
, Kubernetes
-
-
Constructor Summary
Constructors Constructor Description KubernetesSystem()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isEnabled()
Deprecated.Returnstrue
if there is a file named/proc/1/cpuset
that contains at least one line starting with/kubepods/
.-
Methods inherited from class io.helidon.service.configuration.api.System
equals, getenv, getName, getProperties, getSystems, hashCode, isAuthoritative
-
-
-
-
Constructor Detail
-
KubernetesSystem
public KubernetesSystem()
Deprecated.- See Also:
System(String, boolean)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Deprecated.Returnstrue
if there is a file named/proc/1/cpuset
that contains at least one line starting with/kubepods/
.- Specified by:
isEnabled
in classSystem
- Returns:
true
if the caller is running on any of several possible Kubernetes systems;false
otherwise- See Also:
System.isEnabled()
, Kubernetes
-
-