civo.KubernetesCluster
Provides a Civo Kubernetes cluster resource. This can be used to create, delete, and modify clusters.
Create KubernetesCluster Resource
new KubernetesCluster(name: string, args: KubernetesClusterArgs, opts?: CustomResourceOptions);
@overload
def KubernetesCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
applications: Optional[str] = None,
cluster_type: Optional[str] = None,
cni: Optional[str] = None,
firewall_id: Optional[str] = None,
kubernetes_version: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
num_target_nodes: Optional[int] = None,
pools: Optional[KubernetesClusterPoolsArgs] = None,
region: Optional[str] = None,
tags: Optional[str] = None,
target_nodes_size: Optional[str] = None)
@overload
def KubernetesCluster(resource_name: str,
args: KubernetesClusterArgs,
opts: Optional[ResourceOptions] = None)
func NewKubernetesCluster(ctx *Context, name string, args KubernetesClusterArgs, opts ...ResourceOption) (*KubernetesCluster, error)
public KubernetesCluster(string name, KubernetesClusterArgs args, CustomResourceOptions? opts = null)
public KubernetesCluster(String name, KubernetesClusterArgs args)
public KubernetesCluster(String name, KubernetesClusterArgs args, CustomResourceOptions options)
type: civo:KubernetesCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
KubernetesCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The KubernetesCluster resource accepts the following input properties:
- Firewall
Id string The existing firewall ID to use for this cluster
- Pools
Kubernetes
Cluster Pools Args - Applications string
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- Cluster
Type string The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- Cni string
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- Kubernetes
Version string The version of k3s to install (optional, the default is currently the latest available)
- Name string
Name for your cluster, must be unique within your account
- Network
Id string The network for the cluster, if not declare we use the default one
- Num
Target intNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- Region string
The region for the cluster, if not declare we use the region in declared in the provider
- string
Space separated list of tags, to be used freely as required
- Target
Nodes stringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- Firewall
Id string The existing firewall ID to use for this cluster
- Pools
Kubernetes
Cluster Pools Args - Applications string
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- Cluster
Type string The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- Cni string
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- Kubernetes
Version string The version of k3s to install (optional, the default is currently the latest available)
- Name string
Name for your cluster, must be unique within your account
- Network
Id string The network for the cluster, if not declare we use the default one
- Num
Target intNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- Region string
The region for the cluster, if not declare we use the region in declared in the provider
- string
Space separated list of tags, to be used freely as required
- Target
Nodes stringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- firewall
Id String The existing firewall ID to use for this cluster
- pools
Kubernetes
Cluster Pools Args - applications String
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster
Type String The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni String
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- kubernetes
Version String The version of k3s to install (optional, the default is currently the latest available)
- name String
Name for your cluster, must be unique within your account
- network
Id String The network for the cluster, if not declare we use the default one
- num
Target IntegerNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- region String
The region for the cluster, if not declare we use the region in declared in the provider
- String
Space separated list of tags, to be used freely as required
- target
Nodes StringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- firewall
Id string The existing firewall ID to use for this cluster
- pools
Kubernetes
Cluster Pools Args - applications string
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster
Type string The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni string
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- kubernetes
Version string The version of k3s to install (optional, the default is currently the latest available)
- name string
Name for your cluster, must be unique within your account
- network
Id string The network for the cluster, if not declare we use the default one
- num
Target numberNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- region string
The region for the cluster, if not declare we use the region in declared in the provider
- string
Space separated list of tags, to be used freely as required
- target
Nodes stringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- firewall_
id str The existing firewall ID to use for this cluster
- pools
Kubernetes
Cluster Pools Args - applications str
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster_
type str The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni str
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- kubernetes_
version str The version of k3s to install (optional, the default is currently the latest available)
- name str
Name for your cluster, must be unique within your account
- network_
id str The network for the cluster, if not declare we use the default one
- num_
target_ intnodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- region str
The region for the cluster, if not declare we use the region in declared in the provider
- str
Space separated list of tags, to be used freely as required
- target_
nodes_ strsize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- firewall
Id String The existing firewall ID to use for this cluster
- pools Property Map
- applications String
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster
Type String The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni String
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- kubernetes
Version String The version of k3s to install (optional, the default is currently the latest available)
- name String
Name for your cluster, must be unique within your account
- network
Id String The network for the cluster, if not declare we use the default one
- num
Target NumberNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- region String
The region for the cluster, if not declare we use the region in declared in the provider
- String
Space separated list of tags, to be used freely as required
- target
Nodes StringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesCluster resource produces the following output properties:
- Api
Endpoint string The API server endpoint of the cluster
- Created
At string The timestamp when the cluster was created
- Dns
Entry string The DNS name of the cluster
- Id string
The provider-assigned unique ID for this managed resource.
- Installed
Applications List<KubernetesCluster Installed Application> - Kubeconfig string
The kubeconfig of the cluster
- Master
Ip string The IP address of the master node
- Ready bool
When cluster is ready, this will return
true
- Status string
Status of the cluster
- Api
Endpoint string The API server endpoint of the cluster
- Created
At string The timestamp when the cluster was created
- Dns
Entry string The DNS name of the cluster
- Id string
The provider-assigned unique ID for this managed resource.
- Installed
Applications []KubernetesCluster Installed Application - Kubeconfig string
The kubeconfig of the cluster
- Master
Ip string The IP address of the master node
- Ready bool
When cluster is ready, this will return
true
- Status string
Status of the cluster
- api
Endpoint String The API server endpoint of the cluster
- created
At String The timestamp when the cluster was created
- dns
Entry String The DNS name of the cluster
- id String
The provider-assigned unique ID for this managed resource.
- installed
Applications List<KubernetesCluster Installed Application> - kubeconfig String
The kubeconfig of the cluster
- master
Ip String The IP address of the master node
- ready Boolean
When cluster is ready, this will return
true
- status String
Status of the cluster
- api
Endpoint string The API server endpoint of the cluster
- created
At string The timestamp when the cluster was created
- dns
Entry string The DNS name of the cluster
- id string
The provider-assigned unique ID for this managed resource.
- installed
Applications KubernetesCluster Installed Application[] - kubeconfig string
The kubeconfig of the cluster
- master
Ip string The IP address of the master node
- ready boolean
When cluster is ready, this will return
true
- status string
Status of the cluster
- api_
endpoint str The API server endpoint of the cluster
- created_
at str The timestamp when the cluster was created
- dns_
entry str The DNS name of the cluster
- id str
The provider-assigned unique ID for this managed resource.
- installed_
applications Sequence[KubernetesCluster Installed Application] - kubeconfig str
The kubeconfig of the cluster
- master_
ip str The IP address of the master node
- ready bool
When cluster is ready, this will return
true
- status str
Status of the cluster
- api
Endpoint String The API server endpoint of the cluster
- created
At String The timestamp when the cluster was created
- dns
Entry String The DNS name of the cluster
- id String
The provider-assigned unique ID for this managed resource.
- installed
Applications List<Property Map> - kubeconfig String
The kubeconfig of the cluster
- master
Ip String The IP address of the master node
- ready Boolean
When cluster is ready, this will return
true
- status String
Status of the cluster
Look up Existing KubernetesCluster Resource
Get an existing KubernetesCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KubernetesClusterState, opts?: CustomResourceOptions): KubernetesCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_endpoint: Optional[str] = None,
applications: Optional[str] = None,
cluster_type: Optional[str] = None,
cni: Optional[str] = None,
created_at: Optional[str] = None,
dns_entry: Optional[str] = None,
firewall_id: Optional[str] = None,
installed_applications: Optional[Sequence[KubernetesClusterInstalledApplicationArgs]] = None,
kubeconfig: Optional[str] = None,
kubernetes_version: Optional[str] = None,
master_ip: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
num_target_nodes: Optional[int] = None,
pools: Optional[KubernetesClusterPoolsArgs] = None,
ready: Optional[bool] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[str] = None,
target_nodes_size: Optional[str] = None) -> KubernetesCluster
func GetKubernetesCluster(ctx *Context, name string, id IDInput, state *KubernetesClusterState, opts ...ResourceOption) (*KubernetesCluster, error)
public static KubernetesCluster Get(string name, Input<string> id, KubernetesClusterState? state, CustomResourceOptions? opts = null)
public static KubernetesCluster get(String name, Output<String> id, KubernetesClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Endpoint string The API server endpoint of the cluster
- Applications string
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- Cluster
Type string The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- Cni string
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- Created
At string The timestamp when the cluster was created
- Dns
Entry string The DNS name of the cluster
- Firewall
Id string The existing firewall ID to use for this cluster
- Installed
Applications List<KubernetesCluster Installed Application Args> - Kubeconfig string
The kubeconfig of the cluster
- Kubernetes
Version string The version of k3s to install (optional, the default is currently the latest available)
- Master
Ip string The IP address of the master node
- Name string
Name for your cluster, must be unique within your account
- Network
Id string The network for the cluster, if not declare we use the default one
- Num
Target intNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- Pools
Kubernetes
Cluster Pools Args - Ready bool
When cluster is ready, this will return
true
- Region string
The region for the cluster, if not declare we use the region in declared in the provider
- Status string
Status of the cluster
- string
Space separated list of tags, to be used freely as required
- Target
Nodes stringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- Api
Endpoint string The API server endpoint of the cluster
- Applications string
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- Cluster
Type string The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- Cni string
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- Created
At string The timestamp when the cluster was created
- Dns
Entry string The DNS name of the cluster
- Firewall
Id string The existing firewall ID to use for this cluster
- Installed
Applications []KubernetesCluster Installed Application Args - Kubeconfig string
The kubeconfig of the cluster
- Kubernetes
Version string The version of k3s to install (optional, the default is currently the latest available)
- Master
Ip string The IP address of the master node
- Name string
Name for your cluster, must be unique within your account
- Network
Id string The network for the cluster, if not declare we use the default one
- Num
Target intNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- Pools
Kubernetes
Cluster Pools Args - Ready bool
When cluster is ready, this will return
true
- Region string
The region for the cluster, if not declare we use the region in declared in the provider
- Status string
Status of the cluster
- string
Space separated list of tags, to be used freely as required
- Target
Nodes stringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- api
Endpoint String The API server endpoint of the cluster
- applications String
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster
Type String The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni String
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- created
At String The timestamp when the cluster was created
- dns
Entry String The DNS name of the cluster
- firewall
Id String The existing firewall ID to use for this cluster
- installed
Applications List<KubernetesCluster Installed Application Args> - kubeconfig String
The kubeconfig of the cluster
- kubernetes
Version String The version of k3s to install (optional, the default is currently the latest available)
- master
Ip String The IP address of the master node
- name String
Name for your cluster, must be unique within your account
- network
Id String The network for the cluster, if not declare we use the default one
- num
Target IntegerNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- pools
Kubernetes
Cluster Pools Args - ready Boolean
When cluster is ready, this will return
true
- region String
The region for the cluster, if not declare we use the region in declared in the provider
- status String
Status of the cluster
- String
Space separated list of tags, to be used freely as required
- target
Nodes StringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- api
Endpoint string The API server endpoint of the cluster
- applications string
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster
Type string The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni string
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- created
At string The timestamp when the cluster was created
- dns
Entry string The DNS name of the cluster
- firewall
Id string The existing firewall ID to use for this cluster
- installed
Applications KubernetesCluster Installed Application Args[] - kubeconfig string
The kubeconfig of the cluster
- kubernetes
Version string The version of k3s to install (optional, the default is currently the latest available)
- master
Ip string The IP address of the master node
- name string
Name for your cluster, must be unique within your account
- network
Id string The network for the cluster, if not declare we use the default one
- num
Target numberNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- pools
Kubernetes
Cluster Pools Args - ready boolean
When cluster is ready, this will return
true
- region string
The region for the cluster, if not declare we use the region in declared in the provider
- status string
Status of the cluster
- string
Space separated list of tags, to be used freely as required
- target
Nodes stringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- api_
endpoint str The API server endpoint of the cluster
- applications str
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster_
type str The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni str
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- created_
at str The timestamp when the cluster was created
- dns_
entry str The DNS name of the cluster
- firewall_
id str The existing firewall ID to use for this cluster
- installed_
applications Sequence[KubernetesCluster Installed Application Args] - kubeconfig str
The kubeconfig of the cluster
- kubernetes_
version str The version of k3s to install (optional, the default is currently the latest available)
- master_
ip str The IP address of the master node
- name str
Name for your cluster, must be unique within your account
- network_
id str The network for the cluster, if not declare we use the default one
- num_
target_ intnodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- pools
Kubernetes
Cluster Pools Args - ready bool
When cluster is ready, this will return
true
- region str
The region for the cluster, if not declare we use the region in declared in the provider
- status str
Status of the cluster
- str
Space separated list of tags, to be used freely as required
- target_
nodes_ strsize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
- api
Endpoint String The API server endpoint of the cluster
- applications String
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'appname:appplan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
- cluster
Type String The type of cluster to create, valid options are
k3s
ortalos
the default isk3s
- cni String
The cni for the k3s to install (the default is
flannel
) valid options arecilium
orflannel
- created
At String The timestamp when the cluster was created
- dns
Entry String The DNS name of the cluster
- firewall
Id String The existing firewall ID to use for this cluster
- installed
Applications List<Property Map> - kubeconfig String
The kubeconfig of the cluster
- kubernetes
Version String The version of k3s to install (optional, the default is currently the latest available)
- master
Ip String The IP address of the master node
- name String
Name for your cluster, must be unique within your account
- network
Id String The network for the cluster, if not declare we use the default one
- num
Target NumberNodes The number of instances to create (optional, the default at the time of writing is 3)
This field will be deprecated in the next major release, please use the 'pools' field instead
- pools Property Map
- ready Boolean
When cluster is ready, this will return
true
- region String
The region for the cluster, if not declare we use the region in declared in the provider
- status String
Status of the cluster
- String
Space separated list of tags, to be used freely as required
- target
Nodes StringSize The size of each node (optional, the default is currently g4s.kube.medium)
This field will be deprecated in the next major release, please use the 'pools' field instead
Supporting Types
KubernetesClusterInstalledApplication
- Application string
- Category string
- Installed bool
- Version string
- Application string
- Category string
- Installed bool
- Version string
- application String
- category String
- installed Boolean
- version String
- application string
- category string
- installed boolean
- version string
- application str
- category str
- installed bool
- version str
- application String
- category String
- installed Boolean
- version String
KubernetesClusterPools
- Node
Count int Number of nodes in the nodepool
- Size string
Size of the nodes in the nodepool
- Instance
Names List<string> Instance names in the nodepool
- Label string
Node pool label, if you don't provide one, we will generate one for you
- Node
Count int Number of nodes in the nodepool
- Size string
Size of the nodes in the nodepool
- Instance
Names []string Instance names in the nodepool
- Label string
Node pool label, if you don't provide one, we will generate one for you
- node
Count Integer Number of nodes in the nodepool
- size String
Size of the nodes in the nodepool
- instance
Names List<String> Instance names in the nodepool
- label String
Node pool label, if you don't provide one, we will generate one for you
- node
Count number Number of nodes in the nodepool
- size string
Size of the nodes in the nodepool
- instance
Names string[] Instance names in the nodepool
- label string
Node pool label, if you don't provide one, we will generate one for you
- node_
count int Number of nodes in the nodepool
- size str
Size of the nodes in the nodepool
- instance_
names Sequence[str] Instance names in the nodepool
- label str
Node pool label, if you don't provide one, we will generate one for you
- node
Count Number Number of nodes in the nodepool
- size String
Size of the nodes in the nodepool
- instance
Names List<String> Instance names in the nodepool
- label String
Node pool label, if you don't provide one, we will generate one for you
Import
using ID
$ pulumi import civo:index/kubernetesCluster:KubernetesCluster my-cluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af
Package Details
- Repository
- Civo pulumi/pulumi-civo
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
civo
Terraform Provider.