Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0-preview5] Make reading Kubeconfig from DCP resilient #3167

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 26, 2024

Backport of #3132 to release/8.0-preview5

/cc @mitchdenny

Customer Impact

This PR backports a fix for race condition that exists when attempting to read the kubernetes configuration file that DCP drops down in a pre-arranged location. We launch DCP, and then in parallel a number of startup processes are attempting to get the kubeconfig file.

Testing

Tested manually using VS launch, dotnet run and dotnet watch.

Risk

Low. This PR introduces a timeout behavior but those settings can be tuned via configuration settings.

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Mar 26, 2024
@github-actions github-actions bot force-pushed the backport/pr-3132-to-release/8.0-preview5 branch from 3d15eb6 to 681342a Compare March 26, 2024 09:49
@github-actions github-actions bot force-pushed the backport/pr-3132-to-release/8.0-preview5 branch from 681342a to 42e91f3 Compare March 26, 2024 09:56
@davidfowl davidfowl merged commit 60dcf90 into release/8.0-preview5 Mar 26, 2024
7 checks passed
@davidfowl davidfowl deleted the backport/pr-3132-to-release/8.0-preview5 branch March 26, 2024 17:50
@danmoseley danmoseley mentioned this pull request Apr 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants