powerdns-admin/deploy/kubernetes/deployment.yml

29 lines
606 B
YAML
Raw Normal View History

2022-06-07 13:13:31 +00:00
kind: Deployment
2022-06-07 13:22:38 +00:00
apiVersion: apps/v1
2022-06-07 13:13:31 +00:00
metadata:
name: powerdnsadmin
labels:
app: powerdnsadmin
spec:
2022-06-07 13:22:38 +00:00
strategy:
type: RollingUpdate
2022-06-07 13:13:31 +00:00
replicas: 1
2022-06-07 13:22:38 +00:00
selector:
matchLabels:
app: powerdnsadmin
2022-06-07 13:13:31 +00:00
template:
metadata:
labels:
app: powerdnsadmin
spec:
containers:
2022-06-07 13:22:38 +00:00
- name: powerdnsadmin
image: ngoduykhanh/powerdns-admin
ports:
- containerPort: 80
protocol: TCP
envFrom:
- configMapRef:
name: powerdnsadmin-env
imagePullPolicy: Always
restartPolicy: Always