mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-26 10:23:48 +01:00
Try fixing a few things for Kubernetes
This commit is contained in:
parent
93cae8ceb5
commit
c464e45bd4
@ -196,7 +196,8 @@ definition on other platforms. Once that is setup, you can have a dnscrypt serve
|
|||||||
in minutes.
|
in minutes.
|
||||||
|
|
||||||
- Create a static IP on GCE. This will be used for the LoadBalancer.
|
- 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.
|
- 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-init-job.yml` to setup your keys.
|
||||||
- Run `kubectl create -f kube/dnscrypt-deployment.yml` to deploy the dnscrypt server.
|
- Run `kubectl create -f kube/dnscrypt-deployment.yml` to deploy the dnscrypt server.
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
image: jedisct1/unbound-dnscrypt-server
|
image: jedisct1/dnscrypt-server
|
||||||
name: dnscrypt
|
name: dnscrypt
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: dnscrypt-keys
|
- name: dnscrypt-keys
|
||||||
|
@ -9,8 +9,8 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dnscrypt-init
|
- name: dnscrypt-init
|
||||||
image: jedisct1/unbound-dnscrypt-server
|
image: jedisct1/dnscrypt-server
|
||||||
command: ["/entrypoint.sh", "init", "-N", "example.com", "-E", "192.168.1.1:443"]
|
command: ["/entrypoint.sh", "init", "-A", "-P", "0.0.0.0:9100", "-N", "example.com", "-E", "192.0.2.53:443"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: dnscrypt-keys
|
- name: dnscrypt-keys
|
||||||
mountPath: /opt/encrypted-dns/etc/keys
|
mountPath: /opt/encrypted-dns/etc/keys
|
||||||
|
Loading…
Reference in New Issue
Block a user