Compare commits

...

2 Commits

Author SHA1 Message Date
Martyn bedbc191f9 Has PVC, no rolling
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-03 15:22:34 +00:00
Martyn 1ae3f94553 Adding the VPA recommended numbers
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-03 15:22:02 +00:00
2 changed files with 8 additions and 5 deletions

View File

@ -10,7 +10,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: forgejo app: forgejo
strategy: {} strategy: Recreate
template: template:
metadata: metadata:
creationTimestamp: null creationTimestamp: null
@ -37,7 +37,10 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /data mountPath: /data
resources: {} resources:
requests:
cpu: 224m
memory: 978270031
volumes: volumes:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:

View File

@ -44,9 +44,9 @@ spec:
- name: FORGEJO_INSTANCE_URL - name: FORGEJO_INSTANCE_URL
value: http://forgejo.git.svc.cluster.local value: http://forgejo.git.svc.cluster.local
resources: resources:
limits: requests:
cpu: "0.50" cpu: 12m
memory: "64Mi" memory: 3304504865
volumeMounts: volumeMounts:
- name: runner-data - name: runner-data
mountPath: /data mountPath: /data