don't know why this shit doesn't run anymore
This commit is contained in:
@@ -45,16 +45,20 @@ spec:
|
||||
value: gitea
|
||||
- name: DB_PASSWD
|
||||
value: giteaEu94XSS4gKpheSBoMsIs
|
||||
- name: GITEA__indexer__ISSUE_INDEXER_TYPE
|
||||
value: db
|
||||
- name: GITEA__server__ROOT_URL
|
||||
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
|
||||
value: warn
|
||||
value: Warn
|
||||
- name: GITEA__log__MODE
|
||||
value: console
|
||||
- name: GITEA__queue__TYPE
|
||||
value: persistable-channel
|
||||
#- name: GITEA__queue__CONN_STR
|
||||
#value: redis://redis-standalone.live-env.svc.cluster.local:6397/0
|
||||
#- name: GITEA__queue__TYPE
|
||||
# value: redis
|
||||
#- name: GITEA__queue__CONN_STR
|
||||
# value: redis://172.23.255.6:6379/0
|
||||
volumeMounts:
|
||||
- name: gitea
|
||||
mountPath: /data
|
||||
@@ -66,13 +70,13 @@ spec:
|
||||
containerPort: 22
|
||||
protocol : TCP
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 300
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 30
|
||||
initialDelaySeconds: 300
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
path: /
|
||||
@@ -96,7 +100,8 @@ metadata:
|
||||
labels:
|
||||
app: gitea
|
||||
spec:
|
||||
storageClassName: nfs-ssd
|
||||
storageClassName: nfs-ssd-ebin02
|
||||
volumeName: gitea
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
@@ -104,6 +109,26 @@ spec:
|
||||
storage: 20Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: gitea
|
||||
spec:
|
||||
storageClassName: "nfs-ssd-ebin02"
|
||||
nfs:
|
||||
path: /data/raid1-ssd/k8s-data/gitea-data
|
||||
server: ebin02
|
||||
capacity:
|
||||
storage: 20Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
volumeMode: Filesystem
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
claimRef:
|
||||
kind: PersistentVolumeClaim
|
||||
name: gitea
|
||||
namespace: live-env
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea
|
||||
|
||||
Reference in New Issue
Block a user