1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 23:51:59 +01:00
dnscrypt-server-docker/kube/dnscrypt-srv.yml

36 lines
658 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
2017-07-17 00:37:40 +02:00
name: dnscrypt-tcp
namespace: default
annotations:
cloud.google.com/network-tier: Standard
spec:
ports:
2017-07-17 00:37:40 +02:00
- protocol: TCP
port: 5443
targetPort: 5443
selector:
service: dnscrypt
type: LoadBalancer
2017-07-17 00:37:40 +02:00
loadBalancerIP: 0.0.0.0
externalTrafficPolicy: Local
2017-07-17 00:37:40 +02:00
---
apiVersion: v1
kind: Service
metadata:
name: dnscrypt-udp
namespace: default
annotations:
cloud.google.com/network-tier: Standard
2017-07-17 00:37:40 +02:00
spec:
ports:
- protocol: UDP
port: 5443
targetPort: 5443
2017-07-17 00:37:40 +02:00
selector:
service: dnscrypt
type: LoadBalancer
loadBalancerIP: 0.0.0.0
externalTrafficPolicy: Local