Skip to content

[csi] make dnsPolicy configurable - #159

Merged
duckhawk merged 5 commits into
mainfrom
feature/csi-dns-policy
Dec 4, 2025
Merged

duckhawk merged 5 commits into
mainfrom
feature/csi-dns-policy

Conversation

@pabateman

Copy link
Copy Markdown
Member

Some CSI components that are part of cloud provider modules need to make a request to the provider’s API in order to start successfully. In most cases, this requires a DNS query. The cloud provider module starts before kube-dns is up, while the kube-dns address is mounted into the CSI resolv.conf according to the ClusterWithHostNetwork policy. At that moment, kube-dns is still not available to handle requests.

That’s why dnsPolicy needs to be made configurable to handle such cases for some modules.

@pabateman pabateman changed the title Make dnsPolicy configurable for csi components [csi] make dnsPolicy configurable Dec 3, 2025
@pabateman
pabateman requested a review from ldmonster December 4, 2025 06:30
Signed-off-by: Alexey Voronov <alexey.voronov@flant.com>
Signed-off-by: Alexey Voronov <alexey.voronov@flant.com>
Signed-off-by: Alexey Voronov <alexey.voronov@flant.com>
Signed-off-by: Alexey Voronov <alexey.voronov@flant.com>
@pabateman
pabateman force-pushed the feature/csi-dns-policy branch from 9f6a1d9 to 3806d57 Compare December 4, 2025 09:18
Signed-off-by: Alexey Voronov <alexey.voronov@flant.com>
@duckhawk
duckhawk merged commit 9e9e7ca into main Dec 4, 2025
4 checks passed
@duckhawk
duckhawk deleted the feature/csi-dns-policy branch December 4, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants