support CoreDNS use host network and config dns port (#10617)

This commit is contained in:
刘旭
2023-11-17 21:41:53 +08:00
committed by GitHub
parent f46910eac3
commit bc5b38a771
4 changed files with 8 additions and 3 deletions

View File

@@ -20,9 +20,11 @@ spec:
- name: dns
port: 53
protocol: UDP
targetPort: "dns"
- name: dns-tcp
port: 53
protocol: TCP
targetPort: "dns-tcp"
- name: metrics
port: 9153
protocol: TCP