@volcengine/pulumi 0.0.36 → 0.0.38
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.
- package/package.json +1 -1
- package/types/input.d.ts +48 -0
- package/types/output.d.ts +162 -6
- package/vke/cluster.d.ts +38 -0
- package/vke/cluster.js +22 -0
- package/vke/cluster.js.map +1 -1
- package/vke/nodePool.d.ts +12 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
- package/vpc/securityGroup.d.ts +12 -0
- package/vpc/securityGroup.js +2 -0
- package/vpc/securityGroup.js.map +1 -1
package/package.json
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -7741,6 +7741,32 @@ export declare namespace vke {
|
|
|
7741
7741
|
*/
|
|
7742
7742
|
billingType?: pulumi.Input<string>;
|
|
7743
7743
|
}
|
|
7744
|
+
interface ClusterIrsaConfig {
|
|
7745
|
+
/**
|
|
7746
|
+
* The audience of the IRSA.
|
|
7747
|
+
*/
|
|
7748
|
+
audience?: pulumi.Input<string>;
|
|
7749
|
+
/**
|
|
7750
|
+
* Whether to enable IRSA for the cluster.
|
|
7751
|
+
*/
|
|
7752
|
+
enabled?: pulumi.Input<boolean>;
|
|
7753
|
+
/**
|
|
7754
|
+
* The issuer of the IRSA.
|
|
7755
|
+
*/
|
|
7756
|
+
issuer?: pulumi.Input<string>;
|
|
7757
|
+
/**
|
|
7758
|
+
* The JWKS URL of the IRSA.
|
|
7759
|
+
*/
|
|
7760
|
+
jwksUrl?: pulumi.Input<string>;
|
|
7761
|
+
/**
|
|
7762
|
+
* The OIDC trn of the IRSA.
|
|
7763
|
+
*/
|
|
7764
|
+
oidcTrn?: pulumi.Input<string>;
|
|
7765
|
+
/**
|
|
7766
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
7767
|
+
*/
|
|
7768
|
+
openIdConfigUrl?: pulumi.Input<string>;
|
|
7769
|
+
}
|
|
7744
7770
|
interface ClusterLoggingConfig {
|
|
7745
7771
|
/**
|
|
7746
7772
|
* The TLS log item ID of the collection target.
|
|
@@ -7766,6 +7792,8 @@ export declare namespace vke {
|
|
|
7766
7792
|
* KubeApiServer: kube-apiserver component logs.
|
|
7767
7793
|
* KubeScheduler: kube-scheduler component logs.
|
|
7768
7794
|
* KubeControllerManager: kube-controller-manager component logs.
|
|
7795
|
+
* Etcd: etcd component logs.
|
|
7796
|
+
* ClusterAutoscaler: cluster-autoscaler component logs.
|
|
7769
7797
|
*/
|
|
7770
7798
|
logType: pulumi.Input<string>;
|
|
7771
7799
|
}
|
|
@@ -8385,6 +8413,26 @@ export declare namespace vke {
|
|
|
8385
8413
|
*/
|
|
8386
8414
|
value?: pulumi.Input<string>;
|
|
8387
8415
|
}
|
|
8416
|
+
interface NodePoolManagement {
|
|
8417
|
+
/**
|
|
8418
|
+
* Whether to enable the management function of the node pool. Default is `false`.
|
|
8419
|
+
*/
|
|
8420
|
+
enabled?: pulumi.Input<boolean>;
|
|
8421
|
+
/**
|
|
8422
|
+
* The Remedy Config of NodePool. This field is valid when the value of `enabled` is `true`.
|
|
8423
|
+
*/
|
|
8424
|
+
remedyConfig?: pulumi.Input<inputs.vke.NodePoolManagementRemedyConfig>;
|
|
8425
|
+
}
|
|
8426
|
+
interface NodePoolManagementRemedyConfig {
|
|
8427
|
+
/**
|
|
8428
|
+
* Whether to enable the remedy function of the node pool. Default is `false`.
|
|
8429
|
+
*/
|
|
8430
|
+
enabled?: pulumi.Input<boolean>;
|
|
8431
|
+
/**
|
|
8432
|
+
* The ID of the remedy policy. This field is valid when the value of `enabled` is `true`.
|
|
8433
|
+
*/
|
|
8434
|
+
id?: pulumi.Input<string>;
|
|
8435
|
+
}
|
|
8388
8436
|
interface NodePoolNodeConfig {
|
|
8389
8437
|
/**
|
|
8390
8438
|
* The AdditionalContainerStorageEnabled of NodeConfig.
|
package/types/output.d.ts
CHANGED
|
@@ -50974,6 +50974,32 @@ export declare namespace vke {
|
|
|
50974
50974
|
*/
|
|
50975
50975
|
billingType?: string;
|
|
50976
50976
|
}
|
|
50977
|
+
interface ClusterIrsaConfig {
|
|
50978
|
+
/**
|
|
50979
|
+
* The audience of the IRSA.
|
|
50980
|
+
*/
|
|
50981
|
+
audience: string;
|
|
50982
|
+
/**
|
|
50983
|
+
* Whether to enable IRSA for the cluster.
|
|
50984
|
+
*/
|
|
50985
|
+
enabled: boolean;
|
|
50986
|
+
/**
|
|
50987
|
+
* The issuer of the IRSA.
|
|
50988
|
+
*/
|
|
50989
|
+
issuer: string;
|
|
50990
|
+
/**
|
|
50991
|
+
* The JWKS URL of the IRSA.
|
|
50992
|
+
*/
|
|
50993
|
+
jwksUrl: string;
|
|
50994
|
+
/**
|
|
50995
|
+
* The OIDC trn of the IRSA.
|
|
50996
|
+
*/
|
|
50997
|
+
oidcTrn: string;
|
|
50998
|
+
/**
|
|
50999
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
51000
|
+
*/
|
|
51001
|
+
openIdConfigUrl: string;
|
|
51002
|
+
}
|
|
50977
51003
|
interface ClusterLoggingConfig {
|
|
50978
51004
|
/**
|
|
50979
51005
|
* The TLS log item ID of the collection target.
|
|
@@ -50999,6 +51025,8 @@ export declare namespace vke {
|
|
|
50999
51025
|
* KubeApiServer: kube-apiserver component logs.
|
|
51000
51026
|
* KubeScheduler: kube-scheduler component logs.
|
|
51001
51027
|
* KubeControllerManager: kube-controller-manager component logs.
|
|
51028
|
+
* Etcd: etcd component logs.
|
|
51029
|
+
* ClusterAutoscaler: cluster-autoscaler component logs.
|
|
51002
51030
|
*/
|
|
51003
51031
|
logType: string;
|
|
51004
51032
|
}
|
|
@@ -51081,6 +51109,10 @@ export declare namespace vke {
|
|
|
51081
51109
|
* The ID of the Cluster.
|
|
51082
51110
|
*/
|
|
51083
51111
|
id: string;
|
|
51112
|
+
/**
|
|
51113
|
+
* The IRSA configuration.
|
|
51114
|
+
*/
|
|
51115
|
+
irsaConfigs: outputs.vke.ClustersClusterIrsaConfig[];
|
|
51084
51116
|
/**
|
|
51085
51117
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
51086
51118
|
*/
|
|
@@ -51214,6 +51246,32 @@ export declare namespace vke {
|
|
|
51214
51246
|
*/
|
|
51215
51247
|
isp: string;
|
|
51216
51248
|
}
|
|
51249
|
+
interface ClustersClusterIrsaConfig {
|
|
51250
|
+
/**
|
|
51251
|
+
* The audience of the IRSA.
|
|
51252
|
+
*/
|
|
51253
|
+
audience: string;
|
|
51254
|
+
/**
|
|
51255
|
+
* Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
|
|
51256
|
+
*/
|
|
51257
|
+
enabled: boolean;
|
|
51258
|
+
/**
|
|
51259
|
+
* The issuer of the IRSA.
|
|
51260
|
+
*/
|
|
51261
|
+
issuer: string;
|
|
51262
|
+
/**
|
|
51263
|
+
* The JWKS URL of the IRSA.
|
|
51264
|
+
*/
|
|
51265
|
+
jwksUrl: string;
|
|
51266
|
+
/**
|
|
51267
|
+
* The OIDC trn of the IRSA.
|
|
51268
|
+
*/
|
|
51269
|
+
oidcTrn: string;
|
|
51270
|
+
/**
|
|
51271
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
51272
|
+
*/
|
|
51273
|
+
openIdConfigUrl: string;
|
|
51274
|
+
}
|
|
51217
51275
|
interface ClustersClusterLoggingConfig {
|
|
51218
51276
|
/**
|
|
51219
51277
|
* The TLS log item ID of the collection target.
|
|
@@ -51733,6 +51791,10 @@ export declare namespace vke {
|
|
|
51733
51791
|
* The ID of the Cluster.
|
|
51734
51792
|
*/
|
|
51735
51793
|
id: string;
|
|
51794
|
+
/**
|
|
51795
|
+
* The IRSA configuration.
|
|
51796
|
+
*/
|
|
51797
|
+
irsaConfigs: outputs.vke.GetClustersClusterIrsaConfig[];
|
|
51736
51798
|
/**
|
|
51737
51799
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
51738
51800
|
*/
|
|
@@ -51866,6 +51928,32 @@ export declare namespace vke {
|
|
|
51866
51928
|
*/
|
|
51867
51929
|
isp: string;
|
|
51868
51930
|
}
|
|
51931
|
+
interface GetClustersClusterIrsaConfig {
|
|
51932
|
+
/**
|
|
51933
|
+
* The audience of the IRSA.
|
|
51934
|
+
*/
|
|
51935
|
+
audience: string;
|
|
51936
|
+
/**
|
|
51937
|
+
* Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
|
|
51938
|
+
*/
|
|
51939
|
+
enabled: boolean;
|
|
51940
|
+
/**
|
|
51941
|
+
* The issuer of the IRSA.
|
|
51942
|
+
*/
|
|
51943
|
+
issuer: string;
|
|
51944
|
+
/**
|
|
51945
|
+
* The JWKS URL of the IRSA.
|
|
51946
|
+
*/
|
|
51947
|
+
jwksUrl: string;
|
|
51948
|
+
/**
|
|
51949
|
+
* The OIDC trn of the IRSA.
|
|
51950
|
+
*/
|
|
51951
|
+
oidcTrn: string;
|
|
51952
|
+
/**
|
|
51953
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
51954
|
+
*/
|
|
51955
|
+
openIdConfigUrl: string;
|
|
51956
|
+
}
|
|
51869
51957
|
interface GetClustersClusterLoggingConfig {
|
|
51870
51958
|
/**
|
|
51871
51959
|
* The TLS log item ID of the collection target.
|
|
@@ -52092,7 +52180,7 @@ export declare namespace vke {
|
|
|
52092
52180
|
*/
|
|
52093
52181
|
ecsTags: outputs.vke.GetNodePoolsNodePoolEcsTag[];
|
|
52094
52182
|
/**
|
|
52095
|
-
*
|
|
52183
|
+
* Whether to enable the remedy function of the node pool.
|
|
52096
52184
|
*/
|
|
52097
52185
|
enabled: boolean;
|
|
52098
52186
|
/**
|
|
@@ -52100,7 +52188,7 @@ export declare namespace vke {
|
|
|
52100
52188
|
*/
|
|
52101
52189
|
hpcClusterIds: string[];
|
|
52102
52190
|
/**
|
|
52103
|
-
* The
|
|
52191
|
+
* The ID of the remedy policy.
|
|
52104
52192
|
*/
|
|
52105
52193
|
id: string;
|
|
52106
52194
|
/**
|
|
@@ -52143,6 +52231,10 @@ export declare namespace vke {
|
|
|
52143
52231
|
* The login type of NodeConfig.
|
|
52144
52232
|
*/
|
|
52145
52233
|
loginType: string;
|
|
52234
|
+
/**
|
|
52235
|
+
* The Management Config of NodePool.
|
|
52236
|
+
*/
|
|
52237
|
+
managements: outputs.vke.GetNodePoolsNodePoolManagement[];
|
|
52146
52238
|
/**
|
|
52147
52239
|
* The MaxReplicas of AutoScaling.
|
|
52148
52240
|
*/
|
|
@@ -52278,6 +52370,26 @@ export declare namespace vke {
|
|
|
52278
52370
|
*/
|
|
52279
52371
|
value: string;
|
|
52280
52372
|
}
|
|
52373
|
+
interface GetNodePoolsNodePoolManagement {
|
|
52374
|
+
/**
|
|
52375
|
+
* Whether to enable the remedy function of the node pool.
|
|
52376
|
+
*/
|
|
52377
|
+
enabled: boolean;
|
|
52378
|
+
/**
|
|
52379
|
+
* The Remedy Config of NodePool.
|
|
52380
|
+
*/
|
|
52381
|
+
remedyConfigs: outputs.vke.GetNodePoolsNodePoolManagementRemedyConfig[];
|
|
52382
|
+
}
|
|
52383
|
+
interface GetNodePoolsNodePoolManagementRemedyConfig {
|
|
52384
|
+
/**
|
|
52385
|
+
* Whether to enable the remedy function of the node pool.
|
|
52386
|
+
*/
|
|
52387
|
+
enabled: boolean;
|
|
52388
|
+
/**
|
|
52389
|
+
* The ID of the remedy policy.
|
|
52390
|
+
*/
|
|
52391
|
+
id: string;
|
|
52392
|
+
}
|
|
52281
52393
|
interface GetNodePoolsNodePoolNodeStatistic {
|
|
52282
52394
|
/**
|
|
52283
52395
|
* The CreatingCount of Node.
|
|
@@ -52802,6 +52914,26 @@ export declare namespace vke {
|
|
|
52802
52914
|
*/
|
|
52803
52915
|
value?: string;
|
|
52804
52916
|
}
|
|
52917
|
+
interface NodePoolManagement {
|
|
52918
|
+
/**
|
|
52919
|
+
* Whether to enable the management function of the node pool. Default is `false`.
|
|
52920
|
+
*/
|
|
52921
|
+
enabled?: boolean;
|
|
52922
|
+
/**
|
|
52923
|
+
* The Remedy Config of NodePool. This field is valid when the value of `enabled` is `true`.
|
|
52924
|
+
*/
|
|
52925
|
+
remedyConfig: outputs.vke.NodePoolManagementRemedyConfig;
|
|
52926
|
+
}
|
|
52927
|
+
interface NodePoolManagementRemedyConfig {
|
|
52928
|
+
/**
|
|
52929
|
+
* Whether to enable the remedy function of the node pool. Default is `false`.
|
|
52930
|
+
*/
|
|
52931
|
+
enabled?: boolean;
|
|
52932
|
+
/**
|
|
52933
|
+
* The ID of the remedy policy. This field is valid when the value of `enabled` is `true`.
|
|
52934
|
+
*/
|
|
52935
|
+
id: string;
|
|
52936
|
+
}
|
|
52805
52937
|
interface NodePoolNodeConfig {
|
|
52806
52938
|
/**
|
|
52807
52939
|
* The AdditionalContainerStorageEnabled of NodeConfig.
|
|
@@ -53030,7 +53162,7 @@ export declare namespace vke {
|
|
|
53030
53162
|
*/
|
|
53031
53163
|
ecsTags: outputs.vke.NodePoolsNodePoolEcsTag[];
|
|
53032
53164
|
/**
|
|
53033
|
-
*
|
|
53165
|
+
* Whether to enable the remedy function of the node pool.
|
|
53034
53166
|
*/
|
|
53035
53167
|
enabled: boolean;
|
|
53036
53168
|
/**
|
|
@@ -53038,7 +53170,7 @@ export declare namespace vke {
|
|
|
53038
53170
|
*/
|
|
53039
53171
|
hpcClusterIds: string[];
|
|
53040
53172
|
/**
|
|
53041
|
-
* The
|
|
53173
|
+
* The ID of the remedy policy.
|
|
53042
53174
|
*/
|
|
53043
53175
|
id: string;
|
|
53044
53176
|
/**
|
|
@@ -53081,6 +53213,10 @@ export declare namespace vke {
|
|
|
53081
53213
|
* The login type of NodeConfig.
|
|
53082
53214
|
*/
|
|
53083
53215
|
loginType: string;
|
|
53216
|
+
/**
|
|
53217
|
+
* The Management Config of NodePool.
|
|
53218
|
+
*/
|
|
53219
|
+
managements: outputs.vke.NodePoolsNodePoolManagement[];
|
|
53084
53220
|
/**
|
|
53085
53221
|
* The MaxReplicas of AutoScaling.
|
|
53086
53222
|
*/
|
|
@@ -53216,6 +53352,26 @@ export declare namespace vke {
|
|
|
53216
53352
|
*/
|
|
53217
53353
|
value: string;
|
|
53218
53354
|
}
|
|
53355
|
+
interface NodePoolsNodePoolManagement {
|
|
53356
|
+
/**
|
|
53357
|
+
* Whether to enable the remedy function of the node pool.
|
|
53358
|
+
*/
|
|
53359
|
+
enabled: boolean;
|
|
53360
|
+
/**
|
|
53361
|
+
* The Remedy Config of NodePool.
|
|
53362
|
+
*/
|
|
53363
|
+
remedyConfigs: outputs.vke.NodePoolsNodePoolManagementRemedyConfig[];
|
|
53364
|
+
}
|
|
53365
|
+
interface NodePoolsNodePoolManagementRemedyConfig {
|
|
53366
|
+
/**
|
|
53367
|
+
* Whether to enable the remedy function of the node pool.
|
|
53368
|
+
*/
|
|
53369
|
+
enabled: boolean;
|
|
53370
|
+
/**
|
|
53371
|
+
* The ID of the remedy policy.
|
|
53372
|
+
*/
|
|
53373
|
+
id: string;
|
|
53374
|
+
}
|
|
53219
53375
|
interface NodePoolsNodePoolNodeStatistic {
|
|
53220
53376
|
/**
|
|
53221
53377
|
* The CreatingCount of Node.
|
|
@@ -56080,7 +56236,7 @@ export declare namespace vpc {
|
|
|
56080
56236
|
*/
|
|
56081
56237
|
tags: outputs.vpc.GetSecurityGroupsSecurityGroupTag[];
|
|
56082
56238
|
/**
|
|
56083
|
-
*
|
|
56239
|
+
* The type of SecurityGroup.
|
|
56084
56240
|
*/
|
|
56085
56241
|
type: string;
|
|
56086
56242
|
/**
|
|
@@ -57680,7 +57836,7 @@ export declare namespace vpc {
|
|
|
57680
57836
|
*/
|
|
57681
57837
|
tags: outputs.vpc.SecurityGroupsSecurityGroupTag[];
|
|
57682
57838
|
/**
|
|
57683
|
-
*
|
|
57839
|
+
* The type of SecurityGroup.
|
|
57684
57840
|
*/
|
|
57685
57841
|
type: string;
|
|
57686
57842
|
/**
|
package/vke/cluster.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import * as outputs from "../types/output";
|
|
|
33
33
|
* description: "created by terraform",
|
|
34
34
|
* projectName: "default",
|
|
35
35
|
* deleteProtectionEnabled: false,
|
|
36
|
+
* irsaEnabled: false,
|
|
36
37
|
* clusterConfig: {
|
|
37
38
|
* subnetIds: [fooSubnet.id],
|
|
38
39
|
* apiServerPublicAccessEnabled: true,
|
|
@@ -53,6 +54,20 @@ import * as outputs from "../types/output";
|
|
|
53
54
|
* servicesConfig: {
|
|
54
55
|
* serviceCidrsv4s: ["172.30.0.0/18"],
|
|
55
56
|
* },
|
|
57
|
+
* loggingConfig: {
|
|
58
|
+
* logSetups: [
|
|
59
|
+
* {
|
|
60
|
+
* logType: "ClusterAutoscaler",
|
|
61
|
+
* enabled: true,
|
|
62
|
+
* logTtl: 60,
|
|
63
|
+
* },
|
|
64
|
+
* {
|
|
65
|
+
* logType: "Etcd",
|
|
66
|
+
* enabled: false,
|
|
67
|
+
* logTtl: 60,
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
56
71
|
* tags: [{
|
|
57
72
|
* key: "tf-k1",
|
|
58
73
|
* value: "tf-v1",
|
|
@@ -64,6 +79,9 @@ import * as outputs from "../types/output";
|
|
|
64
79
|
* // create vke node pool
|
|
65
80
|
* const fooNodePool = new volcengine.vke.NodePool("fooNodePool", {
|
|
66
81
|
* clusterId: fooCluster.id,
|
|
82
|
+
* management: {
|
|
83
|
+
* enabled: false,
|
|
84
|
+
* },
|
|
67
85
|
* autoScaling: {
|
|
68
86
|
* enabled: true,
|
|
69
87
|
* minReplicas: 0,
|
|
@@ -197,6 +215,14 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
197
215
|
* Eip allocation Id.
|
|
198
216
|
*/
|
|
199
217
|
readonly eipAllocationId: pulumi.Output<string>;
|
|
218
|
+
/**
|
|
219
|
+
* The IRSA configuration.
|
|
220
|
+
*/
|
|
221
|
+
readonly irsaConfigs: pulumi.Output<outputs.vke.ClusterIrsaConfig[]>;
|
|
222
|
+
/**
|
|
223
|
+
* Whether to enable IRSA for the cluster. This field is valid only when modifying the cluster.
|
|
224
|
+
*/
|
|
225
|
+
readonly irsaEnabled: pulumi.Output<boolean | undefined>;
|
|
200
226
|
/**
|
|
201
227
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
202
228
|
*/
|
|
@@ -266,6 +292,14 @@ export interface ClusterState {
|
|
|
266
292
|
* Eip allocation Id.
|
|
267
293
|
*/
|
|
268
294
|
eipAllocationId?: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* The IRSA configuration.
|
|
297
|
+
*/
|
|
298
|
+
irsaConfigs?: pulumi.Input<pulumi.Input<inputs.vke.ClusterIrsaConfig>[]>;
|
|
299
|
+
/**
|
|
300
|
+
* Whether to enable IRSA for the cluster. This field is valid only when modifying the cluster.
|
|
301
|
+
*/
|
|
302
|
+
irsaEnabled?: pulumi.Input<boolean>;
|
|
269
303
|
/**
|
|
270
304
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
271
305
|
*/
|
|
@@ -323,6 +357,10 @@ export interface ClusterArgs {
|
|
|
323
357
|
* The description of the cluster.
|
|
324
358
|
*/
|
|
325
359
|
description?: pulumi.Input<string>;
|
|
360
|
+
/**
|
|
361
|
+
* Whether to enable IRSA for the cluster. This field is valid only when modifying the cluster.
|
|
362
|
+
*/
|
|
363
|
+
irsaEnabled?: pulumi.Input<boolean>;
|
|
326
364
|
/**
|
|
327
365
|
* The version of Kubernetes specified when creating a VKE cluster (specified to patch version), with an example value of `1.24`. If not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.
|
|
328
366
|
*/
|
package/vke/cluster.js
CHANGED
|
@@ -37,6 +37,7 @@ const utilities = require("../utilities");
|
|
|
37
37
|
* description: "created by terraform",
|
|
38
38
|
* projectName: "default",
|
|
39
39
|
* deleteProtectionEnabled: false,
|
|
40
|
+
* irsaEnabled: false,
|
|
40
41
|
* clusterConfig: {
|
|
41
42
|
* subnetIds: [fooSubnet.id],
|
|
42
43
|
* apiServerPublicAccessEnabled: true,
|
|
@@ -57,6 +58,20 @@ const utilities = require("../utilities");
|
|
|
57
58
|
* servicesConfig: {
|
|
58
59
|
* serviceCidrsv4s: ["172.30.0.0/18"],
|
|
59
60
|
* },
|
|
61
|
+
* loggingConfig: {
|
|
62
|
+
* logSetups: [
|
|
63
|
+
* {
|
|
64
|
+
* logType: "ClusterAutoscaler",
|
|
65
|
+
* enabled: true,
|
|
66
|
+
* logTtl: 60,
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* logType: "Etcd",
|
|
70
|
+
* enabled: false,
|
|
71
|
+
* logTtl: 60,
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
60
75
|
* tags: [{
|
|
61
76
|
* key: "tf-k1",
|
|
62
77
|
* value: "tf-v1",
|
|
@@ -68,6 +83,9 @@ const utilities = require("../utilities");
|
|
|
68
83
|
* // create vke node pool
|
|
69
84
|
* const fooNodePool = new volcengine.vke.NodePool("fooNodePool", {
|
|
70
85
|
* clusterId: fooCluster.id,
|
|
86
|
+
* management: {
|
|
87
|
+
* enabled: false,
|
|
88
|
+
* },
|
|
71
89
|
* autoScaling: {
|
|
72
90
|
* enabled: true,
|
|
73
91
|
* minReplicas: 0,
|
|
@@ -198,6 +216,8 @@ class Cluster extends pulumi.CustomResource {
|
|
|
198
216
|
resourceInputs["deleteProtectionEnabled"] = state ? state.deleteProtectionEnabled : undefined;
|
|
199
217
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
200
218
|
resourceInputs["eipAllocationId"] = state ? state.eipAllocationId : undefined;
|
|
219
|
+
resourceInputs["irsaConfigs"] = state ? state.irsaConfigs : undefined;
|
|
220
|
+
resourceInputs["irsaEnabled"] = state ? state.irsaEnabled : undefined;
|
|
201
221
|
resourceInputs["kubeconfigPrivate"] = state ? state.kubeconfigPrivate : undefined;
|
|
202
222
|
resourceInputs["kubeconfigPublic"] = state ? state.kubeconfigPublic : undefined;
|
|
203
223
|
resourceInputs["kubernetesVersion"] = state ? state.kubernetesVersion : undefined;
|
|
@@ -223,6 +243,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
223
243
|
resourceInputs["clusterConfig"] = args ? args.clusterConfig : undefined;
|
|
224
244
|
resourceInputs["deleteProtectionEnabled"] = args ? args.deleteProtectionEnabled : undefined;
|
|
225
245
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
246
|
+
resourceInputs["irsaEnabled"] = args ? args.irsaEnabled : undefined;
|
|
226
247
|
resourceInputs["kubernetesVersion"] = args ? args.kubernetesVersion : undefined;
|
|
227
248
|
resourceInputs["loggingConfig"] = args ? args.loggingConfig : undefined;
|
|
228
249
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
@@ -231,6 +252,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
231
252
|
resourceInputs["servicesConfig"] = args ? args.servicesConfig : undefined;
|
|
232
253
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
233
254
|
resourceInputs["eipAllocationId"] = undefined /*out*/;
|
|
255
|
+
resourceInputs["irsaConfigs"] = undefined /*out*/;
|
|
234
256
|
resourceInputs["kubeconfigPrivate"] = undefined /*out*/;
|
|
235
257
|
resourceInputs["kubeconfigPublic"] = undefined /*out*/;
|
|
236
258
|
}
|
package/vke/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../vke/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../vke/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFA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AC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxJL,0BAyJC;AA3IG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/vke/nodePool.d.ts
CHANGED
|
@@ -251,6 +251,10 @@ export declare class NodePool extends pulumi.CustomResource {
|
|
|
251
251
|
* The KubernetesConfig of NodeConfig.
|
|
252
252
|
*/
|
|
253
253
|
readonly kubernetesConfig: pulumi.Output<outputs.vke.NodePoolKubernetesConfig>;
|
|
254
|
+
/**
|
|
255
|
+
* The Management Config of NodePool.
|
|
256
|
+
*/
|
|
257
|
+
readonly management: pulumi.Output<outputs.vke.NodePoolManagement>;
|
|
254
258
|
/**
|
|
255
259
|
* The Name of NodePool.
|
|
256
260
|
*/
|
|
@@ -307,6 +311,10 @@ export interface NodePoolState {
|
|
|
307
311
|
* The KubernetesConfig of NodeConfig.
|
|
308
312
|
*/
|
|
309
313
|
kubernetesConfig?: pulumi.Input<inputs.vke.NodePoolKubernetesConfig>;
|
|
314
|
+
/**
|
|
315
|
+
* The Management Config of NodePool.
|
|
316
|
+
*/
|
|
317
|
+
management?: pulumi.Input<inputs.vke.NodePoolManagement>;
|
|
310
318
|
/**
|
|
311
319
|
* The Name of NodePool.
|
|
312
320
|
*/
|
|
@@ -355,6 +363,10 @@ export interface NodePoolArgs {
|
|
|
355
363
|
* The KubernetesConfig of NodeConfig.
|
|
356
364
|
*/
|
|
357
365
|
kubernetesConfig: pulumi.Input<inputs.vke.NodePoolKubernetesConfig>;
|
|
366
|
+
/**
|
|
367
|
+
* The Management Config of NodePool.
|
|
368
|
+
*/
|
|
369
|
+
management?: pulumi.Input<inputs.vke.NodePoolManagement>;
|
|
358
370
|
/**
|
|
359
371
|
* The Name of NodePool.
|
|
360
372
|
*/
|
package/vke/nodePool.js
CHANGED
|
@@ -246,6 +246,7 @@ class NodePool extends pulumi.CustomResource {
|
|
|
246
246
|
resourceInputs["instanceIds"] = state ? state.instanceIds : undefined;
|
|
247
247
|
resourceInputs["keepInstanceName"] = state ? state.keepInstanceName : undefined;
|
|
248
248
|
resourceInputs["kubernetesConfig"] = state ? state.kubernetesConfig : undefined;
|
|
249
|
+
resourceInputs["management"] = state ? state.management : undefined;
|
|
249
250
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
250
251
|
resourceInputs["nodeConfig"] = state ? state.nodeConfig : undefined;
|
|
251
252
|
resourceInputs["nodeStatistics"] = state ? state.nodeStatistics : undefined;
|
|
@@ -265,6 +266,7 @@ class NodePool extends pulumi.CustomResource {
|
|
|
265
266
|
resourceInputs["instanceIds"] = args ? args.instanceIds : undefined;
|
|
266
267
|
resourceInputs["keepInstanceName"] = args ? args.keepInstanceName : undefined;
|
|
267
268
|
resourceInputs["kubernetesConfig"] = args ? args.kubernetesConfig : undefined;
|
|
269
|
+
resourceInputs["management"] = args ? args.management : undefined;
|
|
268
270
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
269
271
|
resourceInputs["nodeConfig"] = args ? args.nodeConfig : undefined;
|
|
270
272
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
package/vke/nodePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodePool.js","sourceRoot":"","sources":["../../vke/nodePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8MG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,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;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1HL,4BA2HC;AA7GG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/vpc/securityGroup.d.ts
CHANGED
|
@@ -63,6 +63,10 @@ export declare class SecurityGroup extends pulumi.CustomResource {
|
|
|
63
63
|
* Tags.
|
|
64
64
|
*/
|
|
65
65
|
readonly tags: pulumi.Output<outputs.vpc.SecurityGroupTag[] | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Type of SecurityGroup. Valid values: `cidrOnly`. If this parameter is not specified, it is a normal security group.
|
|
68
|
+
*/
|
|
69
|
+
readonly type: pulumi.Output<string>;
|
|
66
70
|
/**
|
|
67
71
|
* Id of the VPC.
|
|
68
72
|
*/
|
|
@@ -104,6 +108,10 @@ export interface SecurityGroupState {
|
|
|
104
108
|
* Tags.
|
|
105
109
|
*/
|
|
106
110
|
tags?: pulumi.Input<pulumi.Input<inputs.vpc.SecurityGroupTag>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* Type of SecurityGroup. Valid values: `cidrOnly`. If this parameter is not specified, it is a normal security group.
|
|
113
|
+
*/
|
|
114
|
+
type?: pulumi.Input<string>;
|
|
107
115
|
/**
|
|
108
116
|
* Id of the VPC.
|
|
109
117
|
*/
|
|
@@ -129,6 +137,10 @@ export interface SecurityGroupArgs {
|
|
|
129
137
|
* Tags.
|
|
130
138
|
*/
|
|
131
139
|
tags?: pulumi.Input<pulumi.Input<inputs.vpc.SecurityGroupTag>[]>;
|
|
140
|
+
/**
|
|
141
|
+
* Type of SecurityGroup. Valid values: `cidrOnly`. If this parameter is not specified, it is a normal security group.
|
|
142
|
+
*/
|
|
143
|
+
type?: pulumi.Input<string>;
|
|
132
144
|
/**
|
|
133
145
|
* Id of the VPC.
|
|
134
146
|
*/
|
package/vpc/securityGroup.js
CHANGED
|
@@ -61,6 +61,7 @@ class SecurityGroup extends pulumi.CustomResource {
|
|
|
61
61
|
resourceInputs["securityGroupName"] = state ? state.securityGroupName : undefined;
|
|
62
62
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
63
63
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
64
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
64
65
|
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
65
66
|
}
|
|
66
67
|
else {
|
|
@@ -72,6 +73,7 @@ class SecurityGroup extends pulumi.CustomResource {
|
|
|
72
73
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
73
74
|
resourceInputs["securityGroupName"] = args ? args.securityGroupName : undefined;
|
|
74
75
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
76
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
75
77
|
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
76
78
|
resourceInputs["creationTime"] = undefined /*out*/;
|
|
77
79
|
resourceInputs["status"] = undefined /*out*/;
|
package/vpc/securityGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityGroup.js","sourceRoot":"","sources":["../../vpc/securityGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;
|
|
1
|
+
{"version":3,"file":"securityGroup.js","sourceRoot":"","sources":["../../vpc/securityGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EA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