mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-23 05:38:23 +00:00
84f2060d33
The k8s quickstart command is now functional, with suppport for https, xqueue, notes and minio. There are still a few bugs to get rid of, though.
65 lines
1.1 KiB
YAML
65 lines
1.1 KiB
YAML
{% if ACTIVATE_ELASTICSEARCH %}
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: elasticsearch
|
|
labels:
|
|
app.kubernetes.io/component: volume
|
|
app.kubernetes.io/name: elasticearch
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|
|
{% endif %}
|
|
{% if ACTIVATE_MONGODB %}
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: mongodb
|
|
labels:
|
|
app.kubernetes.io/component: volume
|
|
app.kubernetes.io/name: mongodb
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
{% endif %}
|
|
{% if ACTIVATE_MYSQL %}
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: mysql
|
|
labels:
|
|
app.kubernetes.io/component: volume
|
|
app.kubernetes.io/name: mysql
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
{% endif %}
|
|
{% if ACTIVATE_RABBITMQ %}
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: rabbitmq
|
|
labels:
|
|
app.kubernetes.io/component: volume
|
|
app.kubernetes.io/name: rabbitmq
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|
|
{% endif %}
|
|
{{ patch("k8s-volumes") }} |