Class KubernetesClusterState
Inheritance
System.Object
KubernetesClusterState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class KubernetesClusterState : ResourceArgs
Constructors
View Source
KubernetesClusterState()
Declaration
public KubernetesClusterState()
Properties
View Source
ClusterSubnet
The range of IP addresses in the overlay network of the Kubernetes cluster.
Declaration
public Input<string> ClusterSubnet { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CreatedAt
The date and time when the Kubernetes cluster was created.
Declaration
public Input<string> CreatedAt { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Endpoint
The base URL of the API server on the Kubernetes master node.
Declaration
public Input<string> Endpoint { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Ipv4Address
The public IPv4 address of the Kubernetes master node.
Declaration
public Input<string> Ipv4Address { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
KubeConfigs
Declaration
public InputList<KubernetesClusterKubeConfigGetArgs> KubeConfigs { get; set; }
Property Value
View Source
Name
A name for the Kubernetes cluster.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NodePool
A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the digitalocean..KubernetesNodePool resource. The following arguments may be specified:
name - (Required) A name for the node pool.
size - (Required) The slug identifier for the type of Droplet to be used as workers in the node pool.
node_count - (Optional) The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
auto_scale - (Optional) Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
min_nodes - (Optional) If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
max_nodes - (Optional) If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
tags - (Optional) A list of tag names to be applied to the Kubernetes cluster.
labels - (Optional) A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
Declaration
public Input<KubernetesClusterNodePoolGetArgs> NodePool { get; set; }
Property Value
View Source
Region
The slug identifier for the region where the Kubernetes cluster will be created.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ServiceSubnet
The range of assignable IP addresses for services running in the Kubernetes cluster.
Declaration
public Input<string> ServiceSubnet { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Status
A string indicating the current status of the cluster. Potential values include running, provisioning, and errored.
Declaration
public Input<string> Status { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
A list of tag names to be applied to the Kubernetes cluster.
Declaration
public InputList<string> Tags { get; set; }
Property Value
View Source
UpdatedAt
The date and time when the Kubernetes cluster was last updated.
kube_config.0 - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
raw_config - The full contents of the Kubernetes cluster's kubeconfig file.
host - The URL of the API server on the Kubernetes master node.
cluster_ca_certificate - The base64 encoded public certificate for the cluster's certificate authority.
token - The DigitalOcean API access token used by clients to access the cluster.
client_key - The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
client_certificate - The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
expires_at - The date and time when the credentials will expire and need to be regenerated.
Declaration
public Input<string> UpdatedAt { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Version
The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions doctl kubernetes options versions. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)
Declaration
public Input<string> Version { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VpcUuid
The ID of the VPC where the Kubernetes cluster will be located.
Declaration
public Input<string> VpcUuid { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|