Documentation
¶
Index ¶
Constants ¶
View Source
const ( AwsNodepoolLabel = "eks.amazonaws.com/nodegroup" GkeNodepoolLabel = "cloud.google.com/gke-nodepool" AksNodepoolLabel = "kubernetes.azure.com/agentpool" KarpenterNodepool = "karpenter.sh/provisioner-name" KarpenterNodepoolV1 = "karpenter.sh/nodepool" OpenshiftMachinepool = "hive.openshift.io/machine-pool" NodeInstanceTypeLabel = "node.kubernetes.io/instance-type" TopologyRegionLabel = "topology.kubernetes.io/region" TopologyZoneLabel = "topology.kubernetes.io/zone" )
required constants used across the CLI commands (mostly well-known labels, annotations etc.,)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericNodeInfo ¶
type GenericNodeInfo struct {
NodeName string
K8sVersion string
Image string
Os string
OsArch string
NodeStatus string
Taints []string
NodeProvider string
NodeTopologyRegion string
NodeTopologyZone string
}
GenericNodeInfo struct used for 'node' info command
type GenericNodepoolInfo ¶
type GenericNodepoolInfo struct {
NodepoolID string
Node string
Provider string
InstanceType string
Region string
Zone string
K8sVersion string
}
GenericNodepoolInfo required node pool info which is used 'nodepool' command
type NodeCapacities ¶
type NodeCapacities struct {
NodeName string
CPU string // cores
Memory int64 // bytes
Disk int64 // bytes
EphemeralStorage int64 // bytes
PodCapacity string // count
}
NodeCapacities required node capacity related info. Used by 'node capacity' command
type OutputOptsForGenericNodeInfo ¶
type OutputOptsForGenericNodeInfo struct {
ShowTaints bool
ShowNodeProviderInfo bool
ShowNodeTopologyInfo bool
}
OutputOptsForGenericNodeInfo options set via flags, mostly used in the table-writer for output format selections
Click to show internal directories.
Click to hide internal directories.