public final class KubernetesSystem extends System
System implementation that is enabled
when running on any of several possible Kubernetes systems.isEnabled(),
Kubernetes| Constructor | Description |
|---|---|
KubernetesSystem() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isEnabled() |
Returns
true if there is a file named
/proc/1/cpuset that contains at least one line starting with
/kubepods/. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitequals, 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 Oracle Corporation. All rights reserved.