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

kubernetes: missing flag for readiness and liveness probes #393

Open
vincentbernaud opened this issue Jan 19, 2023 · 2 comments
Open

kubernetes: missing flag for readiness and liveness probes #393

vincentbernaud opened this issue Jan 19, 2023 · 2 comments

Comments

@vincentbernaud
Copy link

Hi,

When trying to deploy probes in our kubernetes clusters, we used your kubernetes example to create an helm chart and noticed that it is not working as expected.

The default binding address of the agent is localhost:4050, causing the readiness and liveness requests (sent by kubelet) to fail and creates a CrashLoopBackoff error.

It can be fixed by adding the --listen-address="0.0.0.0:4050" flag to the container args.

containers:
  - name: {{ .Chart.Name }}
    args:
      - /usr/local/bin/synthetic-monitoring-agent --api-server-address=${API_SERVER} --api-token=${API_TOKEN} --verbose=true --listen-address="0.0.0.0:4050"
    command:
      - sh
      - -c
...

I'll be happy to share the full helm chart if you're interested.

@MaxDiOrio
Copy link

This is STILL an issue after 9 months!

@guru1602
Copy link

Still it's an issue.

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

No branches or pull requests

3 participants