1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 19:42:03 +01:00
dnscrypt-server-docker/kube/dnscrypt-deployment.yml
2017-07-16 02:29:46 -07:00

34 lines
736 B
YAML

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/dnscrypt-wrapper/etc/keys
command: ["/entrypoint.sh", "start"]
resources:
requests:
memory: "1Gi"
restartPolicy: Always
volumes:
- name: dnscrypt-keys
gcePersistentDisk:
pdName: dnscrypt-keys
fsType: ext4