41 lines
811 B
YAML
41 lines
811 B
YAML
|
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
|
||
|
volumeMounts:
|
||
|
- name: etherpadconfig
|
||
|
mountPath: "/opt/etherpad-lite/settings.json"
|
||
|
subPath: settings.json
|
||
|
volumes:
|
||
|
- name: etherpadconfig
|
||
|
configMap:
|
||
|
name: etherpadliteconfig
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: etherpad
|
||
|
labels:
|
||
|
app: etherpadsooooolite
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
- port: 9001
|
||
|
selector:
|
||
|
app: etherpadsooooolite
|