eclipse-tractusx / eclipse-tractusx/tutorial-resources

Some pods / jobs fail when deployment takes a long time

Open
#424 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
19
Forks
33
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.