@upcloud/pulumi-upcloud 0.5.0 → 0.6.0-alpha.1756908457

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.
Files changed (172) hide show
  1. package/config/index.js +1 -1
  2. package/config/index.js.map +1 -1
  3. package/config/vars.d.ts +2 -4
  4. package/config/vars.js +1 -1
  5. package/config/vars.js.map +1 -1
  6. package/floatingIpAddress.d.ts +3 -6
  7. package/floatingIpAddress.js +11 -11
  8. package/floatingIpAddress.js.map +1 -1
  9. package/gateway.d.ts +5 -10
  10. package/gateway.js +24 -24
  11. package/gateway.js.map +1 -1
  12. package/gatewayConnection.d.ts +2 -4
  13. package/gatewayConnection.js +15 -15
  14. package/gatewayConnection.js.map +1 -1
  15. package/gatewayConnectionTunnel.js +20 -20
  16. package/gatewayConnectionTunnel.js.map +1 -1
  17. package/getHosts.d.ts +2 -2
  18. package/getHosts.js +3 -3
  19. package/getHosts.js.map +1 -1
  20. package/getIpAddresses.d.ts +2 -2
  21. package/getIpAddresses.js +3 -3
  22. package/getIpAddresses.js.map +1 -1
  23. package/getKubernetesCluster.d.ts +0 -2
  24. package/getKubernetesCluster.js +1 -3
  25. package/getKubernetesCluster.js.map +1 -1
  26. package/getLoadBalancerDnsChallengeDomain.d.ts +2 -2
  27. package/getLoadBalancerDnsChallengeDomain.js +3 -3
  28. package/getLoadBalancerDnsChallengeDomain.js.map +1 -1
  29. package/getManagedDatabaseMysqlSessions.d.ts +0 -2
  30. package/getManagedDatabaseMysqlSessions.js +1 -3
  31. package/getManagedDatabaseMysqlSessions.js.map +1 -1
  32. package/getManagedDatabaseOpensearchIndices.d.ts +0 -2
  33. package/getManagedDatabaseOpensearchIndices.js +1 -3
  34. package/getManagedDatabaseOpensearchIndices.js.map +1 -1
  35. package/getManagedDatabasePostgresqlSessions.d.ts +0 -2
  36. package/getManagedDatabasePostgresqlSessions.js +1 -3
  37. package/getManagedDatabasePostgresqlSessions.js.map +1 -1
  38. package/getManagedDatabaseRedisSessions.d.ts +0 -2
  39. package/getManagedDatabaseRedisSessions.js +1 -3
  40. package/getManagedDatabaseRedisSessions.js.map +1 -1
  41. package/getManagedDatabaseValkeySessions.d.ts +0 -2
  42. package/getManagedDatabaseValkeySessions.js +1 -3
  43. package/getManagedDatabaseValkeySessions.js.map +1 -1
  44. package/getManagedObjectStoragePolicies.js +1 -1
  45. package/getManagedObjectStoragePolicies.js.map +1 -1
  46. package/getManagedObjectStorageRegions.js +1 -1
  47. package/getManagedObjectStorageRegions.js.map +1 -1
  48. package/getNetworks.js +1 -1
  49. package/getNetworks.js.map +1 -1
  50. package/getStorage.d.ts +0 -2
  51. package/getStorage.js +1 -3
  52. package/getStorage.js.map +1 -1
  53. package/getTags.js +1 -1
  54. package/getTags.js.map +1 -1
  55. package/getZone.js +1 -1
  56. package/getZone.js.map +1 -1
  57. package/getZones.js +1 -1
  58. package/getZones.js.map +1 -1
  59. package/index.d.ts +1 -3
  60. package/index.js +19 -5
  61. package/index.js.map +1 -1
  62. package/kubernetesCluster.d.ts +18 -27
  63. package/kubernetesCluster.js +28 -28
  64. package/kubernetesCluster.js.map +1 -1
  65. package/kubernetesNodeGroup.d.ts +42 -30
  66. package/kubernetesNodeGroup.js +57 -33
  67. package/kubernetesNodeGroup.js.map +1 -1
  68. package/loadbalancer.d.ts +6 -18
  69. package/loadbalancer.js +28 -28
  70. package/loadbalancer.js.map +1 -1
  71. package/loadbalancerBackend.js +13 -13
  72. package/loadbalancerBackend.js.map +1 -1
  73. package/loadbalancerBackendTlsConfig.js +10 -10
  74. package/loadbalancerBackendTlsConfig.js.map +1 -1
  75. package/loadbalancerDynamicBackendMember.js +19 -19
  76. package/loadbalancerDynamicBackendMember.js.map +1 -1
  77. package/loadbalancerDynamicCertificateBundle.js +13 -13
  78. package/loadbalancerDynamicCertificateBundle.js.map +1 -1
  79. package/loadbalancerFrontend.d.ts +12 -18
  80. package/loadbalancerFrontend.js +22 -22
  81. package/loadbalancerFrontend.js.map +1 -1
  82. package/loadbalancerFrontendRule.js +16 -16
  83. package/loadbalancerFrontendRule.js.map +1 -1
  84. package/loadbalancerFrontendTlsConfig.js +10 -10
  85. package/loadbalancerFrontendTlsConfig.js.map +1 -1
  86. package/loadbalancerManualCertificateBundle.js +15 -15
  87. package/loadbalancerManualCertificateBundle.js.map +1 -1
  88. package/loadbalancerResolver.d.ts +3 -6
  89. package/loadbalancerResolver.js +25 -25
  90. package/loadbalancerResolver.js.map +1 -1
  91. package/loadbalancerStaticBackendMember.js +19 -19
  92. package/loadbalancerStaticBackendMember.js.map +1 -1
  93. package/managedDatabaseLogicalDatabase.js +11 -11
  94. package/managedDatabaseLogicalDatabase.js.map +1 -1
  95. package/managedDatabaseMysql.d.ts +3 -6
  96. package/managedDatabaseMysql.js +37 -37
  97. package/managedDatabaseMysql.js.map +1 -1
  98. package/managedDatabaseOpensearch.d.ts +9 -18
  99. package/managedDatabaseOpensearch.js +41 -41
  100. package/managedDatabaseOpensearch.js.map +1 -1
  101. package/managedDatabasePostgresql.d.ts +3 -6
  102. package/managedDatabasePostgresql.js +38 -38
  103. package/managedDatabasePostgresql.js.map +1 -1
  104. package/managedDatabaseRedis.d.ts +3 -6
  105. package/managedDatabaseRedis.js +37 -37
  106. package/managedDatabaseRedis.js.map +1 -1
  107. package/managedDatabaseUser.js +21 -21
  108. package/managedDatabaseUser.js.map +1 -1
  109. package/managedDatabaseValkey.d.ts +3 -6
  110. package/managedDatabaseValkey.js +37 -37
  111. package/managedDatabaseValkey.js.map +1 -1
  112. package/managedObjectStorage.d.ts +3 -9
  113. package/managedObjectStorage.js +18 -18
  114. package/managedObjectStorage.js.map +1 -1
  115. package/managedObjectStorageBucket.js +9 -9
  116. package/managedObjectStorageBucket.js.map +1 -1
  117. package/managedObjectStorageCustomDomain.d.ts +3 -7
  118. package/managedObjectStorageCustomDomain.js +10 -11
  119. package/managedObjectStorageCustomDomain.js.map +1 -1
  120. package/managedObjectStoragePolicy.d.ts +3 -6
  121. package/managedObjectStoragePolicy.js +18 -18
  122. package/managedObjectStoragePolicy.js.map +1 -1
  123. package/managedObjectStorageUser.d.ts +3 -9
  124. package/managedObjectStorageUser.js +10 -10
  125. package/managedObjectStorageUser.js.map +1 -1
  126. package/managedObjectStorageUserAccessKey.js +15 -15
  127. package/managedObjectStorageUserAccessKey.js.map +1 -1
  128. package/managedObjectStorageUserPolicy.js +10 -10
  129. package/managedObjectStorageUserPolicy.js.map +1 -1
  130. package/network.js +15 -15
  131. package/network.js.map +1 -1
  132. package/networkPeering.js +14 -14
  133. package/networkPeering.js.map +1 -1
  134. package/objectStorage.d.ts +40 -37
  135. package/objectStorage.js +24 -27
  136. package/objectStorage.js.map +1 -1
  137. package/package.json +2 -2
  138. package/provider.d.ts +17 -6
  139. package/provider.js +16 -8
  140. package/provider.js.map +1 -1
  141. package/router.d.ts +2 -4
  142. package/router.js +11 -11
  143. package/router.js.map +1 -1
  144. package/server.d.ts +27 -45
  145. package/server.js +50 -50
  146. package/server.js.map +1 -1
  147. package/serverFirewallRules.d.ts +24 -15
  148. package/serverFirewallRules.js +7 -7
  149. package/serverFirewallRules.js.map +1 -1
  150. package/serverGroup.d.ts +45 -36
  151. package/serverGroup.js +13 -13
  152. package/serverGroup.js.map +1 -1
  153. package/storage.d.ts +11 -22
  154. package/storage.js +29 -29
  155. package/storage.js.map +1 -1
  156. package/storageBackup.d.ts +2 -4
  157. package/storageBackup.js +17 -17
  158. package/storageBackup.js.map +1 -1
  159. package/storageTemplate.d.ts +2 -4
  160. package/storageTemplate.js +16 -16
  161. package/storageTemplate.js.map +1 -1
  162. package/tag.js +8 -8
  163. package/tag.js.map +1 -1
  164. package/types/index.js +1 -1
  165. package/types/index.js.map +1 -1
  166. package/types/input.js +1 -1
  167. package/types/input.js.map +1 -1
  168. package/types/output.js +1 -1
  169. package/types/output.js.map +1 -1
  170. package/utilities.d.ts +0 -4
  171. package/utilities.js +20 -30
  172. package/utilities.js.map +1 -1
