Skip to content

Commit d05cb9c

Browse files
authored
fix: set reverse proxy priority to system-cluster-critical (#134)
1 parent 902951d commit d05cb9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/apis/settings/v1alpha1/reverseproxyconf.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,10 @@ func newDefaultReverseProxyAgentDeploymentApplyConfiguration() *applyAppsv1.Depl
460460
},
461461
},
462462
Spec: &applyCorev1.PodSpecApplyConfiguration{
463+
PriorityClassName: func() *string {
464+
name := "system-cluster-critical"
465+
return &name
466+
}(),
463467
SchedulerName: pointer.String("default-scheduler"),
464468
ServiceAccountName: pointer.String("bytetrade-controller"),
465469
Containers: []applyCorev1.ContainerApplyConfiguration{

0 commit comments

Comments
 (0)