93 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| coredns:
 | |
|   image:
 | |
|     repository: registry.k8s.io/coredns/coredns
 | |
|     tag: v1.11.3
 | |
|   replicaCount: 3
 | |
|   resources:
 | |
|     requests:
 | |
|       cpu: 100m
 | |
|       memory: 128Mi
 | |
|   rollingUpdate:
 | |
|     maxUnavailable: 1
 | |
|     maxSurge: 25%
 | |
|   terminationGracePeriodSeconds: 30
 | |
|   serviceType: "ClusterIP"
 | |
|   prometheus:
 | |
|     service:
 | |
|       enabled: true
 | |
|       annotations:
 | |
|         prometheus.io/scrape: "true"
 | |
|         prometheus.io/port: "9153"
 | |
|     monitor:
 | |
|       enabled: true
 | |
|       namespace: kube-system
 | |
|   service:
 | |
|     clusterIP: 10.96.0.10
 | |
|     clusterIPs:
 | |
|       - 10.96.0.10
 | |
|     name: kube-dns
 | |
|   serviceAccount:
 | |
|     create: true
 | |
|     name: coredns
 | |
|   rbac:
 | |
|     create: true
 | |
|   isClusterService: true
 | |
|   priorityClassName: system-cluster-critical
 | |
|   securityContext:
 | |
|     capabilities:
 | |
|       add:
 | |
|         - NET_BIND_SERVICE
 | |
|       drop:
 | |
|         - ALL
 | |
|     readOnlyRootFilesystem: true
 | |
|     allowPrivilegeEscalation: false
 | |
|   servers:
 | |
|     - zones:
 | |
|         - zone: .
 | |
|           use_tcp: true
 | |
|       port: 53
 | |
|       plugins:
 | |
|         - name: errors
 | |
|         - name: health
 | |
|           configBlock: |-
 | |
|             lameduck 5s
 | |
|         - name: ready
 | |
|         - name: kubernetes
 | |
|           parameters: cluster.local in-addr.arpa ip6.arpa
 | |
|           configBlock: |-
 | |
|             pods insecure
 | |
|             fallthrough in-addr.arpa ip6.arpa
 | |
|             ttl 30
 | |
|         - name: prometheus
 | |
|           parameters: :9153
 | |
|         - name: forward
 | |
|           parameters: . /etc/resolv.conf
 | |
|         - name: cache
 | |
|           parameters: 30
 | |
|         - name: loop
 | |
|         - name: reload
 | |
|         - name: loadbalance
 | |
|     - zones:
 | |
|         - zone: ts.net
 | |
|           use_tcp: true
 | |
|       port: 53          
 | |
|       plugins:
 | |
|         - name: errors
 | |
|         - name: cache
 | |
|           parameters: 30
 | |
|         - name: forward
 | |
|           parameters: . 10.111.44.88
 | |
|   nodeSelector:
 | |
|     kubernetes.io/os: linux
 | |
|   tolerations:
 | |
|     - key: node-role.kubernetes.io/control-plane
 | |
|       operator: Exists
 | |
|       effect: NoSchedule
 | |
|     - key: node.cloudprovider.kubernetes.io/uninitialized
 | |
|       operator: Exists
 | |
|       effect: NoSchedule
 | |
|   deployment:
 | |
|     skipConfig: false
 | |
|     enabled: true
 | |
|     name: coredns
 |