1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-29 20:52:25 +01:00
dnscrypt-server-docker/kube/dnscrypt-deployment.yml

34 lines
733 B
YAML
Raw Normal View History

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: default
labels:
service: dnscrypt
name: dnscrypt
spec:
strategy:
type: Recreate
replicas: 1
template:
metadata:
labels:
service: dnscrypt
spec:
containers:
- env:
image: jedisct1/unbound-dnscrypt-server
name: dnscrypt
volumeMounts:
- name: dnscrypt-keys
mountPath: /opt/encrypted-dns/etc/keys
command: ["/entrypoint.sh", "start"]
resources:
requests:
memory: "1Gi"
restartPolicy: Always
volumes:
- name: dnscrypt-keys
gcePersistentDisk:
pdName: dnscrypt-keys
fsType: ext4