Class NodeRole
Enumerates the roles a cluster node can assume.
Namespace: Neon.Kube.ClusterDef
Assembly: Neon.Kube.dll
Syntax
public static class NodeRole
Fields
ControlPlane
The node is a cluster control-plane node.
Declaration
public const string ControlPlane = "control-plane"
Field Value
Type | Description |
---|---|
string |
HyperV
HACK: The node is actually a Hyper-V host machine and not an actual Kubernetes node. This seemed like the least bad place to define this for Role values when preparing a cluster on Hyper-V servers.
Declaration
public const string HyperV = "hyperv"
Field Value
Type | Description |
---|---|
string |
Worker
The node is a cluster worker.
Declaration
public const string Worker = "worker"
Field Value
Type | Description |
---|---|
string |
XenServer
HACK: The node is actually a XenServer host machine and not an actual Kubernetes node. This seemed like the least bad place to define this for Role values when preparing a cluster on XenServer.
Declaration
public const string XenServer = "xenserver"
Field Value
Type | Description |
---|---|
string |