{"id":18046810,"url":"https://github.com/kairen/pod-websocket-exec","last_synced_at":"2026-01-11T23:55:07.154Z","repository":{"id":57525975,"uuid":"138482541","full_name":"kairen/pod-websocket-exec","owner":"kairen","description":"Learning how to exec a pod via WebSocket written in Go.","archived":false,"fork":false,"pushed_at":"2022-04-07T06:01:43.000Z","size":10,"stargazers_count":26,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T06:11:24.584Z","etag":null,"topics":["kubernetes","pod","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kairen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-24T13:05:36.000Z","updated_at":"2023-10-10T04:28:29.000Z","dependencies_parsed_at":"2022-08-26T03:51:20.864Z","dependency_job_id":null,"html_url":"https://github.com/kairen/pod-websocket-exec","commit_stats":null,"previous_names":["kairen/k8s-ws-exec","kubedev/websocket-exec","kubedev/k8s-ws-exec"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kairen%2Fpod-websocket-exec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kairen%2Fpod-websocket-exec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kairen%2Fpod-websocket-exec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kairen%2Fpod-websocket-exec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kairen","download_url":"https://codeload.github.com/kairen/pod-websocket-exec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161256,"owners_count":21057554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["kubernetes","pod","websocket"],"created_at":"2024-10-30T19:09:22.546Z","updated_at":"2026-01-11T23:55:07.122Z","avatar_url":"https://github.com/kairen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exec a Pod via WebSocket\nLearning how to exec a pod via WebSocket written in Go.\n\n## Building\nFirst clone the repo, and execute `Makefile` using make tool:\n```sh\n$ git clone https://github.com/kairen/pod-websocket-exec.git $GOPATH/src/github.com/kairen/pod-websocket-exec\n$ cd $GOPATH/src/github.com/kairen/pod-websocket-exec\n$ make\n```\n\n## Running\nTo exec the command on pod as below:\n```sh\n$ kubectl run nginx --image nginx --restart=Never\n$ ./k8s-ws-exec -p nginx -c nginx -t -i --command sh\n# ls\nbin   dev  home  lib64\tmnt  proc  run\t srv  tmp  var\nboot  etc  lib\t media\topt  root  sbin  sys  usr\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkairen%2Fpod-websocket-exec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkairen%2Fpod-websocket-exec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkairen%2Fpod-websocket-exec/lists"}