Start setting resources

This commit is contained in:
Nikolai Rodionov 2024-07-29 17:35:51 +02:00
parent 9957f008e5
commit 09aaaade15
No known key found for this signature in database
GPG Key ID: B874DEE37A0C17DB
6 changed files with 115 additions and 6 deletions

View File

@ -23,6 +23,8 @@ repositories:
url: https://bedag.github.io/helm-charts/
- name: grafana
url: https://grafana.github.io/helm-charts
- name: bitnami
url: https://charts.bitnami.com/bitnami
releases:
- name: authentik

View File

@ -71,12 +71,8 @@ releases:
namespace: kube-system
needs:
- kube-system/cilium
set:
- name: crds.enabled
value: true
values:
- networkPolicy:
enabled: true
inherit:
- template: default-env-values
- name: issuer
chart: '{{ requiredEnv "PWD" }}/charts/issuer'
@ -101,6 +97,8 @@ releases:
version: 0.14.7
needs:
- kube-system/cilium
inherit:
- template: default-env-values
- name: metallb-resources
chart: bedag/raw

View File

@ -55,7 +55,19 @@ server:
- name: postgres-creds
mountPath: /postgres-creds
readOnly: true
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
memory: 512Mi
worker:
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
memory: 512Mi
volumes:
- name: postgres-creds
secret:

View File

@ -0,0 +1,25 @@
crds:
enabled: true
networkPolicy:
enabled: true
resources:
requests:
cpu: 30m
memory: 100Mi
limits:
memory: 100Mi
cainjector:
resources:
requests:
cpu: 20m
memory: 150Mi
limits:
memory: 150Mi
webhook:
resources:
requests:
cpu: 50m
memory: 150Mi
limits:
memory: 150Mi

View File

@ -0,0 +1,71 @@
controller:
enabled: true
logLevel: warn
image:
repository: quay.io/metallb/controller
tag:
pullPolicy:
strategy:
type: RollingUpdate
securityContext:
runAsNonRoot: true
# nobody
runAsUser: 65534
fsGroup: 65534
resources:
requests:
cpu: 20m
memory: 100Mi
limits:
memory: 100Mi
livenessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
readinessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
speaker:
enabled: true
logLevel: warn
tolerateMaster: true
image:
repository: quay.io/metallb/speaker
tag:
pullPolicy:
securityContext: {}
resources:
requests:
cpu: 30m
memory: 130Mi
limits:
memory: 130Mi
livenessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
readinessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
startupProbe:
enabled: true
failureThreshold: 30
periodSeconds: 5
crds:
enabled: true
validationFailurePolicy: Fail

View File

@ -1,5 +1,6 @@
---
csi:
enableRbdDriver: false
csiRBDProvisionerResource: |
- name : csi-provisioner
resource: