mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
move coredns pods to 10053, and redirect service (#90)
This commit is contained in:
parent
f6d0a56b78
commit
4ffa2dfa21
1 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
data:
|
data:
|
||||||
Corefile: |
|
Corefile: |
|
||||||
.:53 {
|
.:10053 {
|
||||||
errors
|
errors
|
||||||
health
|
health
|
||||||
kubernetes CLUSTER_DOMAIN REVERSE_CIDRS {
|
kubernetes CLUSTER_DOMAIN REVERSE_CIDRS {
|
||||||
|
@ -105,10 +105,10 @@ spec:
|
||||||
mountPath: /etc/coredns
|
mountPath: /etc/coredns
|
||||||
readOnly: true
|
readOnly: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 53
|
- containerPort: 10053
|
||||||
name: dns
|
name: dns
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
- containerPort: 53
|
- containerPort: 10053
|
||||||
name: dns-tcp
|
name: dns-tcp
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 9153
|
- containerPort: 9153
|
||||||
|
@ -117,8 +117,6 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
|
||||||
- NET_BIND_SERVICE
|
|
||||||
drop:
|
drop:
|
||||||
- all
|
- all
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -160,6 +158,8 @@ spec:
|
||||||
- name: dns
|
- name: dns
|
||||||
port: 53
|
port: 53
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
|
targetPort: 10053
|
||||||
- name: dns-tcp
|
- name: dns-tcp
|
||||||
port: 53
|
port: 53
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
targetPort: 10053
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue