@pulumi/rancher2 5.1.0 → 5.1.1
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/authConfigPing.d.ts +9 -0
- package/authConfigPing.js.map +1 -1
- package/cloudCredential.d.ts +3 -3
- package/cluster.d.ts +93 -48
- package/cluster.js +52 -7
- package/cluster.js.map +1 -1
- package/clusterRoleTemplateBinding.d.ts +3 -3
- package/clusterSync.d.ts +3 -3
- package/clusterTemplate.d.ts +1 -1
- package/clusterTemplate.js +1 -1
- package/clusterV2.d.ts +6 -26
- package/clusterV2.js +0 -20
- package/clusterV2.js.map +1 -1
- package/feature.d.ts +1 -1
- package/feature.js +1 -1
- package/getCluster.d.ts +3 -3
- package/globalRoleBinding.d.ts +3 -3
- package/machineConfigV2.d.ts +4 -4
- package/machineConfigV2.js +1 -1
- package/nodePool.d.ts +6 -6
- package/nodeTemplate.d.ts +7 -7
- package/nodeTemplate.js +1 -1
- package/package.json +2 -2
- package/projectRoleTemplateBinding.d.ts +3 -3
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/registry.d.ts +4 -4
- package/registry.js +4 -4
- package/types/input.d.ts +148 -94
- package/types/output.d.ts +148 -94
package/types/output.d.ts
CHANGED
|
@@ -612,13 +612,22 @@ export interface ClusterAlterRuleSystemServiceRule {
|
|
|
612
612
|
condition?: string;
|
|
613
613
|
}
|
|
614
614
|
export interface ClusterClusterAgentDeploymentCustomization {
|
|
615
|
+
/**
|
|
616
|
+
* User defined tolerations to append to agent (list)
|
|
617
|
+
*/
|
|
615
618
|
appendTolerations?: outputs.ClusterClusterAgentDeploymentCustomizationAppendToleration[];
|
|
619
|
+
/**
|
|
620
|
+
* User defined affinity to override default agent affinity (string)
|
|
621
|
+
*/
|
|
616
622
|
overrideAffinity?: string;
|
|
623
|
+
/**
|
|
624
|
+
* User defined resource requirements to set on the agent (list)
|
|
625
|
+
*/
|
|
617
626
|
overrideResourceRequirements?: outputs.ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirement[];
|
|
618
627
|
}
|
|
619
628
|
export interface ClusterClusterAgentDeploymentCustomizationAppendToleration {
|
|
620
629
|
/**
|
|
621
|
-
* The toleration effect.
|
|
630
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
622
631
|
*/
|
|
623
632
|
effect?: string;
|
|
624
633
|
/**
|
|
@@ -626,11 +635,11 @@ export interface ClusterClusterAgentDeploymentCustomizationAppendToleration {
|
|
|
626
635
|
*/
|
|
627
636
|
key: string;
|
|
628
637
|
/**
|
|
629
|
-
* The toleration operator
|
|
638
|
+
* The toleration operator (string)
|
|
630
639
|
*/
|
|
631
640
|
operator?: string;
|
|
632
641
|
/**
|
|
633
|
-
* The
|
|
642
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
634
643
|
*/
|
|
635
644
|
seconds: number;
|
|
636
645
|
/**
|
|
@@ -639,9 +648,21 @@ export interface ClusterClusterAgentDeploymentCustomizationAppendToleration {
|
|
|
639
648
|
value?: string;
|
|
640
649
|
}
|
|
641
650
|
export interface ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirement {
|
|
651
|
+
/**
|
|
652
|
+
* The maximum CPU limit for agent (string)
|
|
653
|
+
*/
|
|
642
654
|
cpuLimit?: string;
|
|
655
|
+
/**
|
|
656
|
+
* The minimum CPU required for agent (string)
|
|
657
|
+
*/
|
|
643
658
|
cpuRequest?: string;
|
|
659
|
+
/**
|
|
660
|
+
* The maximum memory limit for agent (string)
|
|
661
|
+
*/
|
|
644
662
|
memoryLimit?: string;
|
|
663
|
+
/**
|
|
664
|
+
* The minimum memory required for agent (string)
|
|
665
|
+
*/
|
|
645
666
|
memoryRequest?: string;
|
|
646
667
|
}
|
|
647
668
|
export interface ClusterClusterAuthEndpoint {
|
|
@@ -776,7 +797,7 @@ export interface ClusterEksConfig {
|
|
|
776
797
|
*/
|
|
777
798
|
associateWorkerNodePublicIp?: boolean;
|
|
778
799
|
/**
|
|
779
|
-
* The desired number of worker nodes.
|
|
800
|
+
* The desired number of worker nodes. For Rancher v2.3.x and above. Default `3` (int)
|
|
780
801
|
*/
|
|
781
802
|
desiredNodes?: number;
|
|
782
803
|
ebsEncryption?: boolean;
|
|
@@ -785,7 +806,7 @@ export interface ClusterEksConfig {
|
|
|
785
806
|
*/
|
|
786
807
|
instanceType?: string;
|
|
787
808
|
/**
|
|
788
|
-
* Allow user to specify key name to use.
|
|
809
|
+
* Allow user to specify key name to use. For Rancher v2.2.7 and above (string)
|
|
789
810
|
*/
|
|
790
811
|
keyPairName?: string;
|
|
791
812
|
/**
|
|
@@ -1006,13 +1027,22 @@ export interface ClusterEksConfigV2NodeGroupLaunchTemplate {
|
|
|
1006
1027
|
version?: number;
|
|
1007
1028
|
}
|
|
1008
1029
|
export interface ClusterFleetAgentDeploymentCustomization {
|
|
1030
|
+
/**
|
|
1031
|
+
* User defined tolerations to append to agent (list)
|
|
1032
|
+
*/
|
|
1009
1033
|
appendTolerations?: outputs.ClusterFleetAgentDeploymentCustomizationAppendToleration[];
|
|
1034
|
+
/**
|
|
1035
|
+
* User defined affinity to override default agent affinity (string)
|
|
1036
|
+
*/
|
|
1010
1037
|
overrideAffinity?: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* User defined resource requirements to set on the agent (list)
|
|
1040
|
+
*/
|
|
1011
1041
|
overrideResourceRequirements?: outputs.ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirement[];
|
|
1012
1042
|
}
|
|
1013
1043
|
export interface ClusterFleetAgentDeploymentCustomizationAppendToleration {
|
|
1014
1044
|
/**
|
|
1015
|
-
* The toleration effect.
|
|
1045
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
1016
1046
|
*/
|
|
1017
1047
|
effect?: string;
|
|
1018
1048
|
/**
|
|
@@ -1020,11 +1050,11 @@ export interface ClusterFleetAgentDeploymentCustomizationAppendToleration {
|
|
|
1020
1050
|
*/
|
|
1021
1051
|
key: string;
|
|
1022
1052
|
/**
|
|
1023
|
-
* The toleration operator
|
|
1053
|
+
* The toleration operator (string)
|
|
1024
1054
|
*/
|
|
1025
1055
|
operator?: string;
|
|
1026
1056
|
/**
|
|
1027
|
-
* The
|
|
1057
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
1028
1058
|
*/
|
|
1029
1059
|
seconds: number;
|
|
1030
1060
|
/**
|
|
@@ -1033,9 +1063,21 @@ export interface ClusterFleetAgentDeploymentCustomizationAppendToleration {
|
|
|
1033
1063
|
value?: string;
|
|
1034
1064
|
}
|
|
1035
1065
|
export interface ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirement {
|
|
1066
|
+
/**
|
|
1067
|
+
* The maximum CPU limit for agent (string)
|
|
1068
|
+
*/
|
|
1036
1069
|
cpuLimit?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* The minimum CPU required for agent (string)
|
|
1072
|
+
*/
|
|
1037
1073
|
cpuRequest?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* The maximum memory limit for agent (string)
|
|
1076
|
+
*/
|
|
1038
1077
|
memoryLimit?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* The minimum memory required for agent (string)
|
|
1080
|
+
*/
|
|
1039
1081
|
memoryRequest?: string;
|
|
1040
1082
|
}
|
|
1041
1083
|
export interface ClusterGkeConfig {
|
|
@@ -1512,7 +1554,7 @@ export interface ClusterGkeConfigV2NodePoolConfig {
|
|
|
1512
1554
|
}
|
|
1513
1555
|
export interface ClusterGkeConfigV2NodePoolConfigTaint {
|
|
1514
1556
|
/**
|
|
1515
|
-
* The toleration effect.
|
|
1557
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
1516
1558
|
*/
|
|
1517
1559
|
effect: string;
|
|
1518
1560
|
/**
|
|
@@ -1594,7 +1636,7 @@ export interface ClusterOkeConfig {
|
|
|
1594
1636
|
*/
|
|
1595
1637
|
enableKubernetesDashboard?: boolean;
|
|
1596
1638
|
/**
|
|
1597
|
-
* Specifies whether Kubernetes API endpoint is a private IP only accessible from within the VCN. Default `false`
|
|
1639
|
+
* Specifies whether Kubernetes API endpoint is a private IP only accessible from within the VCN. Default `false` for Rancher v2.5.10 and above (bool)
|
|
1598
1640
|
*/
|
|
1599
1641
|
enablePrivateControlPlane?: boolean;
|
|
1600
1642
|
/**
|
|
@@ -1610,7 +1652,7 @@ export interface ClusterOkeConfig {
|
|
|
1610
1652
|
*/
|
|
1611
1653
|
flexOcpus?: number;
|
|
1612
1654
|
/**
|
|
1613
|
-
* The OCID of a KMS vault master key used to encrypt secrets at rest. See [here](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengencryptingdata.htm) for help creating a vault and master encryption key.
|
|
1655
|
+
* The OCID of a KMS vault master key used to encrypt secrets at rest. See [here](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengencryptingdata.htm) for help creating a vault and master encryption key. For Rancher v2.5.9 and above (string)
|
|
1614
1656
|
*/
|
|
1615
1657
|
kmsKeyId?: string;
|
|
1616
1658
|
/**
|
|
@@ -1764,7 +1806,7 @@ export interface ClusterRkeConfig {
|
|
|
1764
1806
|
*/
|
|
1765
1807
|
cloudProvider: outputs.ClusterRkeConfigCloudProvider;
|
|
1766
1808
|
/**
|
|
1767
|
-
* RKE dns add-on.
|
|
1809
|
+
* RKE dns add-on. For Rancher v2.2.x (list maxitems:1)
|
|
1768
1810
|
*/
|
|
1769
1811
|
dns: outputs.ClusterRkeConfigDns;
|
|
1770
1812
|
/**
|
|
@@ -2424,7 +2466,7 @@ export interface ClusterRkeConfigDnsNodelocal {
|
|
|
2424
2466
|
}
|
|
2425
2467
|
export interface ClusterRkeConfigDnsToleration {
|
|
2426
2468
|
/**
|
|
2427
|
-
* The toleration effect.
|
|
2469
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
2428
2470
|
*/
|
|
2429
2471
|
effect?: string;
|
|
2430
2472
|
/**
|
|
@@ -2432,11 +2474,11 @@ export interface ClusterRkeConfigDnsToleration {
|
|
|
2432
2474
|
*/
|
|
2433
2475
|
key: string;
|
|
2434
2476
|
/**
|
|
2435
|
-
* The toleration operator
|
|
2477
|
+
* The toleration operator (string)
|
|
2436
2478
|
*/
|
|
2437
2479
|
operator?: string;
|
|
2438
2480
|
/**
|
|
2439
|
-
* The
|
|
2481
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
2440
2482
|
*/
|
|
2441
2483
|
seconds: number;
|
|
2442
2484
|
/**
|
|
@@ -2518,7 +2560,7 @@ export interface ClusterRkeConfigIngress {
|
|
|
2518
2560
|
}
|
|
2519
2561
|
export interface ClusterRkeConfigIngressToleration {
|
|
2520
2562
|
/**
|
|
2521
|
-
* The toleration effect.
|
|
2563
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
2522
2564
|
*/
|
|
2523
2565
|
effect?: string;
|
|
2524
2566
|
/**
|
|
@@ -2526,11 +2568,11 @@ export interface ClusterRkeConfigIngressToleration {
|
|
|
2526
2568
|
*/
|
|
2527
2569
|
key: string;
|
|
2528
2570
|
/**
|
|
2529
|
-
* The toleration operator
|
|
2571
|
+
* The toleration operator (string)
|
|
2530
2572
|
*/
|
|
2531
2573
|
operator?: string;
|
|
2532
2574
|
/**
|
|
2533
|
-
* The
|
|
2575
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
2534
2576
|
*/
|
|
2535
2577
|
seconds: number;
|
|
2536
2578
|
/**
|
|
@@ -2586,7 +2628,7 @@ export interface ClusterRkeConfigMonitoring {
|
|
|
2586
2628
|
}
|
|
2587
2629
|
export interface ClusterRkeConfigMonitoringToleration {
|
|
2588
2630
|
/**
|
|
2589
|
-
* The toleration effect.
|
|
2631
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
2590
2632
|
*/
|
|
2591
2633
|
effect?: string;
|
|
2592
2634
|
/**
|
|
@@ -2594,11 +2636,11 @@ export interface ClusterRkeConfigMonitoringToleration {
|
|
|
2594
2636
|
*/
|
|
2595
2637
|
key: string;
|
|
2596
2638
|
/**
|
|
2597
|
-
* The toleration operator
|
|
2639
|
+
* The toleration operator (string)
|
|
2598
2640
|
*/
|
|
2599
2641
|
operator?: string;
|
|
2600
2642
|
/**
|
|
2601
|
-
* The
|
|
2643
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
2602
2644
|
*/
|
|
2603
2645
|
seconds: number;
|
|
2604
2646
|
/**
|
|
@@ -2984,7 +3026,7 @@ export interface ClusterRkeConfigNetworkFlannelNetworkProvider {
|
|
|
2984
3026
|
}
|
|
2985
3027
|
export interface ClusterRkeConfigNetworkToleration {
|
|
2986
3028
|
/**
|
|
2987
|
-
* The toleration effect.
|
|
3029
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
2988
3030
|
*/
|
|
2989
3031
|
effect?: string;
|
|
2990
3032
|
/**
|
|
@@ -2992,11 +3034,11 @@ export interface ClusterRkeConfigNetworkToleration {
|
|
|
2992
3034
|
*/
|
|
2993
3035
|
key: string;
|
|
2994
3036
|
/**
|
|
2995
|
-
* The toleration operator
|
|
3037
|
+
* The toleration operator (string)
|
|
2996
3038
|
*/
|
|
2997
3039
|
operator?: string;
|
|
2998
3040
|
/**
|
|
2999
|
-
* The
|
|
3041
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
3000
3042
|
*/
|
|
3001
3043
|
seconds: number;
|
|
3002
3044
|
/**
|
|
@@ -3126,7 +3168,7 @@ export interface ClusterRkeConfigServices {
|
|
|
3126
3168
|
}
|
|
3127
3169
|
export interface ClusterRkeConfigServicesEtcd {
|
|
3128
3170
|
/**
|
|
3129
|
-
* Backup options for etcd service.
|
|
3171
|
+
* Backup options for etcd service. For Rancher v2.2.x (list maxitems:1)
|
|
3130
3172
|
*/
|
|
3131
3173
|
backupConfig: outputs.ClusterRkeConfigServicesEtcdBackupConfig;
|
|
3132
3174
|
/**
|
|
@@ -3160,7 +3202,7 @@ export interface ClusterRkeConfigServicesEtcd {
|
|
|
3160
3202
|
*/
|
|
3161
3203
|
extraEnvs?: string[];
|
|
3162
3204
|
/**
|
|
3163
|
-
* Etcd service GID. Default: `0`. For Rancher v2.3.x
|
|
3205
|
+
* Etcd service GID. Default: `0`. For Rancher v2.3.x and above (int)
|
|
3164
3206
|
*/
|
|
3165
3207
|
gid?: number;
|
|
3166
3208
|
/**
|
|
@@ -3184,7 +3226,7 @@ export interface ClusterRkeConfigServicesEtcd {
|
|
|
3184
3226
|
*/
|
|
3185
3227
|
snapshot: boolean;
|
|
3186
3228
|
/**
|
|
3187
|
-
* Etcd service UID. Default: `0`. For Rancher v2.3.x
|
|
3229
|
+
* Etcd service UID. Default: `0`. For Rancher v2.3.x and above (int)
|
|
3188
3230
|
*/
|
|
3189
3231
|
uid?: number;
|
|
3190
3232
|
}
|
|
@@ -3210,7 +3252,7 @@ export interface ClusterRkeConfigServicesEtcdBackupConfig {
|
|
|
3210
3252
|
*/
|
|
3211
3253
|
safeTimestamp?: boolean;
|
|
3212
3254
|
/**
|
|
3213
|
-
* Timeout in seconds for etcd backup. Default: `300`.
|
|
3255
|
+
* Timeout in seconds for etcd backup. Default: `300`. For Rancher v2.5.6 and above (int)
|
|
3214
3256
|
*/
|
|
3215
3257
|
timeout: number;
|
|
3216
3258
|
}
|
|
@@ -3313,18 +3355,6 @@ export interface ClusterRkeConfigServicesKubeApiAdmissionConfiguration {
|
|
|
3313
3355
|
export interface ClusterRkeConfigServicesKubeApiAdmissionConfigurationPlugin {
|
|
3314
3356
|
/**
|
|
3315
3357
|
* Plugin configuration. (string) Ex:
|
|
3316
|
-
*
|
|
3317
|
-
* ```typescript
|
|
3318
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
3319
|
-
* ```
|
|
3320
|
-
* configuration = <<EOF
|
|
3321
|
-
* apiVersion: eventratelimit.admission.k8s.io/v1alpha1
|
|
3322
|
-
* kind: Configuration
|
|
3323
|
-
* limits:
|
|
3324
|
-
* - type: Server
|
|
3325
|
-
* burst: 35000
|
|
3326
|
-
* qps: 6000
|
|
3327
|
-
* EOF
|
|
3328
3358
|
*/
|
|
3329
3359
|
configuration: string;
|
|
3330
3360
|
/**
|
|
@@ -3339,18 +3369,6 @@ export interface ClusterRkeConfigServicesKubeApiAdmissionConfigurationPlugin {
|
|
|
3339
3369
|
export interface ClusterRkeConfigServicesKubeApiAuditLog {
|
|
3340
3370
|
/**
|
|
3341
3371
|
* Plugin configuration. (string) Ex:
|
|
3342
|
-
*
|
|
3343
|
-
* ```typescript
|
|
3344
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
3345
|
-
* ```
|
|
3346
|
-
* configuration = <<EOF
|
|
3347
|
-
* apiVersion: eventratelimit.admission.k8s.io/v1alpha1
|
|
3348
|
-
* kind: Configuration
|
|
3349
|
-
* limits:
|
|
3350
|
-
* - type: Server
|
|
3351
|
-
* burst: 35000
|
|
3352
|
-
* qps: 6000
|
|
3353
|
-
* EOF
|
|
3354
3372
|
*/
|
|
3355
3373
|
configuration: outputs.ClusterRkeConfigServicesKubeApiAuditLogConfiguration;
|
|
3356
3374
|
/**
|
|
@@ -3387,18 +3405,6 @@ export interface ClusterRkeConfigServicesKubeApiAuditLogConfiguration {
|
|
|
3387
3405
|
export interface ClusterRkeConfigServicesKubeApiEventRateLimit {
|
|
3388
3406
|
/**
|
|
3389
3407
|
* Plugin configuration. (string) Ex:
|
|
3390
|
-
*
|
|
3391
|
-
* ```typescript
|
|
3392
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
3393
|
-
* ```
|
|
3394
|
-
* configuration = <<EOF
|
|
3395
|
-
* apiVersion: eventratelimit.admission.k8s.io/v1alpha1
|
|
3396
|
-
* kind: Configuration
|
|
3397
|
-
* limits:
|
|
3398
|
-
* - type: Server
|
|
3399
|
-
* burst: 35000
|
|
3400
|
-
* qps: 6000
|
|
3401
|
-
* EOF
|
|
3402
3408
|
*/
|
|
3403
3409
|
configuration: string;
|
|
3404
3410
|
/**
|
|
@@ -3564,7 +3570,7 @@ export interface ClusterRkeConfigUpgradeStrategyDrainInput {
|
|
|
3564
3570
|
*/
|
|
3565
3571
|
ignoreDaemonSets?: boolean;
|
|
3566
3572
|
/**
|
|
3567
|
-
* Timeout in seconds for etcd backup. Default: `300`.
|
|
3573
|
+
* Timeout in seconds for etcd backup. Default: `300`. For Rancher v2.5.6 and above (int)
|
|
3568
3574
|
*/
|
|
3569
3575
|
timeout?: number;
|
|
3570
3576
|
}
|
|
@@ -4373,23 +4379,35 @@ export interface ClusterV2AgentEnvVar {
|
|
|
4373
4379
|
value: string;
|
|
4374
4380
|
}
|
|
4375
4381
|
export interface ClusterV2ClusterAgentDeploymentCustomization {
|
|
4382
|
+
/**
|
|
4383
|
+
* User defined tolerations to append to agent (list)
|
|
4384
|
+
*/
|
|
4376
4385
|
appendTolerations?: outputs.ClusterV2ClusterAgentDeploymentCustomizationAppendToleration[];
|
|
4386
|
+
/**
|
|
4387
|
+
* User defined affinity to override default agent affinity (string)
|
|
4388
|
+
*/
|
|
4377
4389
|
overrideAffinity?: string;
|
|
4390
|
+
/**
|
|
4391
|
+
* User defined resource requirements to set on the agent (list)
|
|
4392
|
+
*/
|
|
4378
4393
|
overrideResourceRequirements?: outputs.ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement[];
|
|
4379
4394
|
}
|
|
4380
4395
|
export interface ClusterV2ClusterAgentDeploymentCustomizationAppendToleration {
|
|
4381
4396
|
/**
|
|
4382
|
-
* The
|
|
4397
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
4383
4398
|
*/
|
|
4384
4399
|
effect?: string;
|
|
4385
4400
|
/**
|
|
4386
|
-
* The
|
|
4401
|
+
* The toleration key (string)
|
|
4387
4402
|
*/
|
|
4388
4403
|
key: string;
|
|
4389
4404
|
/**
|
|
4390
|
-
*
|
|
4405
|
+
* The toleration operator (string)
|
|
4391
4406
|
*/
|
|
4392
4407
|
operator?: string;
|
|
4408
|
+
/**
|
|
4409
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
4410
|
+
*/
|
|
4393
4411
|
seconds: number;
|
|
4394
4412
|
/**
|
|
4395
4413
|
* Rancher agent env var value (string)
|
|
@@ -4397,9 +4415,21 @@ export interface ClusterV2ClusterAgentDeploymentCustomizationAppendToleration {
|
|
|
4397
4415
|
value?: string;
|
|
4398
4416
|
}
|
|
4399
4417
|
export interface ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement {
|
|
4418
|
+
/**
|
|
4419
|
+
* The maximum CPU limit for agent (string)
|
|
4420
|
+
*/
|
|
4400
4421
|
cpuLimit?: string;
|
|
4422
|
+
/**
|
|
4423
|
+
* The minimum CPU required for agent (string)
|
|
4424
|
+
*/
|
|
4401
4425
|
cpuRequest?: string;
|
|
4426
|
+
/**
|
|
4427
|
+
* The maximum memory limit for agent (string)
|
|
4428
|
+
*/
|
|
4402
4429
|
memoryLimit?: string;
|
|
4430
|
+
/**
|
|
4431
|
+
* The minimum memory required for agent (string)
|
|
4432
|
+
*/
|
|
4403
4433
|
memoryRequest?: string;
|
|
4404
4434
|
}
|
|
4405
4435
|
export interface ClusterV2ClusterRegistrationToken {
|
|
@@ -4461,23 +4491,35 @@ export interface ClusterV2ClusterRegistrationToken {
|
|
|
4461
4491
|
windowsNodeCommand: string;
|
|
4462
4492
|
}
|
|
4463
4493
|
export interface ClusterV2FleetAgentDeploymentCustomization {
|
|
4494
|
+
/**
|
|
4495
|
+
* User defined tolerations to append to agent (list)
|
|
4496
|
+
*/
|
|
4464
4497
|
appendTolerations?: outputs.ClusterV2FleetAgentDeploymentCustomizationAppendToleration[];
|
|
4498
|
+
/**
|
|
4499
|
+
* User defined affinity to override default agent affinity (string)
|
|
4500
|
+
*/
|
|
4465
4501
|
overrideAffinity?: string;
|
|
4502
|
+
/**
|
|
4503
|
+
* User defined resource requirements to set on the agent (list)
|
|
4504
|
+
*/
|
|
4466
4505
|
overrideResourceRequirements?: outputs.ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement[];
|
|
4467
4506
|
}
|
|
4468
4507
|
export interface ClusterV2FleetAgentDeploymentCustomizationAppendToleration {
|
|
4469
4508
|
/**
|
|
4470
|
-
* The
|
|
4509
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
4471
4510
|
*/
|
|
4472
4511
|
effect?: string;
|
|
4473
4512
|
/**
|
|
4474
|
-
* The
|
|
4513
|
+
* The toleration key (string)
|
|
4475
4514
|
*/
|
|
4476
4515
|
key: string;
|
|
4477
4516
|
/**
|
|
4478
|
-
*
|
|
4517
|
+
* The toleration operator (string)
|
|
4479
4518
|
*/
|
|
4480
4519
|
operator?: string;
|
|
4520
|
+
/**
|
|
4521
|
+
* The number of seconds a pod will stay bound to a node with a matching taint (int)
|
|
4522
|
+
*/
|
|
4481
4523
|
seconds: number;
|
|
4482
4524
|
/**
|
|
4483
4525
|
* Rancher agent env var value (string)
|
|
@@ -4485,9 +4527,21 @@ export interface ClusterV2FleetAgentDeploymentCustomizationAppendToleration {
|
|
|
4485
4527
|
value?: string;
|
|
4486
4528
|
}
|
|
4487
4529
|
export interface ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement {
|
|
4530
|
+
/**
|
|
4531
|
+
* The maximum CPU limit for agent (string)
|
|
4532
|
+
*/
|
|
4488
4533
|
cpuLimit?: string;
|
|
4534
|
+
/**
|
|
4535
|
+
* The minimum CPU required for agent (string)
|
|
4536
|
+
*/
|
|
4489
4537
|
cpuRequest?: string;
|
|
4538
|
+
/**
|
|
4539
|
+
* The maximum memory limit for agent (string)
|
|
4540
|
+
*/
|
|
4490
4541
|
memoryLimit?: string;
|
|
4542
|
+
/**
|
|
4543
|
+
* The minimum memory required for agent (string)
|
|
4544
|
+
*/
|
|
4491
4545
|
memoryRequest?: string;
|
|
4492
4546
|
}
|
|
4493
4547
|
export interface ClusterV2LocalAuthEndpoint {
|
|
@@ -4749,11 +4803,11 @@ export interface ClusterV2RkeConfigMachinePoolRollingUpdate {
|
|
|
4749
4803
|
}
|
|
4750
4804
|
export interface ClusterV2RkeConfigMachinePoolTaint {
|
|
4751
4805
|
/**
|
|
4752
|
-
* The
|
|
4806
|
+
* The toleration effect. Default: `\"NoSchedule\"` (string)
|
|
4753
4807
|
*/
|
|
4754
4808
|
effect?: string;
|
|
4755
4809
|
/**
|
|
4756
|
-
* The
|
|
4810
|
+
* The toleration key (string)
|
|
4757
4811
|
*/
|
|
4758
4812
|
key: string;
|
|
4759
4813
|
/**
|
|
@@ -4787,11 +4841,11 @@ export interface ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector {
|
|
|
4787
4841
|
}
|
|
4788
4842
|
export interface ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression {
|
|
4789
4843
|
/**
|
|
4790
|
-
* The
|
|
4844
|
+
* The toleration key (string)
|
|
4791
4845
|
*/
|
|
4792
4846
|
key?: string;
|
|
4793
4847
|
/**
|
|
4794
|
-
*
|
|
4848
|
+
* The toleration operator (string)
|
|
4795
4849
|
*/
|
|
4796
4850
|
operator?: string;
|
|
4797
4851
|
/**
|
|
@@ -7449,7 +7503,7 @@ export interface MachineConfigV2AzureConfig {
|
|
|
7449
7503
|
*/
|
|
7450
7504
|
customData?: string;
|
|
7451
7505
|
/**
|
|
7452
|
-
* Disk size if using managed disk.
|
|
7506
|
+
* Disk size if using managed disk. For Rancher v2.3.x and above. Default `30` (string)
|
|
7453
7507
|
*/
|
|
7454
7508
|
diskSize?: string;
|
|
7455
7509
|
/**
|
|
@@ -7477,7 +7531,7 @@ export interface MachineConfigV2AzureConfig {
|
|
|
7477
7531
|
*/
|
|
7478
7532
|
location?: string;
|
|
7479
7533
|
/**
|
|
7480
|
-
* Configures VM and availability set for managed disks.
|
|
7534
|
+
* Configures VM and availability set for managed disks. For Rancher v2.3.x and above. Default `false` (bool)
|
|
7481
7535
|
*/
|
|
7482
7536
|
managedDisks?: boolean;
|
|
7483
7537
|
/**
|
|
@@ -7628,7 +7682,7 @@ export interface MachineConfigV2HarvesterConfig {
|
|
|
7628
7682
|
*/
|
|
7629
7683
|
diskInfo?: string;
|
|
7630
7684
|
/**
|
|
7631
|
-
* Disk size if using managed disk.
|
|
7685
|
+
* Disk size if using managed disk. For Rancher v2.3.x and above. Default `30` (string)
|
|
7632
7686
|
*
|
|
7633
7687
|
* @deprecated Use disk_info instead
|
|
7634
7688
|
*/
|
|
@@ -7676,7 +7730,7 @@ export interface MachineConfigV2HarvesterConfig {
|
|
|
7676
7730
|
*/
|
|
7677
7731
|
userData?: string;
|
|
7678
7732
|
/**
|
|
7679
|
-
* Virtual machine affinity, only base64 format is supported. For Rancher v2.6.7
|
|
7733
|
+
* Virtual machine affinity, only base64 format is supported. For Rancher v2.6.7 and above (string)
|
|
7680
7734
|
*/
|
|
7681
7735
|
vmAffinity?: string;
|
|
7682
7736
|
/**
|
|
@@ -7901,8 +7955,8 @@ export interface MachineConfigV2OpenstackConfig {
|
|
|
7901
7955
|
username?: string;
|
|
7902
7956
|
/**
|
|
7903
7957
|
* OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string)
|
|
7904
|
-
* > **Note
|
|
7905
|
-
* > **Note
|
|
7958
|
+
* > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both.
|
|
7959
|
+
* > **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined.
|
|
7906
7960
|
*/
|
|
7907
7961
|
volumeDevicePath?: string;
|
|
7908
7962
|
/**
|
|
@@ -7972,7 +8026,7 @@ export interface MachineConfigV2VsphereConfig {
|
|
|
7972
8026
|
*/
|
|
7973
8027
|
datastoreCluster?: string;
|
|
7974
8028
|
/**
|
|
7975
|
-
* Disk size if using managed disk.
|
|
8029
|
+
* Disk size if using managed disk. For Rancher v2.3.x and above. Default `30` (string)
|
|
7976
8030
|
*/
|
|
7977
8031
|
diskSize?: string;
|
|
7978
8032
|
/**
|
|
@@ -8332,7 +8386,7 @@ export interface NodeTemplateAmazonec2Config {
|
|
|
8332
8386
|
/**
|
|
8333
8387
|
* Path to file with cloud-init user data (string)
|
|
8334
8388
|
*
|
|
8335
|
-
* > **Note
|
|
8389
|
+
* > **Note:**: You need to install the Hetzner Docker Machine Driver first as shown as in the examples section.
|
|
8336
8390
|
*/
|
|
8337
8391
|
userdata?: string;
|
|
8338
8392
|
/**
|
|
@@ -8371,7 +8425,7 @@ export interface NodeTemplateAzureConfig {
|
|
|
8371
8425
|
*/
|
|
8372
8426
|
customData?: string;
|
|
8373
8427
|
/**
|
|
8374
|
-
* Disk size if using managed disk.
|
|
8428
|
+
* Disk size if using managed disk. For Rancher v2.3.x and above. Default `30` (string)
|
|
8375
8429
|
*/
|
|
8376
8430
|
diskSize?: string;
|
|
8377
8431
|
/**
|
|
@@ -8399,7 +8453,7 @@ export interface NodeTemplateAzureConfig {
|
|
|
8399
8453
|
*/
|
|
8400
8454
|
location?: string;
|
|
8401
8455
|
/**
|
|
8402
|
-
* Configures VM and availability set for managed disks.
|
|
8456
|
+
* Configures VM and availability set for managed disks. For Rancher v2.3.x and above. Default `false` (bool)
|
|
8403
8457
|
*/
|
|
8404
8458
|
managedDisks?: boolean;
|
|
8405
8459
|
/**
|
|
@@ -8415,7 +8469,7 @@ export interface NodeTemplateAzureConfig {
|
|
|
8415
8469
|
*/
|
|
8416
8470
|
openPorts?: string[];
|
|
8417
8471
|
/**
|
|
8418
|
-
* Azure marketplace purchase plan for Azure Virtual Machine. Format is `<publisher>:<product>:<plan>`.
|
|
8472
|
+
* Azure marketplace purchase plan for Azure Virtual Machine. Format is `<publisher>:<product>:<plan>`. For Rancher v2.6.3 and above. (string)
|
|
8419
8473
|
*/
|
|
8420
8474
|
plan?: string;
|
|
8421
8475
|
/**
|
|
@@ -8528,7 +8582,7 @@ export interface NodeTemplateDigitaloceanConfig {
|
|
|
8528
8582
|
/**
|
|
8529
8583
|
* Path to file with cloud-init user data (string)
|
|
8530
8584
|
*
|
|
8531
|
-
* > **Note
|
|
8585
|
+
* > **Note:**: You need to install the Hetzner Docker Machine Driver first as shown as in the examples section.
|
|
8532
8586
|
*/
|
|
8533
8587
|
userdata?: string;
|
|
8534
8588
|
}
|
|
@@ -8548,7 +8602,7 @@ export interface NodeTemplateHarvesterConfig {
|
|
|
8548
8602
|
*/
|
|
8549
8603
|
diskInfo?: string;
|
|
8550
8604
|
/**
|
|
8551
|
-
* Disk size if using managed disk.
|
|
8605
|
+
* Disk size if using managed disk. For Rancher v2.3.x and above. Default `30` (string)
|
|
8552
8606
|
*
|
|
8553
8607
|
* @deprecated Use disk_info instead
|
|
8554
8608
|
*/
|
|
@@ -8596,7 +8650,7 @@ export interface NodeTemplateHarvesterConfig {
|
|
|
8596
8650
|
*/
|
|
8597
8651
|
userData?: string;
|
|
8598
8652
|
/**
|
|
8599
|
-
* Virtual machine affinity, only base64 format is supported. For Rancher v2.6.7
|
|
8653
|
+
* Virtual machine affinity, only base64 format is supported. For Rancher v2.6.7 and above (string)
|
|
8600
8654
|
*/
|
|
8601
8655
|
vmAffinity?: string;
|
|
8602
8656
|
/**
|
|
@@ -8638,7 +8692,7 @@ export interface NodeTemplateHetznerConfig {
|
|
|
8638
8692
|
/**
|
|
8639
8693
|
* Path to file with cloud-init user data (string)
|
|
8640
8694
|
*
|
|
8641
|
-
* > **Note
|
|
8695
|
+
* > **Note:**: You need to install the Hetzner Docker Machine Driver first as shown as in the examples section.
|
|
8642
8696
|
*/
|
|
8643
8697
|
userdata?: string;
|
|
8644
8698
|
/**
|
|
@@ -8802,7 +8856,7 @@ export interface NodeTemplateOpennebulaConfig {
|
|
|
8802
8856
|
/**
|
|
8803
8857
|
* VCPUs for the VM (string)
|
|
8804
8858
|
*
|
|
8805
|
-
* > **Note
|
|
8859
|
+
* > **Note:**: `Required*` denotes that one of imageName / imageId or templateName / templateId is required but you cannot combine them.
|
|
8806
8860
|
*/
|
|
8807
8861
|
vcpu?: string;
|
|
8808
8862
|
/**
|
|
@@ -8946,9 +9000,9 @@ export interface NodeTemplateOpenstackConfig {
|
|
|
8946
9000
|
/**
|
|
8947
9001
|
* OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string)
|
|
8948
9002
|
*
|
|
8949
|
-
* > **Note
|
|
9003
|
+
* > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both.
|
|
8950
9004
|
*
|
|
8951
|
-
* > **Note
|
|
9005
|
+
* > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined.
|
|
8952
9006
|
*/
|
|
8953
9007
|
volumeDevicePath?: string;
|
|
8954
9008
|
/**
|
|
@@ -9064,7 +9118,7 @@ export interface NodeTemplateVsphereConfig {
|
|
|
9064
9118
|
*/
|
|
9065
9119
|
datastoreCluster?: string;
|
|
9066
9120
|
/**
|
|
9067
|
-
* Disk size if using managed disk.
|
|
9121
|
+
* Disk size if using managed disk. For Rancher v2.3.x and above. Default `30` (string)
|
|
9068
9122
|
*/
|
|
9069
9123
|
diskSize?: string;
|
|
9070
9124
|
/**
|