Class ClusterDeployment
Holds information about the cluster deployment that is required for managing clusters after they are deployed. This is persisted to the NeonSystem namespace as the ClusterDeployment secret.
Namespace: Neon.Kube.Deployment
Assembly: Neon.Kube.dll
Syntax
public class ClusterDeployment
Constructors
ClusterDeployment()
Default constructor.
Declaration
public ClusterDeployment()
ClusterDeployment(ClusterDefinition, string, string)
Constructs an instance by extracting values from a ClusterDefinition.
Declaration
public ClusterDeployment(ClusterDefinition clusterDefinition, string clusterId, string clusterDomain)
Parameters
Type | Name | Description |
---|---|---|
ClusterDefinition | clusterDefinition | Specifies the cluster definition. |
string | clusterId | Specifies the cluster's unique ID. |
string | clusterDomain | Specifies the cluster's DNS domain. |
Properties
ClusterDomain
Specifies thge cluster's DNS domain.
Declaration
[JsonProperty(PropertyName = "ClusterDomain", Required = Required.Always)]
[YamlMember(Alias = "clusterDomain", ApplyNamingConventions = false)]
public string ClusterDomain { get; set; }
Property Value
Type | Description |
---|---|
string |
ClusterId
Specifies the cluster's unique ID.
Declaration
[JsonProperty(PropertyName = "ClusterId", Required = Required.Always)]
[YamlMember(Alias = "clusterId", ApplyNamingConventions = false)]
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string |
Hosting
Holds information about the environment hosting the cluster.
Declaration
[JsonProperty(PropertyName = "Hosting", Required = Required.Always)]
[YamlMember(Alias = "hosting", ApplyNamingConventions = false)]
public HostingOptions Hosting { get; set; }
Property Value
Type | Description |
---|---|
HostingOptions |
Nodes
Holds information about the cluster nodes.
Declaration
[JsonProperty(PropertyName = "Nodes", Required = Required.Always)]
[YamlMember(Alias = "nodes", ApplyNamingConventions = false)]
public List<NodeDeployment> Nodes { get; set; }
Property Value
Type | Description |
---|---|
List<NodeDeployment> |