{"id":25457305,"url":"https://github.com/msutkowski/kuberneato_observer","last_synced_at":"2026-05-05T19:31:38.082Z","repository":{"id":276888996,"uuid":"930634393","full_name":"msutkowski/kuberneato_observer","owner":"msutkowski","description":"Simple bash script to make it easy to connect to nodes with kubectl","archived":false,"fork":false,"pushed_at":"2025-02-12T15:56:15.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T06:58:34.556Z","etag":null,"topics":["elixir","kuberneato","kubernetes","observer"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msutkowski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-11T00:29:47.000Z","updated_at":"2025-02-12T15:56:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"acdb22c4-10a7-4517-bc25-c87ab3d07f4e","html_url":"https://github.com/msutkowski/kuberneato_observer","commit_stats":null,"previous_names":["msutkowski/kuberneato_observer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msutkowski/kuberneato_observer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fkuberneato_observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fkuberneato_observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fkuberneato_observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fkuberneato_observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msutkowski","download_url":"https://codeload.github.com/msutkowski/kuberneato_observer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fkuberneato_observer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32664783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","kuberneato","kubernetes","observer"],"created_at":"2025-02-18T02:16:58.765Z","updated_at":"2026-05-05T19:31:38.076Z","avatar_url":"https://github.com/msutkowski.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kuberneato_observer\n\nThis was inspired by https://github.com/dominicletz/remote_observe.\n\n`kuberneato_observer` does the basic plumbing of setting up port forwarding via `kubectl` to an app\nin one of your namespace(s) so that you can connect to it. Unlike `remote_observe`, we do not automatically\nstart `observer`, and instead set it so that you can connect to the node once networking has been configured.\nThe reason for this is that _sometimes_ `remsh` absolutely will not connect, but you can still likely do this\npartially manual process.\n\n## Installation\n\nMark the script `kubernato_observer` as executable and move it somewhere in your $PATH for convenience:\n\n```\nwget https://raw.githubusercontent.com/msutkowski/kuberneato_observer/main/kuberneato_observer\nchmod +x ./kuberneato_observer\nsudo mv ./kuberneato_observer /usr/local/bin\n```\n\n## Usage\n\n```sh\nkuberneato_observer some-app-name\n# wait for the connection\nNode.connect(:'your_beam_app@some.pod.ip') # this will be echo'd out\n:observer.start()\n# Once observer is opened, goto Nodes and select your_beam_app@some.pod.ip\n```\n\nNote: it will try to automatically resolve the cookie for the connection as well as a few other things.\n\n### Requirements\n\nIn your application(s), you need ensure that in your mix.exs you've added the runtime_tools in your deployment:\n\n```\n  # Run \"mix help compile.app\" to learn about applications.\n  def application do\n    [\n      mod: {My.Application, []},\n      extra_applications: [:runtime_tools]\n    ]\n  end\n```\n\n## CLI Overview\n\n```\nUsage: kubernato_observe (-options) \u003capp_name\u003e (\u003cnode_name\u003e)\n\n  \u003capp_name\u003e is the application name (from app.kubernetes.io/name label)\n  \u003cname_name\u003e is only required if there is more than one node\n              running in the pod.\n\nOptions:\n\n  -c \u003ccookie\u003e       Set the cookie value (if not auto-detected)\n  -n \u003cnamespace\u003e    Kubernetes namespace (if not auto-detected)\n\nExample:\n  kubernato_observe -c your-service\n  kubernato_observe -c thecookievalue your-service\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutkowski%2Fkuberneato_observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsutkowski%2Fkuberneato_observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutkowski%2Fkuberneato_observer/lists"}