Skip to content

Commit

Permalink
fix: priority and resources
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Sep 20, 2024
1 parent 1e6fcb1 commit b4bee75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions helm/bot-telegram/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
serviceAccountName: {{ include "bot-telegram.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
priority: "{{ .Values.priority }}"
containers:
- name: {{ .Chart.Name }}
env:
Expand Down
10 changes: 6 additions & 4 deletions helm/bot-telegram/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,19 @@ ingress:
resources:
requests:
cpu: 2m
memory: 16Mi
memory: 8Mi
limits:
cpu: 1000m
memory: 256Mi
memory: 64Mi

autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationValue: 1000m
targetMemoryUtilizationValue: 128Mi
targetCPUUtilizationValue: 100m
targetMemoryUtilizationValue: 64Mi

priority: 1

nodeSelector: {}

Expand Down

0 comments on commit b4bee75

Please sign in to comment.