2016-03-18 14:07:33 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
kubernetes.io/cluster-service: 'true'
|
|
|
|
k8s-app: dnsmasq
|
|
|
|
name: dnsmasq
|
2016-12-13 10:43:06 +00:00
|
|
|
namespace: {{system_namespace}}
|
2016-03-18 14:07:33 +00:00
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 53
|
|
|
|
name: dns-tcp
|
|
|
|
targetPort: 53
|
|
|
|
protocol: TCP
|
|
|
|
- port: 53
|
|
|
|
name: dns
|
|
|
|
targetPort: 53
|
|
|
|
protocol: UDP
|
|
|
|
type: ClusterIP
|
|
|
|
clusterIP: {{dns_server}}
|
|
|
|
selector:
|
|
|
|
k8s-app: dnsmasq
|