Skip to content

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

Open
@Moritz72

Description

@Moritz72

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions