mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-01 02:38:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			373 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			373 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: v1
 | |
| kind: Service
 | |
| metadata:
 | |
|   name: kube-dns
 | |
|   namespace: kube-system
 | |
|   labels:
 | |
|     k8s-app: kube-dns
 | |
|     kubernetes.io/cluster-service: "true"
 | |
|     kubernetes.io/name: "KubeDNS"
 | |
| spec:
 | |
|   selector:
 | |
|     k8s-app: kube-dns
 | |
|   clusterIP:  {{ pillar['dns_server'] }}
 | |
|   ports:
 | |
|   - name: dns
 | |
|     port: 53
 | |
|     protocol: UDP
 | |
|   - name: dns-tcp
 | |
|     port: 53
 | |
|     protocol: TCP
 | 
