Compare commits
2 Commits
b111463cf5
...
180d28fe80
| Author | SHA1 | Date | |
|---|---|---|---|
| 180d28fe80 | |||
| 30ba290918 |
@@ -76,9 +76,30 @@ kind: PersistentVolumeClaim
|
|||||||
metadata:
|
metadata:
|
||||||
name: apt-cacher-volume
|
name: apt-cacher-volume
|
||||||
spec:
|
spec:
|
||||||
storageClassName: nfs-ssd
|
storageClassName: nfs-ssd-ebin02
|
||||||
|
volumeName: apt-cacher-ng
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 40Gi
|
storage: 40Gi
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: apt-cacher-ng
|
||||||
|
spec:
|
||||||
|
storageClassName: "nfs-ssd-ebin02"
|
||||||
|
nfs:
|
||||||
|
path: /data/raid1-ssd/k8s-data/apt-cacher-ng
|
||||||
|
server: ebin02
|
||||||
|
capacity:
|
||||||
|
storage: 40Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
volumeMode: Filesystem
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
claimRef:
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
name: apt-cacher-volume
|
||||||
|
namespace: live-infra
|
||||||
|
|||||||
@@ -45,16 +45,20 @@ spec:
|
|||||||
value: gitea
|
value: gitea
|
||||||
- name: DB_PASSWD
|
- name: DB_PASSWD
|
||||||
value: giteaEu94XSS4gKpheSBoMsIs
|
value: giteaEu94XSS4gKpheSBoMsIs
|
||||||
- name: GITEA__indexer__ISSUE_INDEXER_TYPE
|
- name: GITEA__server__ROOT_URL
|
||||||
value: db
|
value: http://git-ui.lan/
|
||||||
|
#- name: GITEA__indexer__ISSUE_INDEXER
|
||||||
|
# value: redis
|
||||||
|
#- name: GITEA__indexer__ISSUE_INDEXER_QUEUE_CONN_STR
|
||||||
|
# value: addrs=172.23.255.6:6379 db=1
|
||||||
- name: GITEA__log__LEVEL
|
- name: GITEA__log__LEVEL
|
||||||
value: warn
|
value: Warn
|
||||||
- name: GITEA__log__MODE
|
- name: GITEA__log__MODE
|
||||||
value: console
|
value: console
|
||||||
- name: GITEA__queue__TYPE
|
#- name: GITEA__queue__TYPE
|
||||||
value: persistable-channel
|
# value: redis
|
||||||
#- name: GITEA__queue__CONN_STR
|
#- name: GITEA__queue__CONN_STR
|
||||||
#value: redis://redis-standalone.live-env.svc.cluster.local:6397/0
|
# value: redis://172.23.255.6:6379/0
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
@@ -66,13 +70,13 @@ spec:
|
|||||||
containerPort: 22
|
containerPort: 22
|
||||||
protocol : TCP
|
protocol : TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 300
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: http
|
port: http
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 300
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: live-env
|
namespace: live-env
|
||||||
data:
|
data:
|
||||||
redis.conf: |-
|
redis.conf: |-
|
||||||
|
bind * -::*
|
||||||
appendonly yes
|
appendonly yes
|
||||||
maxmemory 5mb
|
maxmemory 5mb
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user