K3s-cluster/adguard/deployment.yaml

25 lines
481 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: adguard
spec:
replicas: 1
selector:
matchLabels:
app: adguard
template:
metadata:
labels:
app: adguard
spec:
containers:
- name: adguard
image: adguard/adguardhome
ports:
- containerPort: 53
protocol: UDP
- containerPort: 53
protocol: TCP
- containerPort: 3000
protocol: TCP