public class KubernetesAdminUtils extends Object
Constructor and Description |
---|
KubernetesAdminUtils() |
Modifier and Type | Method and Description |
---|---|
static Long |
calculateUsage(BigDecimal used,
BigDecimal total) |
static List<io.fabric8.kubernetes.api.model.Node> |
getKubernetesNodes(io.fabric8.kubernetes.client.KubernetesClient client) |
static Map<String,io.fabric8.kubernetes.api.model.Quantity[]> |
getNodeMetrics(io.fabric8.kubernetes.client.KubernetesClient client) |
static io.fabric8.kubernetes.api.model.Quantity[] |
getNodeMetrics(io.fabric8.kubernetes.client.KubernetesClient client,
String nodeName) |
static Map<String,Map<String,io.fabric8.kubernetes.api.model.Quantity[]>> |
getPodMetrics(io.fabric8.kubernetes.client.KubernetesClient client) |
static Map<String,List<io.fabric8.kubernetes.api.model.Pod>> |
getPodsPerNode(io.fabric8.kubernetes.client.KubernetesClient client) |
public static io.fabric8.kubernetes.api.model.Quantity[] getNodeMetrics(io.fabric8.kubernetes.client.KubernetesClient client, String nodeName)
public static Map<String,io.fabric8.kubernetes.api.model.Quantity[]> getNodeMetrics(io.fabric8.kubernetes.client.KubernetesClient client)
public static Map<String,Map<String,io.fabric8.kubernetes.api.model.Quantity[]>> getPodMetrics(io.fabric8.kubernetes.client.KubernetesClient client)
public static List<io.fabric8.kubernetes.api.model.Node> getKubernetesNodes(io.fabric8.kubernetes.client.KubernetesClient client)
public static Map<String,List<io.fabric8.kubernetes.api.model.Pod>> getPodsPerNode(io.fabric8.kubernetes.client.KubernetesClient client)
public static Long calculateUsage(BigDecimal used, BigDecimal total)
Copyright © GigaSpaces.