@@ -73,9 +73,7 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
73
73
  */
74
74
  static isInstance(obj: any): obj is KubernetesCluster;
75
75
  /**
76
- * IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any
77
- * source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node
78
- * groups or exposed Kubernetes services.
76
+ * IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node groups or exposed Kubernetes services.
79
77
  */
80
78
  readonly controlPlaneIpFilters: pulumi.Output<string[]>;
81
79
  /**
@@ -117,18 +115,17 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
117
115
  */
118
116
  readonly storageEncryption: pulumi.Output<string | undefined>;
119
117
  /**
120
- * The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.
121
- * When using `manual` strategy, you must replace the existing node-groups to update them.
118
+ * The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default. When using `manual` strategy, you must replace the existing node-groups to update them.
122
119
  */
123
120
  readonly upgradeStrategyType: pulumi.Output<string | undefined>;
124
121
  /**
125
- * Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`. Note that when
126
- * changing the cluster version, `upgradeStrategy` will be taken into account.
122
+ * Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
123
+ *
124
+ * Note that when changing the cluster version, `upgradeStrategy` will be taken into account.
127
125
  */
128
126
  readonly version: pulumi.Output<string>;
129
127
  /**
130
- * Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone
131
- * list`.
128
+ * Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
132
129
  */
133
130
  readonly zone: pulumi.Output<string>;
