File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -170,10 +170,13 @@ func defaultKueueConfigurationTemplate(kueueCfg kueue.KueueConfiguration) *confi
170
170
InternalCertManagement : & configapi.InternalCertManagement {
171
171
Enable : ptr .To (false ),
172
172
},
173
- // Disable the HierarchicalCohorts feature gate by default.
174
- // related to https://github.com/kubernetes-sigs/kueue/issues/4869
175
173
FeatureGates : map [string ]bool {
174
+ // Disable the HierarchicalCohorts feature gate by default.
175
+ // related to https://github.com/kubernetes-sigs/kueue/issues/4869
176
176
"HierarchialCohorts" : false ,
177
+ // Disable visibilityOnDemand
178
+ // apiserver is insecure.
179
+ "VisibilityOnDemand" : false ,
177
180
},
178
181
ManageJobsWithoutQueueName : buildManagedJobsWithoutQueueName (kueueCfg .WorkloadManagement ),
179
182
WaitForPodsReady : buildWaitForPodsReady (kueueCfg .GangScheduling ),
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ fairSharing:
53
53
enable: false
54
54
featureGates:
55
55
HierarchialCohorts: false
56
+ VisibilityOnDemand: false
56
57
health:
57
58
healthProbeBindAddress: :8081
58
59
integrations:
@@ -109,6 +110,7 @@ fairSharing:
109
110
enable: false
110
111
featureGates:
111
112
HierarchialCohorts: false
113
+ VisibilityOnDemand: false
112
114
health:
113
115
healthProbeBindAddress: :8081
114
116
integrations:
@@ -168,6 +170,7 @@ fairSharing:
168
170
- LessThanInitialShare
169
171
featureGates:
170
172
HierarchialCohorts: false
173
+ VisibilityOnDemand: false
171
174
health:
172
175
healthProbeBindAddress: :8081
173
176
integrations:
@@ -218,6 +221,7 @@ fairSharing:
218
221
enable: false
219
222
featureGates:
220
223
HierarchialCohorts: false
224
+ VisibilityOnDemand: false
221
225
health:
222
226
healthProbeBindAddress: :8081
223
227
integrations:
@@ -277,6 +281,7 @@ fairSharing:
277
281
enable: false
278
282
featureGates:
279
283
HierarchialCohorts: false
284
+ VisibilityOnDemand: false
280
285
health:
281
286
healthProbeBindAddress: :8081
282
287
integrations:
Original file line number Diff line number Diff line change @@ -880,6 +880,10 @@ func (c *TargetConfigReconciler) manageDeployment(kueueoperator *kueuev1alpha1.K
880
880
required .Spec .Template .Spec .Containers [0 ].VolumeMounts ,
881
881
metricsCertVolumeMount ,
882
882
)
883
+
884
+ // add ReadOnlyRootFilesystem to Kueue deployment.
885
+ // this will be fixed in upstream as of 0.12.
886
+ required .Spec .Template .Spec .Containers [0 ].SecurityContext .ReadOnlyRootFilesystem = ptr .To (true )
883
887
// Add HA configuration for Kueue deployment.
884
888
var replicas int32 = 2
885
889
required .Spec .Replicas = ptr .To (replicas )
You can’t perform that action at this time.
0 commit comments