k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
407 B
23 lines
407 B
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
kubernetes.io/cluster-service: 'true'
|
|
k8s-app: dnsmasq
|
|
name: dnsmasq
|
|
namespace: kube-system
|
|
spec:
|
|
ports:
|
|
- port: 53
|
|
name: dns-tcp
|
|
targetPort: 53
|
|
protocol: TCP
|
|
- port: 53
|
|
name: dns
|
|
targetPort: 53
|
|
protocol: UDP
|
|
type: ClusterIP
|
|
clusterIP: {{dnsmasq_dns_server}}
|
|
selector:
|
|
k8s-app: dnsmasq
|