pulumi-digitalocean 4.52.0a1755711873__py3-none-any.whl → 4.53.0__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 +9 -0
- pulumi_digitalocean/_inputs.py +171 -0
- pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
- pulumi_digitalocean/database_valkey_config.py +14 -42
- pulumi_digitalocean/get_kubernetes_cluster.py +33 -3
- pulumi_digitalocean/kubernetes_cluster.py +94 -0
- pulumi_digitalocean/outputs.py +124 -0
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- {pulumi_digitalocean-4.52.0a1755711873.dist-info → pulumi_digitalocean-4.53.0.dist-info}/METADATA +1 -1
- {pulumi_digitalocean-4.52.0a1755711873.dist-info → pulumi_digitalocean-4.53.0.dist-info}/RECORD +12 -11
- {pulumi_digitalocean-4.52.0a1755711873.dist-info → pulumi_digitalocean-4.53.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.52.0a1755711873.dist-info → pulumi_digitalocean-4.53.0.dist-info}/top_level.txt +0 -0
|
@@ -36,9 +36,7 @@ class DatabaseValkeyConfigArgs:
|
|
|
36
36
|
The set of arguments for constructing a DatabaseValkeyConfig resource.
|
|
37
37
|
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target Valkey cluster.
|
|
38
38
|
:param pulumi.Input[_builtins.str] acl_channels_default: Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Valkey' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
|
|
39
|
-
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
40
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
41
|
-
valkey_persistence is set to off.
|
|
39
|
+
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
42
40
|
:param pulumi.Input[_builtins.int] io_threads: The Valkey IO thread count.
|
|
43
41
|
:param pulumi.Input[_builtins.int] lfu_decay_time: The LFU maxmemory policy counter decay time in minutes.
|
|
44
42
|
:param pulumi.Input[_builtins.int] lfu_log_factor: The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
|
|
@@ -48,9 +46,7 @@ class DatabaseValkeyConfigArgs:
|
|
|
48
46
|
:param pulumi.Input[_builtins.int] pubsub_client_output_buffer_limit: The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
49
47
|
:param pulumi.Input[_builtins.bool] ssl: A boolean indicating whether to require SSL to access Valkey.
|
|
50
48
|
:param pulumi.Input[_builtins.int] timeout: The Valkey idle connection timeout in seconds.
|
|
51
|
-
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
52
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
53
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
49
|
+
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
54
50
|
"""
|
|
55
51
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
56
52
|
if acl_channels_default is not None:
|
|
@@ -106,9 +102,7 @@ class DatabaseValkeyConfigArgs:
|
|
|
106
102
|
@pulumi.getter(name="frequentSnapshots")
|
|
107
103
|
def frequent_snapshots(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
108
104
|
"""
|
|
109
|
-
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
110
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
111
|
-
valkey_persistence is set to off.
|
|
105
|
+
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
112
106
|
"""
|
|
113
107
|
return pulumi.get(self, "frequent_snapshots")
|
|
114
108
|
|
|
@@ -228,9 +222,7 @@ class DatabaseValkeyConfigArgs:
|
|
|
228
222
|
@pulumi.getter(name="valkeyActiveExpireEffort")
|
|
229
223
|
def valkey_active_expire_effort(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
230
224
|
"""
|
|
231
|
-
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
232
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
233
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
225
|
+
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
234
226
|
"""
|
|
235
227
|
return pulumi.get(self, "valkey_active_expire_effort")
|
|
236
228
|
|
|
@@ -259,9 +251,7 @@ class _DatabaseValkeyConfigState:
|
|
|
259
251
|
Input properties used for looking up and filtering DatabaseValkeyConfig resources.
|
|
260
252
|
:param pulumi.Input[_builtins.str] acl_channels_default: Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Valkey' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
|
|
261
253
|
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target Valkey cluster.
|
|
262
|
-
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
263
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
264
|
-
valkey_persistence is set to off.
|
|
254
|
+
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
265
255
|
:param pulumi.Input[_builtins.int] io_threads: The Valkey IO thread count.
|
|
266
256
|
:param pulumi.Input[_builtins.int] lfu_decay_time: The LFU maxmemory policy counter decay time in minutes.
|
|
267
257
|
:param pulumi.Input[_builtins.int] lfu_log_factor: The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
|
|
@@ -271,9 +261,7 @@ class _DatabaseValkeyConfigState:
|
|
|
271
261
|
:param pulumi.Input[_builtins.int] pubsub_client_output_buffer_limit: The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
272
262
|
:param pulumi.Input[_builtins.bool] ssl: A boolean indicating whether to require SSL to access Valkey.
|
|
273
263
|
:param pulumi.Input[_builtins.int] timeout: The Valkey idle connection timeout in seconds.
|
|
274
|
-
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
275
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
276
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
264
|
+
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
277
265
|
"""
|
|
278
266
|
if acl_channels_default is not None:
|
|
279
267
|
pulumi.set(__self__, "acl_channels_default", acl_channels_default)
|
|
@@ -330,9 +318,7 @@ class _DatabaseValkeyConfigState:
|
|
|
330
318
|
@pulumi.getter(name="frequentSnapshots")
|
|
331
319
|
def frequent_snapshots(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
332
320
|
"""
|
|
333
|
-
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
334
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
335
|
-
valkey_persistence is set to off.
|
|
321
|
+
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
336
322
|
"""
|
|
337
323
|
return pulumi.get(self, "frequent_snapshots")
|
|
338
324
|
|
|
@@ -452,9 +438,7 @@ class _DatabaseValkeyConfigState:
|
|
|
452
438
|
@pulumi.getter(name="valkeyActiveExpireEffort")
|
|
453
439
|
def valkey_active_expire_effort(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
454
440
|
"""
|
|
455
|
-
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
456
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
457
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
441
|
+
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
458
442
|
"""
|
|
459
443
|
return pulumi.get(self, "valkey_active_expire_effort")
|
|
460
444
|
|
|
@@ -520,9 +504,7 @@ class DatabaseValkeyConfig(pulumi.CustomResource):
|
|
|
520
504
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
521
505
|
:param pulumi.Input[_builtins.str] acl_channels_default: Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Valkey' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
|
|
522
506
|
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target Valkey cluster.
|
|
523
|
-
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
524
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
525
|
-
valkey_persistence is set to off.
|
|
507
|
+
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
526
508
|
:param pulumi.Input[_builtins.int] io_threads: The Valkey IO thread count.
|
|
527
509
|
:param pulumi.Input[_builtins.int] lfu_decay_time: The LFU maxmemory policy counter decay time in minutes.
|
|
528
510
|
:param pulumi.Input[_builtins.int] lfu_log_factor: The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
|
|
@@ -532,9 +514,7 @@ class DatabaseValkeyConfig(pulumi.CustomResource):
|
|
|
532
514
|
:param pulumi.Input[_builtins.int] pubsub_client_output_buffer_limit: The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
533
515
|
:param pulumi.Input[_builtins.bool] ssl: A boolean indicating whether to require SSL to access Valkey.
|
|
534
516
|
:param pulumi.Input[_builtins.int] timeout: The Valkey idle connection timeout in seconds.
|
|
535
|
-
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
536
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
537
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
517
|
+
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
538
518
|
"""
|
|
539
519
|
...
|
|
540
520
|
@overload
|
|
@@ -659,9 +639,7 @@ class DatabaseValkeyConfig(pulumi.CustomResource):
|
|
|
659
639
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
660
640
|
:param pulumi.Input[_builtins.str] acl_channels_default: Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Valkey' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
|
|
661
641
|
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target Valkey cluster.
|
|
662
|
-
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
663
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
664
|
-
valkey_persistence is set to off.
|
|
642
|
+
:param pulumi.Input[_builtins.bool] frequent_snapshots: Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
665
643
|
:param pulumi.Input[_builtins.int] io_threads: The Valkey IO thread count.
|
|
666
644
|
:param pulumi.Input[_builtins.int] lfu_decay_time: The LFU maxmemory policy counter decay time in minutes.
|
|
667
645
|
:param pulumi.Input[_builtins.int] lfu_log_factor: The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
|
|
@@ -671,9 +649,7 @@ class DatabaseValkeyConfig(pulumi.CustomResource):
|
|
|
671
649
|
:param pulumi.Input[_builtins.int] pubsub_client_output_buffer_limit: The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
672
650
|
:param pulumi.Input[_builtins.bool] ssl: A boolean indicating whether to require SSL to access Valkey.
|
|
673
651
|
:param pulumi.Input[_builtins.int] timeout: The Valkey idle connection timeout in seconds.
|
|
674
|
-
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
675
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
676
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
652
|
+
:param pulumi.Input[_builtins.int] valkey_active_expire_effort: Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
677
653
|
"""
|
|
678
654
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
679
655
|
|
|
@@ -714,9 +690,7 @@ class DatabaseValkeyConfig(pulumi.CustomResource):
|
|
|
714
690
|
@pulumi.getter(name="frequentSnapshots")
|
|
715
691
|
def frequent_snapshots(self) -> pulumi.Output[_builtins.bool]:
|
|
716
692
|
"""
|
|
717
|
-
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only
|
|
718
|
-
take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when
|
|
719
|
-
valkey_persistence is set to off.
|
|
693
|
+
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
|
|
720
694
|
"""
|
|
721
695
|
return pulumi.get(self, "frequent_snapshots")
|
|
722
696
|
|
|
@@ -796,9 +770,7 @@ class DatabaseValkeyConfig(pulumi.CustomResource):
|
|
|
796
770
|
@pulumi.getter(name="valkeyActiveExpireEffort")
|
|
797
771
|
def valkey_active_expire_effort(self) -> pulumi.Output[_builtins.int]:
|
|
798
772
|
"""
|
|
799
|
-
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process
|
|
800
|
-
scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to
|
|
801
|
-
reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
773
|
+
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
|
|
802
774
|
"""
|
|
803
775
|
return pulumi.get(self, "valkey_active_expire_effort")
|
|
804
776
|
|
|
@@ -28,7 +28,13 @@ class GetKubernetesClusterResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getKubernetesCluster.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, auto_upgrade=None, cluster_autoscaler_configurations=None, cluster_subnet=None, control_plane_firewalls=None, created_at=None, endpoint=None, ha=None, id=None, ipv4_address=None, kube_configs=None, kubeconfig_expire_seconds=None, maintenance_policies=None, name=None, node_pools=None, region=None, routing_agent=None, service_subnet=None, status=None, surge_upgrade=None, tags=None, updated_at=None, urn=None, version=None, vpc_uuid=None):
|
|
31
|
+
def __init__(__self__, amd_gpu_device_metrics_exporter_plugin=None, amd_gpu_device_plugin=None, auto_upgrade=None, cluster_autoscaler_configurations=None, cluster_subnet=None, control_plane_firewalls=None, created_at=None, endpoint=None, ha=None, id=None, ipv4_address=None, kube_configs=None, kubeconfig_expire_seconds=None, maintenance_policies=None, name=None, node_pools=None, region=None, routing_agent=None, service_subnet=None, status=None, surge_upgrade=None, tags=None, updated_at=None, urn=None, version=None, vpc_uuid=None):
|
|
32
|
+
if amd_gpu_device_metrics_exporter_plugin and not isinstance(amd_gpu_device_metrics_exporter_plugin, dict):
|
|
33
|
+
raise TypeError("Expected argument 'amd_gpu_device_metrics_exporter_plugin' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "amd_gpu_device_metrics_exporter_plugin", amd_gpu_device_metrics_exporter_plugin)
|
|
35
|
+
if amd_gpu_device_plugin and not isinstance(amd_gpu_device_plugin, dict):
|
|
36
|
+
raise TypeError("Expected argument 'amd_gpu_device_plugin' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "amd_gpu_device_plugin", amd_gpu_device_plugin)
|
|
32
38
|
if auto_upgrade and not isinstance(auto_upgrade, bool):
|
|
33
39
|
raise TypeError("Expected argument 'auto_upgrade' to be a bool")
|
|
34
40
|
pulumi.set(__self__, "auto_upgrade", auto_upgrade)
|
|
@@ -102,6 +108,16 @@ class GetKubernetesClusterResult:
|
|
|
102
108
|
raise TypeError("Expected argument 'vpc_uuid' to be a str")
|
|
103
109
|
pulumi.set(__self__, "vpc_uuid", vpc_uuid)
|
|
104
110
|
|
|
111
|
+
@_builtins.property
|
|
112
|
+
@pulumi.getter(name="amdGpuDeviceMetricsExporterPlugin")
|
|
113
|
+
def amd_gpu_device_metrics_exporter_plugin(self) -> 'outputs.GetKubernetesClusterAmdGpuDeviceMetricsExporterPluginResult':
|
|
114
|
+
return pulumi.get(self, "amd_gpu_device_metrics_exporter_plugin")
|
|
115
|
+
|
|
116
|
+
@_builtins.property
|
|
117
|
+
@pulumi.getter(name="amdGpuDevicePlugin")
|
|
118
|
+
def amd_gpu_device_plugin(self) -> 'outputs.GetKubernetesClusterAmdGpuDevicePluginResult':
|
|
119
|
+
return pulumi.get(self, "amd_gpu_device_plugin")
|
|
120
|
+
|
|
105
121
|
@_builtins.property
|
|
106
122
|
@pulumi.getter(name="autoUpgrade")
|
|
107
123
|
def auto_upgrade(self) -> _builtins.bool:
|
|
@@ -283,6 +299,8 @@ class AwaitableGetKubernetesClusterResult(GetKubernetesClusterResult):
|
|
|
283
299
|
if False:
|
|
284
300
|
yield self
|
|
285
301
|
return GetKubernetesClusterResult(
|
|
302
|
+
amd_gpu_device_metrics_exporter_plugin=self.amd_gpu_device_metrics_exporter_plugin,
|
|
303
|
+
amd_gpu_device_plugin=self.amd_gpu_device_plugin,
|
|
286
304
|
auto_upgrade=self.auto_upgrade,
|
|
287
305
|
cluster_autoscaler_configurations=self.cluster_autoscaler_configurations,
|
|
288
306
|
cluster_subnet=self.cluster_subnet,
|
|
@@ -309,7 +327,9 @@ class AwaitableGetKubernetesClusterResult(GetKubernetesClusterResult):
|
|
|
309
327
|
vpc_uuid=self.vpc_uuid)
|
|
310
328
|
|
|
311
329
|
|
|
312
|
-
def get_kubernetes_cluster(
|
|
330
|
+
def get_kubernetes_cluster(amd_gpu_device_metrics_exporter_plugin: Optional[Union['GetKubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'GetKubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']] = None,
|
|
331
|
+
amd_gpu_device_plugin: Optional[Union['GetKubernetesClusterAmdGpuDevicePluginArgs', 'GetKubernetesClusterAmdGpuDevicePluginArgsDict']] = None,
|
|
332
|
+
cluster_autoscaler_configurations: Optional[Sequence[Union['GetKubernetesClusterClusterAutoscalerConfigurationArgs', 'GetKubernetesClusterClusterAutoscalerConfigurationArgsDict']]] = None,
|
|
313
333
|
kubeconfig_expire_seconds: Optional[_builtins.int] = None,
|
|
314
334
|
name: Optional[_builtins.str] = None,
|
|
315
335
|
routing_agent: Optional[Union['GetKubernetesClusterRoutingAgentArgs', 'GetKubernetesClusterRoutingAgentArgsDict']] = None,
|
|
@@ -332,6 +352,8 @@ def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[
|
|
|
332
352
|
:param Sequence[_builtins.str] tags: A list of tag names applied to the node pool.
|
|
333
353
|
"""
|
|
334
354
|
__args__ = dict()
|
|
355
|
+
__args__['amdGpuDeviceMetricsExporterPlugin'] = amd_gpu_device_metrics_exporter_plugin
|
|
356
|
+
__args__['amdGpuDevicePlugin'] = amd_gpu_device_plugin
|
|
335
357
|
__args__['clusterAutoscalerConfigurations'] = cluster_autoscaler_configurations
|
|
336
358
|
__args__['kubeconfigExpireSeconds'] = kubeconfig_expire_seconds
|
|
337
359
|
__args__['name'] = name
|
|
@@ -341,6 +363,8 @@ def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[
|
|
|
341
363
|
__ret__ = pulumi.runtime.invoke('digitalocean:index/getKubernetesCluster:getKubernetesCluster', __args__, opts=opts, typ=GetKubernetesClusterResult).value
|
|
342
364
|
|
|
343
365
|
return AwaitableGetKubernetesClusterResult(
|
|
366
|
+
amd_gpu_device_metrics_exporter_plugin=pulumi.get(__ret__, 'amd_gpu_device_metrics_exporter_plugin'),
|
|
367
|
+
amd_gpu_device_plugin=pulumi.get(__ret__, 'amd_gpu_device_plugin'),
|
|
344
368
|
auto_upgrade=pulumi.get(__ret__, 'auto_upgrade'),
|
|
345
369
|
cluster_autoscaler_configurations=pulumi.get(__ret__, 'cluster_autoscaler_configurations'),
|
|
346
370
|
cluster_subnet=pulumi.get(__ret__, 'cluster_subnet'),
|
|
@@ -365,7 +389,9 @@ def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[
|
|
|
365
389
|
urn=pulumi.get(__ret__, 'urn'),
|
|
366
390
|
version=pulumi.get(__ret__, 'version'),
|
|
367
391
|
vpc_uuid=pulumi.get(__ret__, 'vpc_uuid'))
|
|
368
|
-
def get_kubernetes_cluster_output(
|
|
392
|
+
def get_kubernetes_cluster_output(amd_gpu_device_metrics_exporter_plugin: Optional[pulumi.Input[Optional[Union['GetKubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'GetKubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']]]] = None,
|
|
393
|
+
amd_gpu_device_plugin: Optional[pulumi.Input[Optional[Union['GetKubernetesClusterAmdGpuDevicePluginArgs', 'GetKubernetesClusterAmdGpuDevicePluginArgsDict']]]] = None,
|
|
394
|
+
cluster_autoscaler_configurations: Optional[pulumi.Input[Optional[Sequence[Union['GetKubernetesClusterClusterAutoscalerConfigurationArgs', 'GetKubernetesClusterClusterAutoscalerConfigurationArgsDict']]]]] = None,
|
|
369
395
|
kubeconfig_expire_seconds: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
370
396
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
371
397
|
routing_agent: Optional[pulumi.Input[Optional[Union['GetKubernetesClusterRoutingAgentArgs', 'GetKubernetesClusterRoutingAgentArgsDict']]]] = None,
|
|
@@ -388,6 +414,8 @@ def get_kubernetes_cluster_output(cluster_autoscaler_configurations: Optional[pu
|
|
|
388
414
|
:param Sequence[_builtins.str] tags: A list of tag names applied to the node pool.
|
|
389
415
|
"""
|
|
390
416
|
__args__ = dict()
|
|
417
|
+
__args__['amdGpuDeviceMetricsExporterPlugin'] = amd_gpu_device_metrics_exporter_plugin
|
|
418
|
+
__args__['amdGpuDevicePlugin'] = amd_gpu_device_plugin
|
|
391
419
|
__args__['clusterAutoscalerConfigurations'] = cluster_autoscaler_configurations
|
|
392
420
|
__args__['kubeconfigExpireSeconds'] = kubeconfig_expire_seconds
|
|
393
421
|
__args__['name'] = name
|
|
@@ -396,6 +424,8 @@ def get_kubernetes_cluster_output(cluster_autoscaler_configurations: Optional[pu
|
|
|
396
424
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
397
425
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getKubernetesCluster:getKubernetesCluster', __args__, opts=opts, typ=GetKubernetesClusterResult)
|
|
398
426
|
return __ret__.apply(lambda __response__: GetKubernetesClusterResult(
|
|
427
|
+
amd_gpu_device_metrics_exporter_plugin=pulumi.get(__response__, 'amd_gpu_device_metrics_exporter_plugin'),
|
|
428
|
+
amd_gpu_device_plugin=pulumi.get(__response__, 'amd_gpu_device_plugin'),
|
|
399
429
|
auto_upgrade=pulumi.get(__response__, 'auto_upgrade'),
|
|
400
430
|
cluster_autoscaler_configurations=pulumi.get(__response__, 'cluster_autoscaler_configurations'),
|
|
401
431
|
cluster_subnet=pulumi.get(__response__, 'cluster_subnet'),
|
|
@@ -25,6 +25,8 @@ class KubernetesClusterArgs:
|
|
|
25
25
|
node_pool: pulumi.Input['KubernetesClusterNodePoolArgs'],
|
|
26
26
|
region: pulumi.Input[Union[_builtins.str, 'Region']],
|
|
27
27
|
version: pulumi.Input[_builtins.str],
|
|
28
|
+
amd_gpu_device_metrics_exporter_plugin: Optional[pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs']] = None,
|
|
29
|
+
amd_gpu_device_plugin: Optional[pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs']] = None,
|
|
28
30
|
auto_upgrade: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
31
|
cluster_autoscaler_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]]] = None,
|
|
30
32
|
cluster_subnet: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -45,6 +47,8 @@ class KubernetesClusterArgs:
|
|
|
45
47
|
:param pulumi.Input['KubernetesClusterNodePoolArgs'] node_pool: A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the `KubernetesNodePool` resource. The following arguments may be specified:
|
|
46
48
|
:param pulumi.Input[Union[_builtins.str, 'Region']] region: The slug identifier for the region where the Kubernetes cluster will be created.
|
|
47
49
|
:param pulumi.Input[_builtins.str] version: The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/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.)
|
|
50
|
+
:param pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs'] amd_gpu_device_metrics_exporter_plugin: Block containing options for the AMD GPU device metrics exporter component.
|
|
51
|
+
:param pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs'] amd_gpu_device_plugin: Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
48
52
|
:param pulumi.Input[_builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
49
53
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
50
54
|
:param pulumi.Input[_builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
@@ -64,6 +68,10 @@ class KubernetesClusterArgs:
|
|
|
64
68
|
pulumi.set(__self__, "node_pool", node_pool)
|
|
65
69
|
pulumi.set(__self__, "region", region)
|
|
66
70
|
pulumi.set(__self__, "version", version)
|
|
71
|
+
if amd_gpu_device_metrics_exporter_plugin is not None:
|
|
72
|
+
pulumi.set(__self__, "amd_gpu_device_metrics_exporter_plugin", amd_gpu_device_metrics_exporter_plugin)
|
|
73
|
+
if amd_gpu_device_plugin is not None:
|
|
74
|
+
pulumi.set(__self__, "amd_gpu_device_plugin", amd_gpu_device_plugin)
|
|
67
75
|
if auto_upgrade is not None:
|
|
68
76
|
pulumi.set(__self__, "auto_upgrade", auto_upgrade)
|
|
69
77
|
if cluster_autoscaler_configurations is not None:
|
|
@@ -131,6 +139,30 @@ class KubernetesClusterArgs:
|
|
|
131
139
|
def version(self, value: pulumi.Input[_builtins.str]):
|
|
132
140
|
pulumi.set(self, "version", value)
|
|
133
141
|
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter(name="amdGpuDeviceMetricsExporterPlugin")
|
|
144
|
+
def amd_gpu_device_metrics_exporter_plugin(self) -> Optional[pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs']]:
|
|
145
|
+
"""
|
|
146
|
+
Block containing options for the AMD GPU device metrics exporter component.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "amd_gpu_device_metrics_exporter_plugin")
|
|
149
|
+
|
|
150
|
+
@amd_gpu_device_metrics_exporter_plugin.setter
|
|
151
|
+
def amd_gpu_device_metrics_exporter_plugin(self, value: Optional[pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs']]):
|
|
152
|
+
pulumi.set(self, "amd_gpu_device_metrics_exporter_plugin", value)
|
|
153
|
+
|
|
154
|
+
@_builtins.property
|
|
155
|
+
@pulumi.getter(name="amdGpuDevicePlugin")
|
|
156
|
+
def amd_gpu_device_plugin(self) -> Optional[pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs']]:
|
|
157
|
+
"""
|
|
158
|
+
Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "amd_gpu_device_plugin")
|
|
161
|
+
|
|
162
|
+
@amd_gpu_device_plugin.setter
|
|
163
|
+
def amd_gpu_device_plugin(self, value: Optional[pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs']]):
|
|
164
|
+
pulumi.set(self, "amd_gpu_device_plugin", value)
|
|
165
|
+
|
|
134
166
|
@_builtins.property
|
|
135
167
|
@pulumi.getter(name="autoUpgrade")
|
|
136
168
|
def auto_upgrade(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -315,6 +347,8 @@ class KubernetesClusterArgs:
|
|
|
315
347
|
@pulumi.input_type
|
|
316
348
|
class _KubernetesClusterState:
|
|
317
349
|
def __init__(__self__, *,
|
|
350
|
+
amd_gpu_device_metrics_exporter_plugin: Optional[pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs']] = None,
|
|
351
|
+
amd_gpu_device_plugin: Optional[pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs']] = None,
|
|
318
352
|
auto_upgrade: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
319
353
|
cluster_autoscaler_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]]] = None,
|
|
320
354
|
cluster_subnet: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -342,6 +376,8 @@ class _KubernetesClusterState:
|
|
|
342
376
|
vpc_uuid: Optional[pulumi.Input[_builtins.str]] = None):
|
|
343
377
|
"""
|
|
344
378
|
Input properties used for looking up and filtering KubernetesCluster resources.
|
|
379
|
+
:param pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs'] amd_gpu_device_metrics_exporter_plugin: Block containing options for the AMD GPU device metrics exporter component.
|
|
380
|
+
:param pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs'] amd_gpu_device_plugin: Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
345
381
|
:param pulumi.Input[_builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
346
382
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
347
383
|
:param pulumi.Input[_builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
@@ -368,6 +404,10 @@ class _KubernetesClusterState:
|
|
|
368
404
|
:param pulumi.Input[_builtins.str] version: The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/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.)
|
|
369
405
|
:param pulumi.Input[_builtins.str] vpc_uuid: The ID of the VPC where the Kubernetes cluster will be located.
|
|
370
406
|
"""
|
|
407
|
+
if amd_gpu_device_metrics_exporter_plugin is not None:
|
|
408
|
+
pulumi.set(__self__, "amd_gpu_device_metrics_exporter_plugin", amd_gpu_device_metrics_exporter_plugin)
|
|
409
|
+
if amd_gpu_device_plugin is not None:
|
|
410
|
+
pulumi.set(__self__, "amd_gpu_device_plugin", amd_gpu_device_plugin)
|
|
371
411
|
if auto_upgrade is not None:
|
|
372
412
|
pulumi.set(__self__, "auto_upgrade", auto_upgrade)
|
|
373
413
|
if cluster_autoscaler_configurations is not None:
|
|
@@ -419,6 +459,30 @@ class _KubernetesClusterState:
|
|
|
419
459
|
if vpc_uuid is not None:
|
|
420
460
|
pulumi.set(__self__, "vpc_uuid", vpc_uuid)
|
|
421
461
|
|
|
462
|
+
@_builtins.property
|
|
463
|
+
@pulumi.getter(name="amdGpuDeviceMetricsExporterPlugin")
|
|
464
|
+
def amd_gpu_device_metrics_exporter_plugin(self) -> Optional[pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs']]:
|
|
465
|
+
"""
|
|
466
|
+
Block containing options for the AMD GPU device metrics exporter component.
|
|
467
|
+
"""
|
|
468
|
+
return pulumi.get(self, "amd_gpu_device_metrics_exporter_plugin")
|
|
469
|
+
|
|
470
|
+
@amd_gpu_device_metrics_exporter_plugin.setter
|
|
471
|
+
def amd_gpu_device_metrics_exporter_plugin(self, value: Optional[pulumi.Input['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs']]):
|
|
472
|
+
pulumi.set(self, "amd_gpu_device_metrics_exporter_plugin", value)
|
|
473
|
+
|
|
474
|
+
@_builtins.property
|
|
475
|
+
@pulumi.getter(name="amdGpuDevicePlugin")
|
|
476
|
+
def amd_gpu_device_plugin(self) -> Optional[pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs']]:
|
|
477
|
+
"""
|
|
478
|
+
Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
479
|
+
"""
|
|
480
|
+
return pulumi.get(self, "amd_gpu_device_plugin")
|
|
481
|
+
|
|
482
|
+
@amd_gpu_device_plugin.setter
|
|
483
|
+
def amd_gpu_device_plugin(self, value: Optional[pulumi.Input['KubernetesClusterAmdGpuDevicePluginArgs']]):
|
|
484
|
+
pulumi.set(self, "amd_gpu_device_plugin", value)
|
|
485
|
+
|
|
422
486
|
@_builtins.property
|
|
423
487
|
@pulumi.getter(name="autoUpgrade")
|
|
424
488
|
def auto_upgrade(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -726,6 +790,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
726
790
|
def __init__(__self__,
|
|
727
791
|
resource_name: str,
|
|
728
792
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
793
|
+
amd_gpu_device_metrics_exporter_plugin: Optional[pulumi.Input[Union['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']]] = None,
|
|
794
|
+
amd_gpu_device_plugin: Optional[pulumi.Input[Union['KubernetesClusterAmdGpuDevicePluginArgs', 'KubernetesClusterAmdGpuDevicePluginArgsDict']]] = None,
|
|
729
795
|
auto_upgrade: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
730
796
|
cluster_autoscaler_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]]] = None,
|
|
731
797
|
cluster_subnet: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -774,6 +840,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
774
840
|
|
|
775
841
|
:param str resource_name: The name of the resource.
|
|
776
842
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
843
|
+
:param pulumi.Input[Union['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']] amd_gpu_device_metrics_exporter_plugin: Block containing options for the AMD GPU device metrics exporter component.
|
|
844
|
+
:param pulumi.Input[Union['KubernetesClusterAmdGpuDevicePluginArgs', 'KubernetesClusterAmdGpuDevicePluginArgsDict']] amd_gpu_device_plugin: Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
777
845
|
:param pulumi.Input[_builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
778
846
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
779
847
|
:param pulumi.Input[_builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
@@ -841,6 +909,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
841
909
|
def _internal_init(__self__,
|
|
842
910
|
resource_name: str,
|
|
843
911
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
912
|
+
amd_gpu_device_metrics_exporter_plugin: Optional[pulumi.Input[Union['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']]] = None,
|
|
913
|
+
amd_gpu_device_plugin: Optional[pulumi.Input[Union['KubernetesClusterAmdGpuDevicePluginArgs', 'KubernetesClusterAmdGpuDevicePluginArgsDict']]] = None,
|
|
844
914
|
auto_upgrade: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
845
915
|
cluster_autoscaler_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]]] = None,
|
|
846
916
|
cluster_subnet: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -868,6 +938,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
868
938
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
869
939
|
__props__ = KubernetesClusterArgs.__new__(KubernetesClusterArgs)
|
|
870
940
|
|
|
941
|
+
__props__.__dict__["amd_gpu_device_metrics_exporter_plugin"] = amd_gpu_device_metrics_exporter_plugin
|
|
942
|
+
__props__.__dict__["amd_gpu_device_plugin"] = amd_gpu_device_plugin
|
|
871
943
|
__props__.__dict__["auto_upgrade"] = auto_upgrade
|
|
872
944
|
__props__.__dict__["cluster_autoscaler_configurations"] = cluster_autoscaler_configurations
|
|
873
945
|
__props__.__dict__["cluster_subnet"] = cluster_subnet
|
|
@@ -911,6 +983,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
911
983
|
def get(resource_name: str,
|
|
912
984
|
id: pulumi.Input[str],
|
|
913
985
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
986
|
+
amd_gpu_device_metrics_exporter_plugin: Optional[pulumi.Input[Union['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']]] = None,
|
|
987
|
+
amd_gpu_device_plugin: Optional[pulumi.Input[Union['KubernetesClusterAmdGpuDevicePluginArgs', 'KubernetesClusterAmdGpuDevicePluginArgsDict']]] = None,
|
|
914
988
|
auto_upgrade: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
915
989
|
cluster_autoscaler_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]]] = None,
|
|
916
990
|
cluster_subnet: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -943,6 +1017,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
943
1017
|
:param str resource_name: The unique name of the resulting resource.
|
|
944
1018
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
945
1019
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1020
|
+
:param pulumi.Input[Union['KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgs', 'KubernetesClusterAmdGpuDeviceMetricsExporterPluginArgsDict']] amd_gpu_device_metrics_exporter_plugin: Block containing options for the AMD GPU device metrics exporter component.
|
|
1021
|
+
:param pulumi.Input[Union['KubernetesClusterAmdGpuDevicePluginArgs', 'KubernetesClusterAmdGpuDevicePluginArgsDict']] amd_gpu_device_plugin: Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
946
1022
|
:param pulumi.Input[_builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
947
1023
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
948
1024
|
:param pulumi.Input[_builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
@@ -973,6 +1049,8 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
973
1049
|
|
|
974
1050
|
__props__ = _KubernetesClusterState.__new__(_KubernetesClusterState)
|
|
975
1051
|
|
|
1052
|
+
__props__.__dict__["amd_gpu_device_metrics_exporter_plugin"] = amd_gpu_device_metrics_exporter_plugin
|
|
1053
|
+
__props__.__dict__["amd_gpu_device_plugin"] = amd_gpu_device_plugin
|
|
976
1054
|
__props__.__dict__["auto_upgrade"] = auto_upgrade
|
|
977
1055
|
__props__.__dict__["cluster_autoscaler_configurations"] = cluster_autoscaler_configurations
|
|
978
1056
|
__props__.__dict__["cluster_subnet"] = cluster_subnet
|
|
@@ -1000,6 +1078,22 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1000
1078
|
__props__.__dict__["vpc_uuid"] = vpc_uuid
|
|
1001
1079
|
return KubernetesCluster(resource_name, opts=opts, __props__=__props__)
|
|
1002
1080
|
|
|
1081
|
+
@_builtins.property
|
|
1082
|
+
@pulumi.getter(name="amdGpuDeviceMetricsExporterPlugin")
|
|
1083
|
+
def amd_gpu_device_metrics_exporter_plugin(self) -> pulumi.Output['outputs.KubernetesClusterAmdGpuDeviceMetricsExporterPlugin']:
|
|
1084
|
+
"""
|
|
1085
|
+
Block containing options for the AMD GPU device metrics exporter component.
|
|
1086
|
+
"""
|
|
1087
|
+
return pulumi.get(self, "amd_gpu_device_metrics_exporter_plugin")
|
|
1088
|
+
|
|
1089
|
+
@_builtins.property
|
|
1090
|
+
@pulumi.getter(name="amdGpuDevicePlugin")
|
|
1091
|
+
def amd_gpu_device_plugin(self) -> pulumi.Output['outputs.KubernetesClusterAmdGpuDevicePlugin']:
|
|
1092
|
+
"""
|
|
1093
|
+
Block containing options for the AMD GPU device plugin component. If not specified, the component will be enabled by default for clusters with AMD GPU nodes.
|
|
1094
|
+
"""
|
|
1095
|
+
return pulumi.get(self, "amd_gpu_device_plugin")
|
|
1096
|
+
|
|
1003
1097
|
@_builtins.property
|
|
1004
1098
|
@pulumi.getter(name="autoUpgrade")
|
|
1005
1099
|
def auto_upgrade(self) -> pulumi.Output[Optional[_builtins.bool]]:
|