You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Tunnel holds configuration for the private nodes tunnel. This can be used to connect the private nodes to the control plane or
121
+
// connect the private nodes to each other if they are not running in the same network. Platform connection is required for the tunnel to work.
122
+
TunnelPrivateNodesTunnel`json:"tunnel,omitempty"`
123
+
}
124
+
125
+
typePrivateNodesTunnelstruct {
126
+
// Enabled defines if the private nodes tunnel should be enabled.
127
+
Enabledbool`json:"enabled,omitempty"`
128
+
129
+
// NodeToNode holds configuration for the node to node tunnel. This can be used to connect the private nodes to each other if they are not running in the same network.
// ImportImages is a list of images to import into the containerd registry from local files. If the path is a folder, all files that end with .tar or .tar.gz in the folder will be imported.
Copy file name to clipboardExpand all lines: values.schema.json
+181-7Lines changed: 181 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -248,13 +248,6 @@
248
248
"$ref": "#/$defs/ContainerdRegistry",
249
249
"description": "Registry holds configuration for how containerd should be configured to use a registries."
250
250
},
251
-
"importImages": {
252
-
"items": {
253
-
"type": "string"
254
-
},
255
-
"type": "array",
256
-
"description": "ImportImages is a list of images to import into the containerd registry from local files. If the path is a folder, all files that end with .tar or .tar.gz in the folder will be imported."
257
-
},
258
251
"pauseImage": {
259
252
"type": "string",
260
253
"description": "PauseImage is the image for the pause container."
@@ -1236,6 +1229,84 @@
1236
1229
"additionalProperties": false,
1237
1230
"type": "object"
1238
1231
},
1232
+
"DynamicNodePool": {
1233
+
"properties": {
1234
+
"name": {
1235
+
"type": "string",
1236
+
"description": "Name is the name of this NodePool"
1237
+
},
1238
+
"requirements": {
1239
+
"items": {
1240
+
"$ref": "#/$defs/Requirement"
1241
+
},
1242
+
"type": "array",
1243
+
"description": "Requirements filter the types of nodes that can be provisioned by this pool.\nAll requirements must be met for a node type to be eligible."
1244
+
},
1245
+
"taints": {
1246
+
"items": {
1247
+
"$ref": "#/$defs/KubeletJoinTaint"
1248
+
},
1249
+
"type": "array",
1250
+
"description": "Taints are the taints to apply to the nodes in this pool."
1251
+
},
1252
+
"limits": {
1253
+
"additionalProperties": {
1254
+
"type": "string"
1255
+
},
1256
+
"type": "object",
1257
+
"description": "Limits specify the maximum resources that can be provisioned by this node pool,\nmapping to the 'limits' field in Karpenter's NodePool API."
1258
+
},
1259
+
"disruption": {
1260
+
"$ref": "#/$defs/DynamicNodePoolDisruption",
1261
+
"description": "Disruption contains the parameters that relate to Karpenter's disruption logic"
1262
+
},
1263
+
"expireAfter": {
1264
+
"type": "string",
1265
+
"description": "The amount of time a Node can live on the cluster before being removed"
1266
+
}
1267
+
},
1268
+
"additionalProperties": false,
1269
+
"type": "object"
1270
+
},
1271
+
"DynamicNodePoolDisruption": {
1272
+
"properties": {
1273
+
"consolidateAfter": {
1274
+
"type": "string",
1275
+
"description": "ConsolidateAfter is the duration the controller will wait\nbefore attempting to terminate nodes that are underutilized.\nRefer to ConsolidationPolicy for how underutilization is considered."
1276
+
},
1277
+
"consolidationPolicy": {
1278
+
"type": "string",
1279
+
"description": "ConsolidationPolicy describes which nodes Karpenter can disrupt through its consolidation\nalgorithm. This policy defaults to \"WhenEmptyOrUnderutilized\" if not specified"
1280
+
},
1281
+
"budgets": {
1282
+
"items": {
1283
+
"$ref": "#/$defs/DynamicNodePoolDisruptionBudget"
1284
+
},
1285
+
"type": "array",
1286
+
"description": "Budgets is a list of Budgets.\nIf there are multiple active budgets, Karpenter uses\nthe most restrictive value. If left undefined,\nthis will default to one budget with a value to 10%."
1287
+
}
1288
+
},
1289
+
"additionalProperties": false,
1290
+
"type": "object"
1291
+
},
1292
+
"DynamicNodePoolDisruptionBudget": {
1293
+
"properties": {
1294
+
"nodes": {
1295
+
"type": "string",
1296
+
"description": "Nodes dictates the maximum number of NodeClaims owned by this NodePool\nthat can be terminating at once. This is calculated by counting nodes that\nhave a deletion timestamp set, or are actively being deleted by Karpenter.\nThis field is required when specifying a budget."
1297
+
},
1298
+
"schedule": {
1299
+
"type": "string",
1300
+
"description": "Schedule specifies when a budget begins being active, following\nthe upstream cronjob syntax. If omitted, the budget is always active.\nTimezones are not supported."
1301
+
},
1302
+
"duration": {
1303
+
"type": "string",
1304
+
"description": "Duration determines how long a Budget is active since each Schedule hit.\nOnly minutes and hours are accepted, as cron does not work in seconds.\nIf omitted, the budget is always active.\nThis is required if Schedule is set."
1305
+
}
1306
+
},
1307
+
"additionalProperties": false,
1308
+
"type": "object"
1309
+
},
1239
1310
"EnableAutoSwitchWithPatches": {
1240
1311
"properties": {
1241
1312
"enabled": {
@@ -3513,12 +3584,65 @@
3513
3584
"joinNode": {
3514
3585
"$ref": "#/$defs/JoinConfiguration",
3515
3586
"description": "JoinNode holds configuration specifically used during joining the node (see \"kubeadm join\")."
3587
+
},
3588
+
"nodePools": {
3589
+
"$ref": "#/$defs/PrivateNodesNodePools",
3590
+
"description": "NodePools stores karpenter node pool configuration"
3591
+
},
3592
+
"tunnel": {
3593
+
"$ref": "#/$defs/PrivateNodesTunnel",
3594
+
"description": "Tunnel holds configuration for the private nodes tunnel. This can be used to connect the private nodes to the control plane or\nconnect the private nodes to each other if they are not running in the same network. Platform connection is required for the tunnel to work."
3516
3595
}
3517
3596
},
3518
3597
"additionalProperties": false,
3519
3598
"type": "object",
3520
3599
"description": "PrivateNodes enables private nodes for vCluster."
3521
3600
},
3601
+
"PrivateNodesNodePools": {
3602
+
"properties": {
3603
+
"static": {
3604
+
"items": {
3605
+
"$ref": "#/$defs/StaticNodePool"
3606
+
},
3607
+
"type": "array",
3608
+
"description": "Static defines static node pools. Static node pools have a fixed size and are not scaled automatically."
3609
+
},
3610
+
"dynamic": {
3611
+
"items": {
3612
+
"$ref": "#/$defs/DynamicNodePool"
3613
+
},
3614
+
"type": "array",
3615
+
"description": "Dynamic defines dynamic node pools. Dynamic node pools are scaled automatically based on the requirements within the cluster.\nKarpenter is used under the hood to handle the scheduling of the nodes."
"description": "Enabled defines if the private nodes tunnel should be enabled."
3627
+
},
3628
+
"nodeToNode": {
3629
+
"$ref": "#/$defs/PrivateNodesTunnelNodeToNode",
3630
+
"description": "NodeToNode holds configuration for the node to node tunnel. This can be used to connect the private nodes to each other if they are not running in the same network."
3631
+
}
3632
+
},
3633
+
"additionalProperties": false,
3634
+
"type": "object"
3635
+
},
3636
+
"PrivateNodesTunnelNodeToNode": {
3637
+
"properties": {
3638
+
"enabled": {
3639
+
"type": "boolean",
3640
+
"description": "Enabled defines if the node to node tunnel should be enabled."
3641
+
}
3642
+
},
3643
+
"additionalProperties": false,
3644
+
"type": "object"
3645
+
},
3522
3646
"RBAC": {
3523
3647
"properties": {
3524
3648
"role": {
@@ -3689,6 +3813,28 @@
3689
3813
"additionalProperties": false,
3690
3814
"type": "object"
3691
3815
},
3816
+
"Requirement": {
3817
+
"properties": {
3818
+
"key": {
3819
+
"type": "string",
3820
+
"description": "Key is the label key or field name to filter on."
3821
+
},
3822
+
"operator": {
3823
+
"type": "string",
3824
+
"description": "Operator is the comparison operator, such as \"In\", \"NotIn\", \"Exists\"."
3825
+
},
3826
+
"values": {
3827
+
"items": {
3828
+
"type": "string"
3829
+
},
3830
+
"type": "array",
3831
+
"description": "Values is the list of values to use for the comparison."
3832
+
}
3833
+
},
3834
+
"additionalProperties": false,
3835
+
"type": "object",
3836
+
"description": "KarpenterRequirement defines a scheduling requirement for a dynamic node pool."
3837
+
},
3692
3838
"ResolveDNS": {
3693
3839
"properties": {
3694
3840
"hostname": {
@@ -4061,6 +4207,34 @@
4061
4207
"type": "object",
4062
4208
"description": "StartupProbe defines the configuration for the startup probe."
4063
4209
},
4210
+
"StaticNodePool": {
4211
+
"properties": {
4212
+
"name": {
4213
+
"type": "string",
4214
+
"description": "Name is the name of this static nodePool"
4215
+
},
4216
+
"requirements": {
4217
+
"items": {
4218
+
"$ref": "#/$defs/Requirement"
4219
+
},
4220
+
"type": "array",
4221
+
"description": "Requirements filter the types of nodes that can be provisioned by this pool.\nAll requirements must be met for a node type to be eligible."
4222
+
},
4223
+
"taints": {
4224
+
"items": {
4225
+
"$ref": "#/$defs/KubeletJoinTaint"
4226
+
},
4227
+
"type": "array",
4228
+
"description": "Taints are the taints to apply to the nodes in this pool."
4229
+
},
4230
+
"quantity": {
4231
+
"type": "integer",
4232
+
"description": "Quantity is the number of desired nodes in this pool."
0 commit comments