Documentation ¶
Index ¶
Constants ¶
View Source
const ( Amd64 = "amd64" Arm64 = "arm64" )
View Source
const (
ControlPlane = "node-role.kubernetes.io/control-plane"
)
Variables ¶
View Source
var ( // ErrFailedToResolveArch is returned when resolving the architecture failed. ErrFailedToResolveArch = errors.New("failed to resolve architecture for nodepool") )
Functions ¶
func GetAllLabels ¶
GetAllLabels returns default labels with their theoretical values for the specified nodepool.
Types ¶
type ArchResolver ¶
ArchResolver resolves the architecture of a nodepool.
type DynamicNodePoolResolver ¶
type DynamicNodePoolResolver struct {
// contains filtered or unexported fields
}
DynamicNodePoolResolver will resolve architecture for a dynamic nodepool.
func NewDynamicNodePoolResolver ¶
func NewDynamicNodePoolResolver(init []*pb.DynamicNodePool) (*DynamicNodePoolResolver, error)
type LabelKey ¶
type LabelKey string
const ( Nodepool LabelKey = "claudie.io/nodepool" Provider LabelKey = "claudie.io/provider" ProviderInstance LabelKey = "claudie.io/provider-instance" NodeType LabelKey = "claudie.io/node-type" KubernetesZone LabelKey = "topology.kubernetes.io/zone" KubernetesRegion LabelKey = "topology.kubernetes.io/region" KubernetesOs LabelKey = "kubernetes.io/os" KubernetesArch LabelKey = "kubernetes.io/arch" KubeoneOs LabelKey = "v1.kubeone.io/operating-system" )
Click to show internal directories.
Click to hide internal directories.