Try fixing a few things for Kubernetes

pull/72/head
Frank Denis 5 years ago
parent 93cae8ceb5
commit c464e45bd4

@ -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

Loading…
Cancel
Save