134
131
  /**
@@ -145,9 +142,7 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
145
142
  */
146
143
  export interface KubernetesClusterState {
147
144
  /**
148
- * IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any
149
- * source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node
150
- * groups or exposed Kubernetes services.
145
+ * IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node groups or exposed Kubernetes services.
151
146
  */
152
147
  controlPlaneIpFilters?: pulumi.Input<pulumi.Input<string>[]>;
153
148
  /**
@@ -189,18 +184,17 @@ export interface KubernetesClusterState {
189
184
  */
190
185
  storageEncryption?: pulumi.Input<string>;
191
186
  /**
192
- * The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.
193
- * When using `manual` strategy, you must replace the existing node-groups to update them.
187
+ * The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default. When using `manual` strategy, you must replace the existing node-groups to update them.
194
188
  */
195
189
  upgradeStrategyType?: pulumi.Input<string>;
196
190
  /**
197
- * Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`. Note that when
198
- * changing the cluster version, `upgradeStrategy` will be taken into account.
191
+ * Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
192
+ *
193
+ * Note that when changing the cluster version, `upgradeStrategy` will be taken into account.
199
194
  */
200
195
  version?: pulumi.Input<string>;
201
196
  /**
202
- * Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone
203
- * list`.
197
+ * Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
204
198
  */
205
199
  zone?: pulumi.Input<string>;
206
200
  }
