33 lines
551 B
YAML
33 lines
551 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
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: etherpad
|
||
|
labels:
|
||
|
app: etherpadsooooolite
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
- port: 9001
|
||
|
selector:
|
||
|
app: etherpadsooooolite
|