stack/kustomizations/milksad-website/website.yaml

35 lines
574 B
YAML
Raw Normal View History

2023-08-20 07:03:06 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: website
spec:
replicas: 2
selector:
matchLabels:
app: website
template:
metadata:
labels:
app: website
annotations:
pod.kubernetes.io/lifetime: 300s
spec:
containers:
- name: website
2023-11-16 00:43:14 +00:00
image: git.distrust.co/milksad/website
2023-08-20 07:03:06 +00:00
imagePullPolicy: Always
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: website
spec:
ports:
- name: http
port: 80
targetPort: 80
selector:
app: website