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

add dns resolver to nginx config #83

Merged
merged 4 commits into from
Nov 18, 2024
Merged

add dns resolver to nginx config #83

merged 4 commits into from
Nov 18, 2024

Conversation

PietroPasotti
Copy link
Contributor

@PietroPasotti PietroPasotti commented Nov 11, 2024

Fixes canonical/cos-lib#94

This change tells Nginx to update the IP whenever it changes.
To test:
deploy COS-lite plus Mimir.
refresh worker with any locally packed charm
verify you can ping the /ready endpoint soon (max 5sec) after the new worker service has reported ready.

@lucabello
Copy link
Contributor

Manually tested ✅ Re-running itests now

src/nginx_config.py Outdated Show resolved Hide resolved
@PietroPasotti PietroPasotti merged commit 0faf997 into main Nov 18, 2024
14 checks passed
@PietroPasotti PietroPasotti deleted the fix-nginx-resolver branch November 18, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nginx may be missing a restart on worker refresh?
4 participants