Set more realistic requests (#32)
Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/32
This commit is contained in:
parent
b03661222a
commit
bbefd9ce54
@ -1,3 +1,4 @@
|
||||
---
|
||||
replicaCount: 1
|
||||
worker:
|
||||
replicaCount: 1
|
||||
@ -21,4 +22,8 @@ s3:
|
||||
enabled: false
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
postgresql:
|
||||
primary:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
ns:
|
||||
enabled: true
|
||||
name: gitea-service
|
||||
@ -39,7 +40,7 @@ resources:
|
||||
cpu: 300m
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
|
||||
persistence:
|
||||
@ -54,7 +55,9 @@ memcached:
|
||||
enabled: true
|
||||
service:
|
||||
port: 11211
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10mi
|
||||
postgresql:
|
||||
auth:
|
||||
postgresPassword: check
|
||||
@ -64,6 +67,9 @@ postgresql:
|
||||
servicePort: 5432
|
||||
persistence:
|
||||
size: 10Gi
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
@ -28,13 +28,13 @@ templates:
|
||||
# ----------------------------
|
||||
default-common-values:
|
||||
values:
|
||||
- "{{ requiredEnv \"PWD\" }}/commmon/values.{{ .Release.Name }}.yaml"
|
||||
- '{{ requiredEnv "PWD" }}/commmon/values.{{ .Release.Name }}.yaml'
|
||||
default-env-values:
|
||||
values:
|
||||
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml"
|
||||
- '{{ requiredEnv "PWD" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml'
|
||||
default-env-secrets:
|
||||
secrets:
|
||||
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml"
|
||||
- '{{ requiredEnv "PWD" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml'
|
||||
# ----------------------------
|
||||
# -- Extensions
|
||||
# ----------------------------
|
||||
@ -49,7 +49,7 @@ templates:
|
||||
version: 2.0.0
|
||||
alias: ns
|
||||
values:
|
||||
- "{{ requiredEnv \"PWD\" }}/common/values.ns.yaml"
|
||||
- '{{ requiredEnv "PWD" }}/common/values.ns.yaml'
|
||||
# ----------------------------
|
||||
# -- Releases
|
||||
# ----------------------------
|
||||
@ -176,4 +176,3 @@ templates:
|
||||
inherit:
|
||||
- template: default-env-values
|
||||
- template: default-env-secrets
|
||||
|
||||
|
Reference in New Issue
Block a user