Skip to content

Commit

Permalink
add a note about taint removal
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Mar 12, 2019
1 parent 2ac298d commit af80976
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pkg/cluster/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ type NodeRole string

const (
// ControlPlaneRole identifies a node that hosts a Kubernetes control-plane.
// NOTE: in single node clusters, control-plane nodes act also as a worker nodes
// NOTE: in single node clusters, control-plane nodes act also as a worker
// nodes, in which case the taint will be removed. see:
// https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#control-plane-node-isolation
ControlPlaneRole NodeRole = "control-plane"
// WorkerRole identifies a node that hosts a Kubernetes worker
WorkerRole NodeRole = "worker"
Expand Down
4 changes: 3 additions & 1 deletion pkg/cluster/config/v1alpha2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ type NodeRole string

const (
// ControlPlaneRole identifies a node that hosts a Kubernetes control-plane.
// NB. in single node clusters, control-plane nodes act also as a worker nodes
// NOTE: in single node clusters, control-plane nodes act also as a worker
// nodes, in which case the taint will be removed. see:
// https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#control-plane-node-isolation
ControlPlaneRole NodeRole = "control-plane"
// WorkerRole identifies a node that hosts a Kubernetes worker
WorkerRole NodeRole = "worker"
Expand Down
4 changes: 3 additions & 1 deletion pkg/cluster/config/v1alpha3/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ type NodeRole string

const (
// ControlPlaneRole identifies a node that hosts a Kubernetes control-plane.
// NOTE: in single node clusters, control-plane nodes act also as a worker nodes
// NOTE: in single node clusters, control-plane nodes act also as a worker
// nodes, in which case the taint will be removed. see:
// https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#control-plane-node-isolation
ControlPlaneRole NodeRole = "control-plane"
// WorkerRole identifies a node that hosts a Kubernetes worker
WorkerRole NodeRole = "worker"
Expand Down

0 comments on commit af80976

Please sign in to comment.