kind: sigs.k8s.io/kind/pkg/cluster/constants Index | Files

package constants

import "sigs.k8s.io/kind/pkg/cluster/constants"

Package constants contains well known constants for kind clusters

Index

Package Files

constants.go

Constants

const (
    // ControlPlaneNodeRoleValue identifies a node that hosts a Kubernetes
    // control-plane.
    //
    // NOTE: in single node clusters, control-plane nodes act as worker nodes
    ControlPlaneNodeRoleValue string = "control-plane"

    // WorkerNodeRoleValue identifies a node that hosts a Kubernetes worker
    WorkerNodeRoleValue string = "worker"

    // ExternalLoadBalancerNodeRoleValue identifies a node that hosts an
    // external load balancer for the API server in HA configurations.
    //
    // Please note that `kind` nodes hosting external load balancer are not
    // kubernetes nodes
    ExternalLoadBalancerNodeRoleValue string = "external-load-balancer"

    // ExternalEtcdNodeRoleValue identifies a node that hosts an external-etcd
    // instance.
    //
    // WARNING: this node type is not yet implemented!
    //
    // Please note that `kind` nodes hosting external etcd are not
    // kubernetes nodes
    ExternalEtcdNodeRoleValue string = "external-etcd"
)

node role value constants

const DefaultClusterName = "kind"

DefaultClusterName is the default cluster Context name

Package constants is imported by 12 packages. Updated 2019-11-13. Refresh now. Tools for package owners.