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

Pod liveness probes fail in some container environments because local ip not included in Allowed Hosts #8567

Open
2 tasks done
sei-jmattson opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working need info Need more information to investigate the issue

Comments

@sei-jmattson
Copy link

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Deploy cvat/server v2.21.1 in k8s with default values file
  2. Check logs of server pod to see liveness probe attempts "http://10.x.x.x/api/server/about" and fails due to ip not included in Allowed Hosts

Expected Behavior

liveness probe should work with defaults.

Possible Solution

Automatically include pod ip in Allowed Hosts.
PR submitted.

Context

No response

Environment

No response

@sei-jmattson sei-jmattson added the bug Something isn't working label Oct 18, 2024
@azhavoro
Copy link
Contributor

ALLOWED_HOSTS is already set to * for the pod server https://github.com/cvat-ai/cvat/blob/develop/helm-chart/values.yaml#L41.
Could you please attach the logs?

@azhavoro azhavoro added the need info Need more information to investigate the issue label Oct 23, 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 need info Need more information to investigate the issue
Projects
None yet
Development

No branches or pull requests

2 participants