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

Some pods / jobs fail when deployment takes a long time #424

Open
Moritz72 opened this issue Sep 12, 2024 · 0 comments
Open

Some pods / jobs fail when deployment takes a long time #424

Moritz72 opened this issue Sep 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Moritz72
Copy link

Current Behavior

For me sometimes when deployment happens to take a longer time keycloak crashes or terraform throws an error that the azurite-init job is not in complete state although the logs say it is. This behaviour is very inconsistent and only happens sometimes.

Expected Behavior

The deployment consistently works without issues.

Steps To Reproduce

Even for me this is not easily reproducible and seems to heavily depend on how fast which pods are created.

But after adding

depends_on = [kubernetes_deployment.keycloak]

in the miw deployment and

timeouts {
  create = "5m"
}

in the azurite-init job the deployment worked consistently again.

@Moritz72 Moritz72 added the bug Something isn't working label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant