pulumi-digitalocean 4.42.0a1743572464__py3-none-any.whl → 4.42.0a1744183362__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +1 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2714 -2713
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +9 -8
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +225 -224
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3008 -3007
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +36 -35
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0a1744183362.dist-info/RECORD +110 -0
- pulumi_digitalocean-4.42.0a1743572464.dist-info/RECORD +0 -110
- {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -22,27 +23,27 @@ __all__ = ['KubernetesNodePoolArgs', 'KubernetesNodePool']
|
|
|
22
23
|
@pulumi.input_type
|
|
23
24
|
class KubernetesNodePoolArgs:
|
|
24
25
|
def __init__(__self__, *,
|
|
25
|
-
cluster_id: pulumi.Input[str],
|
|
26
|
-
size: pulumi.Input[Union[str, 'DropletSlug']],
|
|
27
|
-
auto_scale: Optional[pulumi.Input[bool]] = None,
|
|
28
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
29
|
-
max_nodes: Optional[pulumi.Input[int]] = None,
|
|
30
|
-
min_nodes: Optional[pulumi.Input[int]] = None,
|
|
31
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
node_count: Optional[pulumi.Input[int]] = None,
|
|
33
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
26
|
+
cluster_id: pulumi.Input[builtins.str],
|
|
27
|
+
size: pulumi.Input[Union[builtins.str, 'DropletSlug']],
|
|
28
|
+
auto_scale: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
30
|
+
max_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
31
|
+
min_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
34
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
34
35
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]]] = None):
|
|
35
36
|
"""
|
|
36
37
|
The set of arguments for constructing a KubernetesNodePool resource.
|
|
37
|
-
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
38
|
-
:param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
39
|
-
:param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
40
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
41
|
-
:param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
42
|
-
:param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
43
|
-
:param pulumi.Input[str] name: A name for the node pool.
|
|
44
|
-
:param pulumi.Input[int] node_count: 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.
|
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
38
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
39
|
+
:param pulumi.Input[Union[builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
40
|
+
:param pulumi.Input[builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
41
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
42
|
+
:param pulumi.Input[builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
43
|
+
:param pulumi.Input[builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
44
|
+
:param pulumi.Input[builtins.str] name: A name for the node pool.
|
|
45
|
+
:param pulumi.Input[builtins.int] node_count: 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.
|
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
46
47
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]] taints: A list of taints applied to all nodes in the pool.
|
|
47
48
|
|
|
48
49
|
This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
@@ -68,110 +69,110 @@ class KubernetesNodePoolArgs:
|
|
|
68
69
|
|
|
69
70
|
@property
|
|
70
71
|
@pulumi.getter(name="clusterId")
|
|
71
|
-
def cluster_id(self) -> pulumi.Input[str]:
|
|
72
|
+
def cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
72
73
|
"""
|
|
73
74
|
The ID of the Kubernetes cluster to which the node pool is associated.
|
|
74
75
|
"""
|
|
75
76
|
return pulumi.get(self, "cluster_id")
|
|
76
77
|
|
|
77
78
|
@cluster_id.setter
|
|
78
|
-
def cluster_id(self, value: pulumi.Input[str]):
|
|
79
|
+
def cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
79
80
|
pulumi.set(self, "cluster_id", value)
|
|
80
81
|
|
|
81
82
|
@property
|
|
82
83
|
@pulumi.getter
|
|
83
|
-
def size(self) -> pulumi.Input[Union[str, 'DropletSlug']]:
|
|
84
|
+
def size(self) -> pulumi.Input[Union[builtins.str, 'DropletSlug']]:
|
|
84
85
|
"""
|
|
85
86
|
The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
86
87
|
"""
|
|
87
88
|
return pulumi.get(self, "size")
|
|
88
89
|
|
|
89
90
|
@size.setter
|
|
90
|
-
def size(self, value: pulumi.Input[Union[str, 'DropletSlug']]):
|
|
91
|
+
def size(self, value: pulumi.Input[Union[builtins.str, 'DropletSlug']]):
|
|
91
92
|
pulumi.set(self, "size", value)
|
|
92
93
|
|
|
93
94
|
@property
|
|
94
95
|
@pulumi.getter(name="autoScale")
|
|
95
|
-
def auto_scale(self) -> Optional[pulumi.Input[bool]]:
|
|
96
|
+
def auto_scale(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
96
97
|
"""
|
|
97
98
|
Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
98
99
|
"""
|
|
99
100
|
return pulumi.get(self, "auto_scale")
|
|
100
101
|
|
|
101
102
|
@auto_scale.setter
|
|
102
|
-
def auto_scale(self, value: Optional[pulumi.Input[bool]]):
|
|
103
|
+
def auto_scale(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
103
104
|
pulumi.set(self, "auto_scale", value)
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter
|
|
107
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
108
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
108
109
|
"""
|
|
109
110
|
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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
110
111
|
"""
|
|
111
112
|
return pulumi.get(self, "labels")
|
|
112
113
|
|
|
113
114
|
@labels.setter
|
|
114
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
115
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
115
116
|
pulumi.set(self, "labels", value)
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter(name="maxNodes")
|
|
119
|
-
def max_nodes(self) -> Optional[pulumi.Input[int]]:
|
|
120
|
+
def max_nodes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
120
121
|
"""
|
|
121
122
|
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
122
123
|
"""
|
|
123
124
|
return pulumi.get(self, "max_nodes")
|
|
124
125
|
|
|
125
126
|
@max_nodes.setter
|
|
126
|
-
def max_nodes(self, value: Optional[pulumi.Input[int]]):
|
|
127
|
+
def max_nodes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
127
128
|
pulumi.set(self, "max_nodes", value)
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter(name="minNodes")
|
|
131
|
-
def min_nodes(self) -> Optional[pulumi.Input[int]]:
|
|
132
|
+
def min_nodes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
132
133
|
"""
|
|
133
134
|
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
134
135
|
"""
|
|
135
136
|
return pulumi.get(self, "min_nodes")
|
|
136
137
|
|
|
137
138
|
@min_nodes.setter
|
|
138
|
-
def min_nodes(self, value: Optional[pulumi.Input[int]]):
|
|
139
|
+
def min_nodes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
139
140
|
pulumi.set(self, "min_nodes", value)
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter
|
|
143
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
144
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
144
145
|
"""
|
|
145
146
|
A name for the node pool.
|
|
146
147
|
"""
|
|
147
148
|
return pulumi.get(self, "name")
|
|
148
149
|
|
|
149
150
|
@name.setter
|
|
150
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
151
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
151
152
|
pulumi.set(self, "name", value)
|
|
152
153
|
|
|
153
154
|
@property
|
|
154
155
|
@pulumi.getter(name="nodeCount")
|
|
155
|
-
def node_count(self) -> Optional[pulumi.Input[int]]:
|
|
156
|
+
def node_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
156
157
|
"""
|
|
157
158
|
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.
|
|
158
159
|
"""
|
|
159
160
|
return pulumi.get(self, "node_count")
|
|
160
161
|
|
|
161
162
|
@node_count.setter
|
|
162
|
-
def node_count(self, value: Optional[pulumi.Input[int]]):
|
|
163
|
+
def node_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
163
164
|
pulumi.set(self, "node_count", value)
|
|
164
165
|
|
|
165
166
|
@property
|
|
166
167
|
@pulumi.getter
|
|
167
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
168
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
168
169
|
"""
|
|
169
170
|
A list of tag names to be applied to the Kubernetes cluster.
|
|
170
171
|
"""
|
|
171
172
|
return pulumi.get(self, "tags")
|
|
172
173
|
|
|
173
174
|
@tags.setter
|
|
174
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
175
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
175
176
|
pulumi.set(self, "tags", value)
|
|
176
177
|
|
|
177
178
|
@property
|
|
@@ -192,31 +193,31 @@ class KubernetesNodePoolArgs:
|
|
|
192
193
|
@pulumi.input_type
|
|
193
194
|
class _KubernetesNodePoolState:
|
|
194
195
|
def __init__(__self__, *,
|
|
195
|
-
actual_node_count: Optional[pulumi.Input[int]] = None,
|
|
196
|
-
auto_scale: Optional[pulumi.Input[bool]] = None,
|
|
197
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
199
|
-
max_nodes: Optional[pulumi.Input[int]] = None,
|
|
200
|
-
min_nodes: Optional[pulumi.Input[int]] = None,
|
|
201
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
202
|
-
node_count: Optional[pulumi.Input[int]] = None,
|
|
196
|
+
actual_node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
197
|
+
auto_scale: Optional[pulumi.Input[builtins.bool]] = None,
|
|
198
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
199
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
200
|
+
max_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
201
|
+
min_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
202
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
203
|
+
node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
203
204
|
nodes: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]] = None,
|
|
204
|
-
size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
|
|
205
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
205
|
+
size: Optional[pulumi.Input[Union[builtins.str, 'DropletSlug']]] = None,
|
|
206
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
206
207
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]]] = None):
|
|
207
208
|
"""
|
|
208
209
|
Input properties used for looking up and filtering KubernetesNodePool resources.
|
|
209
|
-
:param pulumi.Input[int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
|
|
210
|
-
:param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
211
|
-
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
212
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
213
|
-
:param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
214
|
-
:param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
215
|
-
:param pulumi.Input[str] name: A name for the node pool.
|
|
216
|
-
:param pulumi.Input[int] node_count: 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.
|
|
210
|
+
:param pulumi.Input[builtins.int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
|
|
211
|
+
:param pulumi.Input[builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
212
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
213
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
214
|
+
:param pulumi.Input[builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
215
|
+
:param pulumi.Input[builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
216
|
+
:param pulumi.Input[builtins.str] name: A name for the node pool.
|
|
217
|
+
:param pulumi.Input[builtins.int] node_count: 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.
|
|
217
218
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]] nodes: A list of nodes in the pool. Each node exports the following attributes:
|
|
218
|
-
:param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
219
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
219
|
+
:param pulumi.Input[Union[builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
220
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
220
221
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]] taints: A list of taints applied to all nodes in the pool.
|
|
221
222
|
|
|
222
223
|
This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
@@ -248,98 +249,98 @@ class _KubernetesNodePoolState:
|
|
|
248
249
|
|
|
249
250
|
@property
|
|
250
251
|
@pulumi.getter(name="actualNodeCount")
|
|
251
|
-
def actual_node_count(self) -> Optional[pulumi.Input[int]]:
|
|
252
|
+
def actual_node_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
252
253
|
"""
|
|
253
254
|
A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
|
|
254
255
|
"""
|
|
255
256
|
return pulumi.get(self, "actual_node_count")
|
|
256
257
|
|
|
257
258
|
@actual_node_count.setter
|
|
258
|
-
def actual_node_count(self, value: Optional[pulumi.Input[int]]):
|
|
259
|
+
def actual_node_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
259
260
|
pulumi.set(self, "actual_node_count", value)
|
|
260
261
|
|
|
261
262
|
@property
|
|
262
263
|
@pulumi.getter(name="autoScale")
|
|
263
|
-
def auto_scale(self) -> Optional[pulumi.Input[bool]]:
|
|
264
|
+
def auto_scale(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
264
265
|
"""
|
|
265
266
|
Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
266
267
|
"""
|
|
267
268
|
return pulumi.get(self, "auto_scale")
|
|
268
269
|
|
|
269
270
|
@auto_scale.setter
|
|
270
|
-
def auto_scale(self, value: Optional[pulumi.Input[bool]]):
|
|
271
|
+
def auto_scale(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
271
272
|
pulumi.set(self, "auto_scale", value)
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="clusterId")
|
|
275
|
-
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
276
|
+
def cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
276
277
|
"""
|
|
277
278
|
The ID of the Kubernetes cluster to which the node pool is associated.
|
|
278
279
|
"""
|
|
279
280
|
return pulumi.get(self, "cluster_id")
|
|
280
281
|
|
|
281
282
|
@cluster_id.setter
|
|
282
|
-
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
283
|
+
def cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
283
284
|
pulumi.set(self, "cluster_id", value)
|
|
284
285
|
|
|
285
286
|
@property
|
|
286
287
|
@pulumi.getter
|
|
287
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
288
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
288
289
|
"""
|
|
289
290
|
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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
290
291
|
"""
|
|
291
292
|
return pulumi.get(self, "labels")
|
|
292
293
|
|
|
293
294
|
@labels.setter
|
|
294
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
295
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
295
296
|
pulumi.set(self, "labels", value)
|
|
296
297
|
|
|
297
298
|
@property
|
|
298
299
|
@pulumi.getter(name="maxNodes")
|
|
299
|
-
def max_nodes(self) -> Optional[pulumi.Input[int]]:
|
|
300
|
+
def max_nodes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
300
301
|
"""
|
|
301
302
|
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
302
303
|
"""
|
|
303
304
|
return pulumi.get(self, "max_nodes")
|
|
304
305
|
|
|
305
306
|
@max_nodes.setter
|
|
306
|
-
def max_nodes(self, value: Optional[pulumi.Input[int]]):
|
|
307
|
+
def max_nodes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
307
308
|
pulumi.set(self, "max_nodes", value)
|
|
308
309
|
|
|
309
310
|
@property
|
|
310
311
|
@pulumi.getter(name="minNodes")
|
|
311
|
-
def min_nodes(self) -> Optional[pulumi.Input[int]]:
|
|
312
|
+
def min_nodes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
312
313
|
"""
|
|
313
314
|
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
314
315
|
"""
|
|
315
316
|
return pulumi.get(self, "min_nodes")
|
|
316
317
|
|
|
317
318
|
@min_nodes.setter
|
|
318
|
-
def min_nodes(self, value: Optional[pulumi.Input[int]]):
|
|
319
|
+
def min_nodes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
319
320
|
pulumi.set(self, "min_nodes", value)
|
|
320
321
|
|
|
321
322
|
@property
|
|
322
323
|
@pulumi.getter
|
|
323
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
324
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
324
325
|
"""
|
|
325
326
|
A name for the node pool.
|
|
326
327
|
"""
|
|
327
328
|
return pulumi.get(self, "name")
|
|
328
329
|
|
|
329
330
|
@name.setter
|
|
330
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
331
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
331
332
|
pulumi.set(self, "name", value)
|
|
332
333
|
|
|
333
334
|
@property
|
|
334
335
|
@pulumi.getter(name="nodeCount")
|
|
335
|
-
def node_count(self) -> Optional[pulumi.Input[int]]:
|
|
336
|
+
def node_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
336
337
|
"""
|
|
337
338
|
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.
|
|
338
339
|
"""
|
|
339
340
|
return pulumi.get(self, "node_count")
|
|
340
341
|
|
|
341
342
|
@node_count.setter
|
|
342
|
-
def node_count(self, value: Optional[pulumi.Input[int]]):
|
|
343
|
+
def node_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
343
344
|
pulumi.set(self, "node_count", value)
|
|
344
345
|
|
|
345
346
|
@property
|
|
@@ -356,26 +357,26 @@ class _KubernetesNodePoolState:
|
|
|
356
357
|
|
|
357
358
|
@property
|
|
358
359
|
@pulumi.getter
|
|
359
|
-
def size(self) -> Optional[pulumi.Input[Union[str, 'DropletSlug']]]:
|
|
360
|
+
def size(self) -> Optional[pulumi.Input[Union[builtins.str, 'DropletSlug']]]:
|
|
360
361
|
"""
|
|
361
362
|
The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
362
363
|
"""
|
|
363
364
|
return pulumi.get(self, "size")
|
|
364
365
|
|
|
365
366
|
@size.setter
|
|
366
|
-
def size(self, value: Optional[pulumi.Input[Union[str, 'DropletSlug']]]):
|
|
367
|
+
def size(self, value: Optional[pulumi.Input[Union[builtins.str, 'DropletSlug']]]):
|
|
367
368
|
pulumi.set(self, "size", value)
|
|
368
369
|
|
|
369
370
|
@property
|
|
370
371
|
@pulumi.getter
|
|
371
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
372
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
372
373
|
"""
|
|
373
374
|
A list of tag names to be applied to the Kubernetes cluster.
|
|
374
375
|
"""
|
|
375
376
|
return pulumi.get(self, "tags")
|
|
376
377
|
|
|
377
378
|
@tags.setter
|
|
378
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
379
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
379
380
|
pulumi.set(self, "tags", value)
|
|
380
381
|
|
|
381
382
|
@property
|
|
@@ -398,15 +399,15 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
398
399
|
def __init__(__self__,
|
|
399
400
|
resource_name: str,
|
|
400
401
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
401
|
-
auto_scale: Optional[pulumi.Input[bool]] = None,
|
|
402
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
403
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
404
|
-
max_nodes: Optional[pulumi.Input[int]] = None,
|
|
405
|
-
min_nodes: Optional[pulumi.Input[int]] = None,
|
|
406
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
407
|
-
node_count: Optional[pulumi.Input[int]] = None,
|
|
408
|
-
size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
|
|
409
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
402
|
+
auto_scale: Optional[pulumi.Input[builtins.bool]] = None,
|
|
403
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
404
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
405
|
+
max_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
406
|
+
min_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
407
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
408
|
+
node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
409
|
+
size: Optional[pulumi.Input[Union[builtins.str, 'DropletSlug']]] = None,
|
|
410
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
410
411
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]]] = None,
|
|
411
412
|
__props__=None):
|
|
412
413
|
"""
|
|
@@ -484,15 +485,15 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
484
485
|
|
|
485
486
|
:param str resource_name: The name of the resource.
|
|
486
487
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
487
|
-
:param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
488
|
-
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
489
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
490
|
-
:param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
491
|
-
:param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
492
|
-
:param pulumi.Input[str] name: A name for the node pool.
|
|
493
|
-
:param pulumi.Input[int] node_count: 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.
|
|
494
|
-
:param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
495
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
488
|
+
:param pulumi.Input[builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
489
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
490
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
491
|
+
:param pulumi.Input[builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
492
|
+
:param pulumi.Input[builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
493
|
+
:param pulumi.Input[builtins.str] name: A name for the node pool.
|
|
494
|
+
:param pulumi.Input[builtins.int] node_count: 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.
|
|
495
|
+
:param pulumi.Input[Union[builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
496
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
496
497
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]] taints: A list of taints applied to all nodes in the pool.
|
|
497
498
|
|
|
498
499
|
This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
@@ -591,15 +592,15 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
591
592
|
def _internal_init(__self__,
|
|
592
593
|
resource_name: str,
|
|
593
594
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
594
|
-
auto_scale: Optional[pulumi.Input[bool]] = None,
|
|
595
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
596
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
597
|
-
max_nodes: Optional[pulumi.Input[int]] = None,
|
|
598
|
-
min_nodes: Optional[pulumi.Input[int]] = None,
|
|
599
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
600
|
-
node_count: Optional[pulumi.Input[int]] = None,
|
|
601
|
-
size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
|
|
602
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
595
|
+
auto_scale: Optional[pulumi.Input[builtins.bool]] = None,
|
|
596
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
597
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
598
|
+
max_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
599
|
+
min_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
600
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
601
|
+
node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
602
|
+
size: Optional[pulumi.Input[Union[builtins.str, 'DropletSlug']]] = None,
|
|
603
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
603
604
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]]] = None,
|
|
604
605
|
__props__=None):
|
|
605
606
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -636,17 +637,17 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
636
637
|
def get(resource_name: str,
|
|
637
638
|
id: pulumi.Input[str],
|
|
638
639
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
639
|
-
actual_node_count: Optional[pulumi.Input[int]] = None,
|
|
640
|
-
auto_scale: Optional[pulumi.Input[bool]] = None,
|
|
641
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
642
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
643
|
-
max_nodes: Optional[pulumi.Input[int]] = None,
|
|
644
|
-
min_nodes: Optional[pulumi.Input[int]] = None,
|
|
645
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
646
|
-
node_count: Optional[pulumi.Input[int]] = None,
|
|
640
|
+
actual_node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
641
|
+
auto_scale: Optional[pulumi.Input[builtins.bool]] = None,
|
|
642
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
643
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
644
|
+
max_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
645
|
+
min_nodes: Optional[pulumi.Input[builtins.int]] = None,
|
|
646
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
647
|
+
node_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
647
648
|
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolNodeArgs', 'KubernetesNodePoolNodeArgsDict']]]]] = None,
|
|
648
|
-
size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
|
|
649
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
649
|
+
size: Optional[pulumi.Input[Union[builtins.str, 'DropletSlug']]] = None,
|
|
650
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
650
651
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]]] = None) -> 'KubernetesNodePool':
|
|
651
652
|
"""
|
|
652
653
|
Get an existing KubernetesNodePool resource's state with the given name, id, and optional extra
|
|
@@ -655,17 +656,17 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
655
656
|
:param str resource_name: The unique name of the resulting resource.
|
|
656
657
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
657
658
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
658
|
-
:param pulumi.Input[int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
|
|
659
|
-
:param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
660
|
-
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
661
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
662
|
-
:param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
663
|
-
:param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
664
|
-
:param pulumi.Input[str] name: A name for the node pool.
|
|
665
|
-
:param pulumi.Input[int] node_count: 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.
|
|
659
|
+
:param pulumi.Input[builtins.int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
|
|
660
|
+
:param pulumi.Input[builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
661
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
|
|
662
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: 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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
663
|
+
:param pulumi.Input[builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
664
|
+
:param pulumi.Input[builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
665
|
+
:param pulumi.Input[builtins.str] name: A name for the node pool.
|
|
666
|
+
:param pulumi.Input[builtins.int] node_count: 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.
|
|
666
667
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolNodeArgs', 'KubernetesNodePoolNodeArgsDict']]]] nodes: A list of nodes in the pool. Each node exports the following attributes:
|
|
667
|
-
:param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
668
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
668
|
+
:param pulumi.Input[Union[builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
669
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
|
|
669
670
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]] taints: A list of taints applied to all nodes in the pool.
|
|
670
671
|
|
|
671
672
|
This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
@@ -690,7 +691,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
690
691
|
|
|
691
692
|
@property
|
|
692
693
|
@pulumi.getter(name="actualNodeCount")
|
|
693
|
-
def actual_node_count(self) -> pulumi.Output[int]:
|
|
694
|
+
def actual_node_count(self) -> pulumi.Output[builtins.int]:
|
|
694
695
|
"""
|
|
695
696
|
A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
|
|
696
697
|
"""
|
|
@@ -698,7 +699,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
698
699
|
|
|
699
700
|
@property
|
|
700
701
|
@pulumi.getter(name="autoScale")
|
|
701
|
-
def auto_scale(self) -> pulumi.Output[Optional[bool]]:
|
|
702
|
+
def auto_scale(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
702
703
|
"""
|
|
703
704
|
Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
|
|
704
705
|
"""
|
|
@@ -706,7 +707,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
706
707
|
|
|
707
708
|
@property
|
|
708
709
|
@pulumi.getter(name="clusterId")
|
|
709
|
-
def cluster_id(self) -> pulumi.Output[str]:
|
|
710
|
+
def cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
710
711
|
"""
|
|
711
712
|
The ID of the Kubernetes cluster to which the node pool is associated.
|
|
712
713
|
"""
|
|
@@ -714,7 +715,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
714
715
|
|
|
715
716
|
@property
|
|
716
717
|
@pulumi.getter
|
|
717
|
-
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
718
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
718
719
|
"""
|
|
719
720
|
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](https://kubernetes.io/docs/concepts/architecture/nodes/).
|
|
720
721
|
"""
|
|
@@ -722,7 +723,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
722
723
|
|
|
723
724
|
@property
|
|
724
725
|
@pulumi.getter(name="maxNodes")
|
|
725
|
-
def max_nodes(self) -> pulumi.Output[Optional[int]]:
|
|
726
|
+
def max_nodes(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
726
727
|
"""
|
|
727
728
|
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
|
|
728
729
|
"""
|
|
@@ -730,7 +731,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
730
731
|
|
|
731
732
|
@property
|
|
732
733
|
@pulumi.getter(name="minNodes")
|
|
733
|
-
def min_nodes(self) -> pulumi.Output[Optional[int]]:
|
|
734
|
+
def min_nodes(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
734
735
|
"""
|
|
735
736
|
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
|
|
736
737
|
"""
|
|
@@ -738,7 +739,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
738
739
|
|
|
739
740
|
@property
|
|
740
741
|
@pulumi.getter
|
|
741
|
-
def name(self) -> pulumi.Output[str]:
|
|
742
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
742
743
|
"""
|
|
743
744
|
A name for the node pool.
|
|
744
745
|
"""
|
|
@@ -746,7 +747,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
746
747
|
|
|
747
748
|
@property
|
|
748
749
|
@pulumi.getter(name="nodeCount")
|
|
749
|
-
def node_count(self) -> pulumi.Output[Optional[int]]:
|
|
750
|
+
def node_count(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
750
751
|
"""
|
|
751
752
|
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.
|
|
752
753
|
"""
|
|
@@ -762,7 +763,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
762
763
|
|
|
763
764
|
@property
|
|
764
765
|
@pulumi.getter
|
|
765
|
-
def size(self) -> pulumi.Output[str]:
|
|
766
|
+
def size(self) -> pulumi.Output[builtins.str]:
|
|
766
767
|
"""
|
|
767
768
|
The slug identifier for the type of Droplet to be used as workers in the node pool.
|
|
768
769
|
"""
|
|
@@ -770,7 +771,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
770
771
|
|
|
771
772
|
@property
|
|
772
773
|
@pulumi.getter
|
|
773
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
774
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
774
775
|
"""
|
|
775
776
|
A list of tag names to be applied to the Kubernetes cluster.
|
|
776
777
|
"""
|