ungleich-k8s/certificates/cert-for-service.yaml

33 lines
516 B
YAML
Raw Normal View History

2021-06-09 22:02:16 +00:00
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