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

Livenessprove doesn't give enough time to pod #102

Closed
willianpaixao opened this issue Jun 15, 2024 · 1 comment · Fixed by #114
Closed

Livenessprove doesn't give enough time to pod #102

willianpaixao opened this issue Jun 15, 2024 · 1 comment · Fixed by #114

Comments

@willianpaixao
Copy link
Contributor

Since v1.106.1, the merge between server and microservice containers made the new server container a lot heavier and the livenessprobe has a threshold too low, not giving enough time for the container to properly start. So the container enters a CrashLoopBackOff cicle.

It took me a lot longer to find out because in the beginning the container has very little log and I was assuming it was a bug in the newer version.

I intend to write a PR next week, just wanted to give a heads up as soon as I found out.

@joaopedrocg27
Copy link

I modified my "server" as follows:

 server:
    enabled: true
    probes:
      liveness:
        spec:
          initialDelaySeconds: 120
      readiness:
        spec:
          initialDelaySeconds: 120
    resources:
      requests:
        cpu: 500m
        memory: 500Mi
      limits:
        cpu: 3
        memory: 3Gi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants