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-srv.yml

36 lines
658 B
YAML

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