1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 15:32:01 +01:00

Try fixing a few things for Kubernetes

This commit is contained in:
Frank Denis 2019-10-29 13:39:46 +01:00
parent 93cae8ceb5
commit c464e45bd4
3 changed files with 5 additions and 4 deletions

@ -196,7 +196,8 @@ definition on other platforms. Once that is setup, you can have a dnscrypt serve
in minutes.
- Create a static IP on GCE. This will be used for the LoadBalancer.
- Edit `kube/dnscrypt-init-job.yml` and change `example.com` to your desired hostname.
- Edit `kube/dnscrypt-init-job.yml`. Change `example.com` to your desired hostname
and `192.0.2.53` to your static IP.
- Edit `kube/dnscrypt-srv.yml` and change `loadBalancerIP` to your static IP.
- Run `kubectl create -f kube/dnscrypt-init-job.yml` to setup your keys.
- Run `kubectl create -f kube/dnscrypt-deployment.yml` to deploy the dnscrypt server.

@ -16,7 +16,7 @@ spec:
spec:
containers:
- env:
image: jedisct1/unbound-dnscrypt-server
image: jedisct1/dnscrypt-server
name: dnscrypt
volumeMounts:
- name: dnscrypt-keys

@ -9,8 +9,8 @@ spec:
spec:
containers:
- name: dnscrypt-init
image: jedisct1/unbound-dnscrypt-server
command: ["/entrypoint.sh", "init", "-N", "example.com", "-E", "192.168.1.1:443"]
image: jedisct1/dnscrypt-server
command: ["/entrypoint.sh", "init", "-A", "-P", "0.0.0.0:9100", "-N", "example.com", "-E", "192.0.2.53:443"]
volumeMounts:
- name: dnscrypt-keys
mountPath: /opt/encrypted-dns/etc/keys