fix: Gitea | use ephemeral storage for package chunk uploads
This helps speed up uploads since we use ephemeral storage for the chunks rather than eating the overhead of encrypted persistant storage for chunks, followed by copying over chunks to the final package.
This commit is contained in:
@@ -89,6 +89,10 @@ gitea:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: smtp-token
|
name: smtp-token
|
||||||
key: gitea-password
|
key: gitea-password
|
||||||
|
- name: GITEA__PACKAGES__CHUNKED_UPLOAD_PATH
|
||||||
|
value: "/tmp/gitea-uploads"
|
||||||
|
- name: GITEA__PACKAGES__CHUNKED_UPLOAD_CONCURRENCY
|
||||||
|
value: "4"
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 50Gi
|
size: 50Gi
|
||||||
@@ -131,6 +135,8 @@ extraVolumes:
|
|||||||
path: cert.pem
|
path: cert.pem
|
||||||
- key: tls.key
|
- key: tls.key
|
||||||
path: key.pem
|
path: key.pem
|
||||||
|
- name: gitea-temp
|
||||||
|
emptyDir: {}
|
||||||
extraInitVolumeMounts:
|
extraInitVolumeMounts:
|
||||||
- name: ssl-bundle
|
- name: ssl-bundle
|
||||||
mountPath: /opt/gitea/.postgresql
|
mountPath: /opt/gitea/.postgresql
|
||||||
@@ -142,6 +148,8 @@ extraContainerVolumeMounts:
|
|||||||
- name: tls-bundle
|
- name: tls-bundle
|
||||||
mountPath: /opt/gitea/tls
|
mountPath: /opt/gitea/tls
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: gitea-temp
|
||||||
|
mountPath: /tmp/gitea-uploads
|
||||||
postgresql-ha:
|
postgresql-ha:
|
||||||
enabled: false
|
enabled: false
|
||||||
valkey-cluster:
|
valkey-cluster:
|
||||||
|
|||||||
Reference in New Issue
Block a user