public final class KubernetesSystem extends System
System implementation that is enabled
when running on any of several possible Kubernetes systems.isEnabled(),
Kubernetes| Constructor and Description |
|---|
KubernetesSystem()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Returns
true if there is a file named /proc/1/cpuset that contains at least one line starting with
/kubepods/. |
equals, getenv, getName, getProperties, getSystems, hashCode, isAuthoritativepublic KubernetesSystem()
System(String, boolean)public boolean isEnabled()
true if there is a file named /proc/1/cpuset that contains at least one line starting with
/kubepods/.isEnabled in class Systemtrue if the caller is running on any of several
possible Kubernetes systems;
false otherwiseSystem.isEnabled(),
KubernetesCopyright © 2018–2019 Oracle Corporation. All rights reserved.