@@ -209,9 +203,7 @@ export interface KubernetesClusterState {
209
203
  */
210
204
  export interface KubernetesClusterArgs {
211
205
  /**
212
- * IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any
213
- * source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node
214
- * groups or exposed Kubernetes services.
206
+ * IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node groups or exposed Kubernetes services.
215
207
  */
216
208
  controlPlaneIpFilters: pulumi.Input<pulumi.Input<string>[]>;
217
209
  /**
@@ -241,18 +233,17 @@ export interface KubernetesClusterArgs {
241
233
  */
242
234
  storageEncryption?: pulumi.Input<string>;
243
235
  /**
244
- * The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.
245
- * When using `manual` strategy, you must replace the existing node-groups to update them.
236
+ * The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default. When using `manual` strategy, you must replace the existing node-groups to update them.
246
237
  */
247
238
  upgradeStrategyType?: pulumi.Input<string>;
248
239
  /**
249
- * Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`. Note that when
250
- * changing the cluster version, `upgradeStrategy` will be taken into account.
240
+ * Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
241
+ *
242
+ * Note that when changing the cluster version, `upgradeStrategy` will be taken into account.
251
243
  */
252
244
  version?: pulumi.Input<string>;
253
245
  /**
254
- * Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone
255
- * list`.
246
+ * Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
256
247
  */
257
248
  zone: pulumi.Input<string>;
258
249
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.KubernetesCluster = void 0;
@@ -73,7 +73,7 @@ class KubernetesCluster extends pulumi.CustomResource {
73
73
  * @param opts Optional settings to control the behavior of the CustomResource.
74
74
  */
75
75
  static get(name, id, state, opts) {
76
- return new KubernetesCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
76
+ return new KubernetesCluster(name, state, { ...opts, id: id });
77
77
  }
78
78
  /**
79
79
  * Returns true if the given object is an instance of KubernetesCluster. This is designed to work even
@@ -90,41 +90,41 @@ class KubernetesCluster extends pulumi.CustomResource {
90
90
  opts = opts || {};
91
91
  if (opts.id) {
92
92
  const state = argsOrState;
93
- resourceInputs["controlPlaneIpFilters"] = state ? state.controlPlaneIpFilters : undefined;
94
- resourceInputs["labels"] = state ? state.labels : undefined;
95
- resourceInputs["name"] = state ? state.name : undefined;
96
- resourceInputs["network"] = state ? state.network : undefined;
97
- resourceInputs["networkCidr"] = state ? state.networkCidr : undefined;
98
- resourceInputs["nodeGroups"] = state ? state.nodeGroups : undefined;
99
- resourceInputs["plan"] = state ? state.plan : undefined;
100
- resourceInputs["privateNodeGroups"] = state ? state.privateNodeGroups : undefined;
101
- resourceInputs["state"] = state ? state.state : undefined;
102
- resourceInputs["storageEncryption"] = state ? state.storageEncryption : undefined;
103
- resourceInputs["upgradeStrategyType"] = state ? state.upgradeStrategyType : undefined;
104
- resourceInputs["version"] = state ? state.version : undefined;
105
- resourceInputs["zone"] = state ? state.zone : undefined;
93
+ resourceInputs["controlPlaneIpFilters"] = state?.controlPlaneIpFilters;
94
+ resourceInputs["labels"] = state?.labels;
95
+ resourceInputs["name"] = state?.name;
96
+ resourceInputs["network"] = state?.network;
97
+ resourceInputs["networkCidr"] = state?.networkCidr;
98
+ resourceInputs["nodeGroups"] = state?.nodeGroups;
99
+ resourceInputs["plan"] = state?.plan;
100
+ resourceInputs["privateNodeGroups"] = state?.privateNodeGroups;
101
+ resourceInputs["state"] = state?.state;
102
+ resourceInputs["storageEncryption"] = state?.storageEncryption;
103
+ resourceInputs["upgradeStrategyType"] = state?.upgradeStrategyType;
104
+ resourceInputs["version"] = state?.version;
105
+ resourceInputs["zone"] = state?.zone;
106
106
  }
107
107
  else {
108
108
  const args = argsOrState;
109
- if ((!args || args.controlPlaneIpFilters === undefined) && !opts.urn) {
109
+ if (args?.controlPlaneIpFilters === undefined && !opts.urn) {
110
110
  throw new Error("Missing required property 'controlPlaneIpFilters'");
111
111
  }
112
- if ((!args || args.network === undefined) && !opts.urn) {
112
+ if (args?.network === undefined && !opts.urn) {
113
113
  throw new Error("Missing required property 'network'");
114
114
  }
115
- if ((!args || args.zone === undefined) && !opts.urn) {
115
+ if (args?.zone === undefined && !opts.urn) {
116
116
  throw new Error("Missing required property 'zone'");
117
117
  }
118
- resourceInputs["controlPlaneIpFilters"] = args ? args.controlPlaneIpFilters : undefined;
119
- resourceInputs["labels"] = args ? args.labels : undefined;
120
- resourceInputs["name"] = args ? args.name : undefined;
121
- resourceInputs["network"] = args ? args.network : undefined;
122
- resourceInputs["plan"] = args ? args.plan : undefined;
123
- resourceInputs["privateNodeGroups"] = args ? args.privateNodeGroups : undefined;
124
- resourceInputs["storageEncryption"] = args ? args.storageEncryption : undefined;
125
- resourceInputs["upgradeStrategyType"] = args ? args.upgradeStrategyType : undefined;
126
- resourceInputs["version"] = args ? args.version : undefined;
127
- resourceInputs["zone"] = args ? args.zone : undefined;
118
+ resourceInputs["controlPlaneIpFilters"] = args?.controlPlaneIpFilters;
119
+ resourceInputs["labels"] = args?.labels;
120
+ resourceInputs["name"] = args?.name;
121
+ resourceInputs["network"] = args?.network;
122
+ resourceInputs["plan"] = args?.plan;
123
+ resourceInputs["privateNodeGroups"] = args?.privateNodeGroups;
124
+ resourceInputs["storageEncryption"] = args?.storageEncryption;
125
+ resourceInputs["upgradeStrategyType"] = args?.upgradeStrategyType;
126
+ resourceInputs["version"] = args?.version;
127
+ resourceInputs["zone"] = args?.zone;
128
128
  resourceInputs["networkCidr"] = undefined /*out*/;
129
129
  resourceInputs["nodeGroups"] = undefined /*out*/;
130
130
  resourceInputs["state"] =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AC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAxIL,8CAyIC;AA3HG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
@@ -42,6 +42,30 @@ import * as outputs from "./types/output";
42
42
  * value: "taintValue",
43
43
  * }],
44
44
  * });
