33 lines
516 B
YAML
33 lines
516 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: nginxssl
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: nginxssl
|
||
|
replicas: 1
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: nginxssl
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: nginx
|
||
|
image: nginx:1.20.0-alpine
|
||
|
ports:
|
||
|
- containerPort: 443
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: etherpad
|
||
|
labels:
|
||
|
app: etherpadsooooolite
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
- port: 80
|
||
|
selector:
|
||
|
app: etherpadsooooolite
|