mirror of
https://github.com/truenas/charts.git
synced 2026-06-16 23:19:15 +08:00
1.1 KiB
1.1 KiB
DNS
Key: dnsPolicy
Info:
- Type:
string - Default:
"" - Helm Template: ❌
Can be defined in:
.Values.dnsPolicy.Values.jobs.[job-name].podSpec.dnsPolicy
Defines the dnsPolicy for the workload.
You can also set a global default dnsPolicy in .Values.global.defaults.dnsPolicy
Assuming it's left empty, it will use the global default, which is
ClusterFirstIf hostNetwork is enabled for the Pod, it will automatically switchClusterFirstWithHostNet
Priority of usage (Highest to Lowest):
- Per pod definition
- Global definition
Examples:
dnsPolicy: ClusterFirst
Kubernetes Documentation:
Key: dnsConfig
Info:
- Type:
dict - Default:
{} - Helm Template:
- dnsConfig.nameservers.[item]: ✅
- dnsConfig.searches.[item]: ✅
- dnsConfig.options.name: ✅
- dnsConfig.options.value: ✅
Can be defined in:
.Values.dnsConfig.Values.jobs.[job-name].podSpec.dnsConfig
Defines dns configuration for the Pod.