ungleich-k8s/archive/v3/certificates/cert-for-service.yaml
2021-10-18 15:15:52 +02:00

32 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