Documentation ¶
Index ¶
- Variables
- func ComputeTolerationsFromNodes(nodes map[string]*Node) []map[string]interface{}
- type ClusterManager
- func (m *ClusterManager) ManageTaints(node *Node) error
- func (m *ClusterManager) Nodes() map[string]*Node
- func (m *ClusterManager) Resources() []pulumi.Resource
- func (m *ClusterManager) Up(kubeconfig pulumi.AnyOutput, provider *kubernetes.Provider) error
- func (m *ClusterManager) ValidateNodePatches() error
- type Node
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedTaintsEffects = []string{"NoSchedule", "NoExecute", "PreferNoSchedule"}
View Source
var DefaultTaints = map[string][]string{ variables.ServerRole: { "CriticalAddonsOnly=true:NoExecute", "node-role.kubernetes.io/control-plane:NoSchedule", }, }
Functions ¶
Types ¶
type ClusterManager ¶
type ClusterManager struct {
// contains filtered or unexported fields
}
func (*ClusterManager) ManageTaints ¶
func (m *ClusterManager) ManageTaints(node *Node) error
func (*ClusterManager) Nodes ¶
func (m *ClusterManager) Nodes() map[string]*Node
func (*ClusterManager) Resources ¶
func (m *ClusterManager) Resources() []pulumi.Resource
func (*ClusterManager) Up ¶ added in v0.0.12
func (m *ClusterManager) Up(kubeconfig pulumi.AnyOutput, provider *kubernetes.Provider) error
func (*ClusterManager) ValidateNodePatches ¶
func (m *ClusterManager) ValidateNodePatches() error
Click to show internal directories.
Click to hide internal directories.