1. 所有服务追加 dns 服务解析

This commit is contained in:
chenbowen
2025-12-12 15:42:03 +08:00
parent ca82c9def3
commit 4d963f0f0c

View File

@@ -85,6 +85,11 @@ spec:
labels: labels:
app: zt-module-infra app: zt-module-infra
spec: spec:
dnsPolicy: None
dnsConfig:
nameservers:
- "172.16.36.16"
- "172.16.36.220"
containers: containers:
- name: zt-module-infra - name: zt-module-infra
image: 172.16.46.66:10043/zt/zt-module-infra:VERSION_PLACEHOLDER image: 172.16.46.66:10043/zt/zt-module-infra:VERSION_PLACEHOLDER
@@ -157,6 +162,11 @@ spec:
labels: labels:
app: zt-module-system app: zt-module-system
spec: spec:
dnsPolicy: None
dnsConfig:
nameservers:
- "172.16.36.16"
- "172.16.36.220"
containers: containers:
- name: zt-module-system - name: zt-module-system
image: 172.16.46.66:10043/zt/zt-module-system:VERSION_PLACEHOLDER image: 172.16.46.66:10043/zt/zt-module-system:VERSION_PLACEHOLDER
@@ -373,6 +383,11 @@ spec:
labels: labels:
app: zt-module-databus app: zt-module-databus
spec: spec:
dnsPolicy: None
dnsConfig:
nameservers:
- "172.16.36.16"
- "172.16.36.220"
containers: containers:
- name: zt-module-databus - name: zt-module-databus
image: 172.16.46.66:10043/zt/zt-module-databus:VERSION_PLACEHOLDER image: 172.16.46.66:10043/zt/zt-module-databus:VERSION_PLACEHOLDER
@@ -447,6 +462,11 @@ spec:
labels: labels:
app: zt-module-template app: zt-module-template
spec: spec:
dnsPolicy: None
dnsConfig:
nameservers:
- "172.16.36.16"
- "172.16.36.220"
containers: containers:
- name: zt-module-template - name: zt-module-template
image: 172.16.46.66:10043/zt/zt-module-template:VERSION_PLACEHOLDER image: 172.16.46.66:10043/zt/zt-module-template:VERSION_PLACEHOLDER