45
+ * // Create a Kubernetes cluster node group with a GPU plan, with a custom storage size
46
+ * const groupGpu = new upcloud.KubernetesNodeGroup("group_gpu", {
47
+ * cluster: upcloudKubernetesCluster.example.id,
48
+ * nodeCount: 2,
49
+ * name: "gpu-workers",
50
+ * plan: "GPU-8xCPU-64GB-1xL40S",
51
+ * gpuPlan: {
52
+ * storageSize: 250,
53
+ * },
54
+ * labels: {
55
+ * gpu: "NVIDIA-L40S",
56
+ * },
57
+ * });
58
+ * // Create a Kubernetes cluster node group with a Cloud Native plan, with a custom storage size and tier
59
+ * const groupCloudNative = new upcloud.KubernetesNodeGroup("group_cloud_native", {
60
+ * cluster: upcloudKubernetesCluster.example.id,
61
+ * nodeCount: 4,
62
+ * name: "cloud-native-workers",
63
+ * plan: "CLOUDNATIVE-4xCPU-8GB",
64
+ * cloudNativePlan: {
65
+ * storageSize: 100,
66
+ * storageTier: "standard",
67
+ * },
68
+ * });
45
69
  * ```
46
70
  */
47
71
  export declare class KubernetesNodeGroup extends pulumi.CustomResource {
@@ -61,8 +85,7 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
61
85
  */
62
86
  static isInstance(obj: any): obj is KubernetesNodeGroup;
63
87
  /**
64
- * If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is
65
- * considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
88
+ * If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
66
89
  */
67
90
  readonly antiAffinity: pulumi.Output<boolean>;
68
91
  /**
@@ -82,10 +105,9 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
82
105
  */
83
106
  readonly gpuPlan: pulumi.Output<outputs.KubernetesNodeGroupGpuPlan | undefined>;
84
107
  /**
85
- * Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will
86
- * prefix the arguments with `--` when preparing kubelet call. Note that these arguments will be passed directly to kubelet
87
- * CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful
88
- * when adding kubelet args.
108
+ * Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will prefix the arguments with `--` when preparing kubelet call.
109
+ *
110
+ * Note that these arguments will be passed directly to kubelet CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful when adding kubelet args.
89
111
  */
90
112
  readonly kubeletArgs: pulumi.Output<outputs.KubernetesNodeGroupKubeletArg[] | undefined>;
91
113
  /**
@@ -107,13 +129,11 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
107
129
  */
108
130
  readonly plan: pulumi.Output<string>;
109
131
  /**
110
- * You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to
111
- * connect to the nodes via SSH once they are running.
132
+ * You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running.
112
133
  */
113
134
  readonly sshKeys: pulumi.Output<string[]>;
114
135
  /**
115
- * The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption
116
- * strategy will be used, if applicable.
136
+ * The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable.
117
137
  */
118
138
  readonly storageEncryption: pulumi.Output<string>;
119
139
  /**
@@ -138,8 +158,7 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
138
158
  */
139
159
  export interface KubernetesNodeGroupState {
140
160
  /**
141
- * If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is
142
- * considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
161
+ * If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
143
162
  */
144
163
  antiAffinity?: pulumi.Input<boolean>;
145
164
  /**
@@ -159,10 +178,9 @@ export interface KubernetesNodeGroupState {
159
178
  */
160
179
  gpuPlan?: pulumi.Input<inputs.KubernetesNodeGroupGpuPlan>;
161
180
  /**
162
- * Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will
163
- * prefix the arguments with `--` when preparing kubelet call. Note that these arguments will be passed directly to kubelet
164
- * CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful
165
- * when adding kubelet args.
181
+ * Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will prefix the arguments with `--` when preparing kubelet call.
182
+ *
183
+ * Note that these arguments will be passed directly to kubelet CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful when adding kubelet args.
166
184
  */
167
185
  kubeletArgs?: pulumi.Input<pulumi.Input<inputs.KubernetesNodeGroupKubeletArg>[]>;
168
186
  /**
@@ -184,13 +202,11 @@ export interface KubernetesNodeGroupState {
184
202
  */
185
203
  plan?: pulumi.Input<string>;
186
204
  /**
187
- * You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to
188
- * connect to the nodes via SSH once they are running.
205
+ * You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running.
189
206
  */
190
207
  sshKeys?: pulumi.Input<pulumi.Input<string>[]>;
191
208
  /**
192
- * The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption
193
- * strategy will be used, if applicable.
209
+ * The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable.
194
210
  */
195
211
  storageEncryption?: pulumi.Input<string>;
196
212
  /**
@@ -207,8 +223,7 @@ export interface KubernetesNodeGroupState {
207
223
  */
208
224
  export interface KubernetesNodeGroupArgs {
209
225
  /**
210
- * If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is
211
- * considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
226
+ * If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
212
227
  */
213
228
  antiAffinity?: pulumi.Input<boolean>;
214
229
  /**
@@ -228,10 +243,9 @@ export interface KubernetesNodeGroupArgs {
228
243
  */
229
244
  gpuPlan?: pulumi.Input<inputs.KubernetesNodeGroupGpuPlan>;
230
245
  /**
231
- * Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will
232
- * prefix the arguments with `--` when preparing kubelet call. Note that these arguments will be passed directly to kubelet
233
- * CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful
234
- * when adding kubelet args.
246
+ * Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will prefix the arguments with `--` when preparing kubelet call.
247
+ *
248
+ * Note that these arguments will be passed directly to kubelet CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful when adding kubelet args.
235
249
  */
236
250
  kubeletArgs?: pulumi.Input<pulumi.Input<inputs.KubernetesNodeGroupKubeletArg>[]>;
237
251
  /**
@@ -253,13 +267,11 @@ export interface KubernetesNodeGroupArgs {
253
267
  */
254
268
  plan: pulumi.Input<string>;
255
269
  /**
256
- * You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to
257
- * connect to the nodes via SSH once they are running.
270
+ * You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running.
258
271
  */
259
272
  sshKeys?: pulumi.Input<pulumi.Input<string>[]>;
260
273
  /**
261
- * The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption
262
- * strategy will be used, if applicable.
274
+ * The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable.
263
275
  */
264
276
  storageEncryption?: pulumi.Input<string>;
265
277
  /**
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.KubernetesNodeGroup = void 0;
@@ -46,6 +46,30 @@ const utilities = require("./utilities");
46
46
  * value: "taintValue",
47
47
  * }],
48
48
  * });
49
+ * // Create a Kubernetes cluster node group with a GPU plan, with a custom storage size
50
+ * const groupGpu = new upcloud.KubernetesNodeGroup("group_gpu", {
51
+ * cluster: upcloudKubernetesCluster.example.id,
52
+ * nodeCount: 2,
53
+ * name: "gpu-workers",
54
+ * plan: "GPU-8xCPU-64GB-1xL40S",
55
+ * gpuPlan: {
56
+ * storageSize: 250,
57
+ * },
58
+ * labels: {
59
+ * gpu: "NVIDIA-L40S",
60
+ * },
61
+ * });
62
+ * // Create a Kubernetes cluster node group with a Cloud Native plan, with a custom storage size and tier
63
+ * const groupCloudNative = new upcloud.KubernetesNodeGroup("group_cloud_native", {
64
+ * cluster: upcloudKubernetesCluster.example.id,
65
+ * nodeCount: 4,
66
+ * name: "cloud-native-workers",
67
+ * plan: "CLOUDNATIVE-4xCPU-8GB",
68
+ * cloudNativePlan: {
69
+ * storageSize: 100,
70
+ * storageTier: "standard",
71
+ * },
72
+ * });
49
73
  * ```
50
74
  */
51
75
  class KubernetesNodeGroup extends pulumi.CustomResource {
@@ -59,7 +83,7 @@ class KubernetesNodeGroup extends pulumi.CustomResource {
59
83
  * @param opts Optional settings to control the behavior of the CustomResource.
60
84
  */
61
85
  static get(name, id, state, opts) {
62
- return new KubernetesNodeGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
86
+ return new KubernetesNodeGroup(name, state, { ...opts, id: id });
63
87
  }
64
88
  /**
65
89
  * Returns true if the given object is an instance of KubernetesNodeGroup. This is designed to work even
@@ -76,46 +100,46 @@ class KubernetesNodeGroup extends pulumi.CustomResource {
76
100
  opts = opts || {};
77
101
  if (opts.id) {
78
102
  const state = argsOrState;
79
- resourceInputs["antiAffinity"] = state ? state.antiAffinity : undefined;
80
- resourceInputs["cloudNativePlan"] = state ? state.cloudNativePlan : undefined;
81
- resourceInputs["cluster"] = state ? state.cluster : undefined;
82
- resourceInputs["customPlan"] = state ? state.customPlan : undefined;
83
- resourceInputs["gpuPlan"] = state ? state.gpuPlan : undefined;
84
- resourceInputs["kubeletArgs"] = state ? state.kubeletArgs : undefined;
85
- resourceInputs["labels"] = state ? state.labels : undefined;
86
- resourceInputs["name"] = state ? state.name : undefined;
87
- resourceInputs["nodeCount"] = state ? state.nodeCount : undefined;
88
- resourceInputs["plan"] = state ? state.plan : undefined;
89
- resourceInputs["sshKeys"] = state ? state.sshKeys : undefined;
90
- resourceInputs["storageEncryption"] = state ? state.storageEncryption : undefined;
91
- resourceInputs["taints"] = state ? state.taints : undefined;
92
- resourceInputs["utilityNetworkAccess"] = state ? state.utilityNetworkAccess : undefined;
103
+ resourceInputs["antiAffinity"] = state?.antiAffinity;
104
+ resourceInputs["cloudNativePlan"] = state?.cloudNativePlan;
105
+ resourceInputs["cluster"] = state?.cluster;
106
+ resourceInputs["customPlan"] = state?.customPlan;
107
+ resourceInputs["gpuPlan"] = state?.gpuPlan;
108
+ resourceInputs["kubeletArgs"] = state?.kubeletArgs;
109
+ resourceInputs["labels"] = state?.labels;
110
+ resourceInputs["name"] = state?.name;
111
+ resourceInputs["nodeCount"] = state?.nodeCount;
112
+ resourceInputs["plan"] = state?.plan;
113
+ resourceInputs["sshKeys"] = state?.sshKeys;
114
+ resourceInputs["storageEncryption"] = state?.storageEncryption;
115
+ resourceInputs["taints"] = state?.taints;
116
+ resourceInputs["utilityNetworkAccess"] = state?.utilityNetworkAccess;
93
117
  }
94
118
  else {
95
119
  const args = argsOrState;
96
- if ((!args || args.cluster === undefined) && !opts.urn) {
120
+ if (args?.cluster === undefined && !opts.urn) {
97
121
  throw new Error("Missing required property 'cluster'");
98
122
  }
99
- if ((!args || args.nodeCount === undefined) && !opts.urn) {
123
+ if (args?.nodeCount === undefined && !opts.urn) {
100
124
  throw new Error("Missing required property 'nodeCount'");
101
125
  }
102
- if ((!args || args.plan === undefined) && !opts.urn) {
126
+ if (args?.plan === undefined && !opts.urn) {
103
127
  throw new Error("Missing required property 'plan'");
104
128
  }
105
- resourceInputs["antiAffinity"] = args ? args.antiAffinity : undefined;
106
- resourceInputs["cloudNativePlan"] = args ? args.cloudNativePlan : undefined;
107
- resourceInputs["cluster"] = args ? args.cluster : undefined;
108
- resourceInputs["customPlan"] = args ? args.customPlan : undefined;
109
- resourceInputs["gpuPlan"] = args ? args.gpuPlan : undefined;
110
- resourceInputs["kubeletArgs"] = args ? args.kubeletArgs : undefined;
111
- resourceInputs["labels"] = args ? args.labels : undefined;
112
- resourceInputs["name"] = args ? args.name : undefined;
113
- resourceInputs["nodeCount"] = args ? args.nodeCount : undefined;
114
- resourceInputs["plan"] = args ? args.plan : undefined;
115
- resourceInputs["sshKeys"] = args ? args.sshKeys : undefined;
116
- resourceInputs["storageEncryption"] = args ? args.storageEncryption : undefined;
117
- resourceInputs["taints"] = args ? args.taints : undefined;
118
- resourceInputs["utilityNetworkAccess"] = args ? args.utilityNetworkAccess : undefined;
129
+ resourceInputs["antiAffinity"] = args?.antiAffinity;
130
+ resourceInputs["cloudNativePlan"] = args?.cloudNativePlan;
131
+ resourceInputs["cluster"] = args?.cluster;
132
+ resourceInputs["customPlan"] = args?.customPlan;
133
+ resourceInputs["gpuPlan"] = args?.gpuPlan;
134
+ resourceInputs["kubeletArgs"] = args?.kubeletArgs;
135
+ resourceInputs["labels"] = args?.labels;
136
+ resourceInputs["name"] = args?.name;
137
+ resourceInputs["nodeCount"] = args?.nodeCount;
138
+ resourceInputs["plan"] = args?.plan;
139
+ resourceInputs["sshKeys"] = args?.sshKeys;
140
+ resourceInputs["storageEncryption"] = args?.storageEncryption;
141
+ resourceInputs["taints"] = args?.taints;
142
+ resourceInputs["utilityNetworkAccess"] = args?.utilityNetworkAccess;
119
143
  }
120
144
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
121
145
  super(KubernetesNodeGroup.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"kubernetesNodeGroup.js","sourceRoot":"","sources":["../kubernetesNodeGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAyED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,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AC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9IL,kDA+IC;AAjIG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
package/loadbalancer.d.ts CHANGED
@@ -83,15 +83,11 @@ export declare class Loadbalancer extends pulumi.CustomResource {
83
83
  [key: string]: string;
84
84
  }>;
85
85
  /**
86
- * The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day.
87
- * Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
86
+ * The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
88
87
  */
89
88
  readonly maintenanceDow: pulumi.Output<string>;
90
89
  /**
91
- * The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this
92
- * period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime
93
- * of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC
94
- * HH:MM:SSZ, for example `20:01:01Z`.
90
+ * The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example `20:01:01Z`.
95
91
  */
96
92
  readonly maintenanceTime: pulumi.Output<string>;
97
93
  /**
@@ -166,15 +162,11 @@ export interface LoadbalancerState {
166
162
  [key: string]: pulumi.Input<string>;
167
163
  }>;
168
164
  /**
169
- * The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day.
170
- * Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
165
+ * The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
171
166
  */
172
167
  maintenanceDow?: pulumi.Input<string>;
173
168
  /**
174
- * The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this
175
- * period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime
176
- * of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC
177
- * HH:MM:SSZ, for example `20:01:01Z`.
169
+ * The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example `20:01:01Z`.
178
170
  */
179
171
  maintenanceTime?: pulumi.Input<string>;
180
172
  /**
@@ -227,15 +219,11 @@ export interface LoadbalancerArgs {
227
219
  [key: string]: pulumi.Input<string>;
228
220
  }>;
229
221
  /**
230
- * The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day.
231
- * Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
222
+ * The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
232
223
  */
233
224
  maintenanceDow?: pulumi.Input<string>;
234
225
  /**
235
- * The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this
236
- * period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime
237
- * of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC
238
- * HH:MM:SSZ, for example `20:01:01Z`.
226
+ * The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example `20:01:01Z`.
239
227
  */
240
228
  maintenanceTime?: pulumi.Input<string>;
241
229
  /**