Funkwhale installation

This commit is contained in:
2023-04-23 23:08:40 -04:00
parent 9f224b4cfc
commit 2dd290eb98
3 changed files with 44 additions and 15 deletions

View File

@@ -89,9 +89,9 @@ apps:
funkwhale: funkwhale:
enabled: true enabled: true
namespace: funkwhale namespace: funkwhale
state: absent state: present
redis: redis:
enabled: false enabled: true
namespace: redis namespace: redis
state: present state: present

View File

@@ -15,10 +15,10 @@ replicaCount: 1
postgresql: postgresql:
## If you already have a Postgresql service you'd like to use, set ## If you already have a Postgresql service you'd like to use, set
## this to false and adjust the host to use your existing service. ## this to false and adjust the host to use your existing service.
enabled: true enabled: false
## External Postgresql hostname or IP ## External Postgresql hostname or IP
# host: postgresql.postgres host: postgresql.postgres
auth: auth:
## Database user ## Database user
@@ -43,8 +43,8 @@ redis:
# host: redis-master.redis # host: redis-master.redis
persistence: persistence:
enabled: false enabled: true
# existingClaim: data-funkwhale-0 existingClaim: data-funkwhale-0
# storageClass: "-" # storageClass: "-"
## Note; Using ReadWriteOnce for persistence will require the addition of ## Note; Using ReadWriteOnce for persistence will require the addition of
@@ -54,3 +54,32 @@ persistence:
## An example is provided for the worker affinity ## An example is provided for the worker affinity
accessMode: ReadWriteMany accessMode: ReadWriteMany
size: 1Gi size: 1Gi
api:
livenessProbe:
httpGet:
path: /
port: api
scheme: HTTP
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
readinessProbe:
httpGet:
path: /
port: api
scheme: HTTP
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
startupProbe:
tcpSocket:
port: api
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
initialDelaySeconds: 60

View File

@@ -10,15 +10,15 @@
state: "{{apps.funkwhale.state}}" state: "{{apps.funkwhale.state}}"
become: true become: true
#- name: create persistent volume resources - name: create persistent volume resources
# kubernetes.core.k8s: kubernetes.core.k8s:
# kubeconfig: "/etc/rancher/k3s/k3s.yaml" kubeconfig: "/etc/rancher/k3s/k3s.yaml"
# state: "{{apps.funkwhale.state}}" state: "{{apps.funkwhale.state}}"
# definition: "{{ lookup('template', item) | from_yaml }}" definition: "{{ lookup('template', item) | from_yaml }}"
# loop: loop:
# - funkwhale/pv.yaml - funkwhale/pv.yaml
# - funkwhale/pv-claim.yaml - funkwhale/pv-claim.yaml
# become: true become: true
- name: Install funkwhale globally available - name: Install funkwhale globally available