Skip to content

Commit

Permalink
fix: set priority clase for l4 proxy (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
hysyeah authored Jan 16, 2025
1 parent c4129d3 commit f1c439a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/apis/settings/v1alpha1/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ func NewL4ProxyDeploymentApplyConfiguration(namespace, serviceAccountName string
HostNetwork: pointer.Bool(true),
DNSPolicy: &dnsPolicy,
ServiceAccountName: pointer.String(serviceAccountName),
PriorityClassName: func() *string {
name := "system-cluster-critical"
return &name
}(),
Affinity: &applyCorev1.AffinityApplyConfiguration{
NodeAffinity: &applyCorev1.NodeAffinityApplyConfiguration{
PreferredDuringSchedulingIgnoredDuringExecution: []applyCorev1.PreferredSchedulingTermApplyConfiguration{
Expand Down

0 comments on commit f1c439a

Please sign in to comment.