2021-06-09 08:14:17 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: etherpadlite
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: etherpadsooooolite
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: etherpadsooooolite
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: etherpad
|
|
|
|
image: etherpad/etherpad:1.8.13
|
|
|
|
ports:
|
|
|
|
- containerPort: 9001
|
2021-06-09 23:09:29 +00:00
|
|
|
volumeMounts:
|
|
|
|
- name: etherpadconfig
|
|
|
|
mountPath: "/opt/etherpad-lite/settings.json"
|
|
|
|
subPath: settings.json
|
|
|
|
volumes:
|
|
|
|
- name: etherpadconfig
|
|
|
|
configMap:
|
|
|
|
name: etherpadliteconfig
|
2021-06-09 08:14:17 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: etherpad
|
|
|
|
labels:
|
|
|
|
app: etherpadsooooolite
|
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
- port: 9001
|
|
|
|
selector:
|
|
|
|
app: etherpadsooooolite
|