Skip to content

Conversation

@madeline-shao-db
Copy link
Contributor

@madeline-shao-db madeline-shao-db commented Aug 25, 2025

Previously it resolved the DNS for every cluster with a tls_server_name during config loading, causing
slow startup for kubeconfigs with many clusters.

Instead move DNS resolution to when HTTP clients are actually created, so DNS resolution now only occurs when clusters are actually used.

Testing:
cargo test
verified with cargo run that startup is << 1 sec

@nicklan nicklan merged commit e07d18b into databricks:master Aug 26, 2025
8 checks passed
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.

2 participants