mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Revert "kubeadm: Create control plane with ClusterFirstWithHostNet dns policy"
This commit is contained in:
committed by
GitHub
parent
bea07c0dc6
commit
24b4280e3f
@@ -68,7 +68,6 @@ func ComponentPod(container v1.Container, volumes map[string]v1.Volume) v1.Pod {
|
||||
Containers: []v1.Container{container},
|
||||
PriorityClassName: "system-cluster-critical",
|
||||
HostNetwork: true,
|
||||
DNSPolicy: v1.DNSClusterFirstWithHostNet,
|
||||
Volumes: VolumeMapToSlice(volumes),
|
||||
},
|
||||
}
|
||||
|
@@ -369,7 +369,6 @@ func TestComponentPod(t *testing.T) {
|
||||
},
|
||||
PriorityClassName: "system-cluster-critical",
|
||||
HostNetwork: true,
|
||||
DNSPolicy: v1.DNSClusterFirstWithHostNet,
|
||||
Volumes: []v1.Volume{},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user