Initial commit
This commit is contained in:
44
technitium/technitium.yaml
Normal file
44
technitium/technitium.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
namespace: technitium
|
||||
name: technitium
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: technitium
|
||||
serviceName: technitium
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: technitium
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 10
|
||||
containers:
|
||||
- name: technitium
|
||||
image: technitium/dns-server:15.0.0
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: technitium-volume
|
||||
mountPath: /etc/dns
|
||||
ports:
|
||||
- containerPort: 5380
|
||||
env:
|
||||
- name: DNS_SERVER_DOMAIN
|
||||
value: jsme.be
|
||||
- name: DNS_SERVER_FORWARDERS
|
||||
value: 9.9.9.9
|
||||
- name: DNS_SERVER_LOG_USING_LOCAL_TIME
|
||||
value: "true"
|
||||
volumes:
|
||||
- name: technitium-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: technitium-pvc
|
||||
Reference in New Issue
Block a user