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-authoritativeSystemimplementation 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 booleanisEnabled()Deprecated.Returnstrueif there is a file named/proc/1/cpusetthat 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.Returnstrueif there is a file named/proc/1/cpusetthat contains at least one line starting with/kubepods/.- Specified by:
isEnabledin classSystem- Returns:
trueif the caller is running on any of several possible Kubernetes systems;falseotherwise- See Also:
System.isEnabled(), Kubernetes
-
-