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
Copy file name to clipboardExpand all lines: chart/values.schema.json
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2881,6 +2881,24 @@
2881
2881
"additionalProperties": false,
2882
2882
"type": "object"
2883
2883
},
2884
+
"ReservedResources": {
2885
+
"properties": {
2886
+
"cpu": {
2887
+
"type": "string",
2888
+
"description": "CPU is amount of CPU to reserve."
2889
+
},
2890
+
"memory": {
2891
+
"type": "string",
2892
+
"description": "Memory is amount of Memory to reserve."
2893
+
},
2894
+
"ephemeralStorage": {
2895
+
"type": "string",
2896
+
"description": "EphemeralStorage is amount of EphemeralStorage to reserve."
2897
+
}
2898
+
},
2899
+
"additionalProperties": false,
2900
+
"type": "object"
2901
+
},
2884
2902
"ResolveDNS": {
2885
2903
"properties": {
2886
2904
"hostname": {
@@ -3304,6 +3322,10 @@
3304
3322
},
3305
3323
"type": "array",
3306
3324
"description": "Patches patch the resource according to the provided specification."
3325
+
},
3326
+
"reservedResources": {
3327
+
"$ref": "#/$defs/ReservedResources",
3328
+
"description": "ReservedResources specifies the amount of a particular resource type to be reserved/subtracted from the allocatable resource on the virtual node.\nThis is to account for additional resource requirement in case of sidecar container(s) injected via mutating webhooks when workloads are synced from virtual to host.\nThis will take effect only when the virtual scheduler is enabled."
Copy file name to clipboardExpand all lines: chart/values.yaml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,16 @@ sync:
168
168
# All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.
169
169
all: false
170
170
labels: {}
171
+
# ReservedResources specifies the amount of a particular resource type to be reserved/subtracted from the allocatable resource on the virtual node.
172
+
# This is to account for additional resource requirement in case of sidecar container(s) injected via mutating webhooks when workloads are synced from virtual to host.
173
+
# This will take effect only when the virtual scheduler is enabled.
174
+
reservedResources:
175
+
# CPU is amount of CPU to reserve.
176
+
cpu: ""
177
+
# Memory is amount of Memory to reserve.
178
+
memory: ""
179
+
# EphemeralStorage is amount of EphemeralStorage to reserve.
180
+
ephemeralStorage: ""
171
181
# Secrets defines if secrets in the host should get synced to the virtual cluster.
172
182
secrets:
173
183
# Enabled defines if this option should be enabled.
// ReservedResources specifies the amount of a particular resource type to be reserved/subtracted from the allocatable resource on the virtual node.
805
+
// This is to account for additional resource requirement in case of sidecar container(s) injected via mutating webhooks when workloads are synced from virtual to host.
806
+
// This will take effect only when the virtual scheduler is enabled.
0 commit comments