File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 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
170170 InternalCertManagement : & configapi.InternalCertManagement {
171171 Enable : ptr .To (false ),
172172 },
173- // Disable the HierarchicalCohorts feature gate by default.
174- // related to https://github.com/kubernetes-sigs/kueue/issues/4869
175173 FeatureGates : map [string ]bool {
174+ // Disable the HierarchicalCohorts feature gate by default.
175+ // related to https://github.com/kubernetes-sigs/kueue/issues/4869
176176 "HierarchialCohorts" : false ,
177+ // Disable visibilityOnDemand
178+ // apiserver is insecure.
179+ "VisibilityOnDemand" : false ,
177180 },
178181 ManageJobsWithoutQueueName : buildManagedJobsWithoutQueueName (kueueCfg .WorkloadManagement ),
179182 WaitForPodsReady : buildWaitForPodsReady (kueueCfg .GangScheduling ),
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ fairSharing:
5353 enable: false
5454featureGates:
5555 HierarchialCohorts: false
56+ VisibilityOnDemand: false
5657health:
5758 healthProbeBindAddress: :8081
5859integrations:
@@ -109,6 +110,7 @@ fairSharing:
109110 enable: false
110111featureGates:
111112 HierarchialCohorts: false
113+ VisibilityOnDemand: false
112114health:
113115 healthProbeBindAddress: :8081
114116integrations:
@@ -168,6 +170,7 @@ fairSharing:
168170 - LessThanInitialShare
169171featureGates:
170172 HierarchialCohorts: false
173+ VisibilityOnDemand: false
171174health:
172175 healthProbeBindAddress: :8081
173176integrations:
@@ -218,6 +221,7 @@ fairSharing:
218221 enable: false
219222featureGates:
220223 HierarchialCohorts: false
224+ VisibilityOnDemand: false
221225health:
222226 healthProbeBindAddress: :8081
223227integrations:
@@ -277,6 +281,7 @@ fairSharing:
277281 enable: false
278282featureGates:
279283 HierarchialCohorts: false
284+ VisibilityOnDemand: false
280285health:
281286 healthProbeBindAddress: :8081
282287integrations:
Original file line number Diff line number Diff line change @@ -880,6 +880,10 @@ func (c *TargetConfigReconciler) manageDeployment(kueueoperator *kueuev1alpha1.K
880880 required .Spec .Template .Spec .Containers [0 ].VolumeMounts ,
881881 metricsCertVolumeMount ,
882882 )
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 )
883887 // Add HA configuration for Kueue deployment.
884888 var replicas int32 = 2
885889 required .Spec .Replicas = ptr .To (replicas )
You can’t perform that action at this time.
0 commit comments