Skip to content

Add helm hooks to run ngrok diagnose to check the network for connectivity #445

Open
@alex-bezek

Description

@alex-bezek

Description

ngrok can sometimes be blocked by corporate firewalls https://ngrok.com/docs/guides/other-guides/running-behind-firewalls/
We can have people test their connection when we see they have specific errors in their logs, but it would be nice if the helm chart could test this for you when installing it.

You can run the diagnose command in the ngrok agent container easily like this

apiVersion: batch/v1
kind: Job
metadata:
  name: ngrok-diagnose
spec:
  template:
    spec:
      containers:
        - name: ngrok-diagnose
          image: ngrok/ngrok:latest
          command: ["/bin/sh", "-c"]
          args: ["ngrok diagnose"]
      restartPolicy: Never

We should include this as a helm pre-install and pre-upgrade hooks as well as a helm test that could then be ran ad-hoc via helm test ngrok-operator

Use Case

Inform users quickly of a specific network issue rather than them installing it and having to debug the logs to find network errors

Related issues

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions