stack/kustomizations/website/website.yaml

33 lines
513 B
YAML
Raw Permalink Normal View History

2023-07-25 04:37:57 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: website
spec:
replicas: 2
selector:
matchLabels:
app: website
template:
metadata:
labels:
app: website
spec:
containers:
- name: website
image: git.distrust.co/public/website
imagePullPolicy: Always
2023-07-25 04:37:57 +00:00
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: website
spec:
ports:
- name: http
port: 80
targetPort: 80
selector:
app: website