kube

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CapacityTypeLabel = "eks.amazonaws.com/capacityType"
	NodeGroupLabel    = "eks.amazonaws.com/nodegroup"
	ComputeType       = "eks.amazonaws.com/compute-type" // to detect fargate nodes
	ArchLabel         = "kubernetes.io/arch"
	OsLabel           = "kubernetes.io/os"
	HostNameLabel     = "kubernetes.io/hostname"

	InstanceTypeLabel = "node.kubernetes.io/instance-type"

	ZoneLabel      = "topology.kubernetes.io/zone"
	NodeGroupImage = "eks.amazonaws.com/nodegroup-image"
)

Variables

This section is empty.

Functions

func ClientSet

func ClientSet(configFlags *genericclioptions.ConfigFlags) (*kubernetes.Clientset, string)

ClientSet k8s clientset

func GetNodes

func GetNodes(configFlags *genericclioptions.ConfigFlags) ([]corev1.Node, error)

func GetSA

func GetSA(configFlags *genericclioptions.ConfigFlags) ([]corev1.ServiceAccount, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL