{"id":15348131,"url":"https://github.com/ironcore864/kubectl-debug-pod","last_synced_at":"2026-01-27T23:07:02.720Z","repository":{"id":73865939,"uuid":"266975463","full_name":"IronCore864/kubectl-debug-pod","owner":"IronCore864","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-26T07:58:44.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-01T02:45:03.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/IronCore864.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}},"created_at":"2020-05-26T07:34:29.000Z","updated_at":"2020-05-26T07:58:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"c66b245d-9117-48ab-aacc-603ad9d0de2c","html_url":"https://github.com/IronCore864/kubectl-debug-pod","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"9c47261ca43c21ada5240d1a61ec74700c7b89b9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IronCore864/kubectl-debug-pod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fkubectl-debug-pod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fkubectl-debug-pod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fkubectl-debug-pod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fkubectl-debug-pod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronCore864","download_url":"https://codeload.github.com/IronCore864/kubectl-debug-pod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fkubectl-debug-pod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28826479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T18:44:20.126Z","status":"ssl_error","status_checked_at":"2026-01-27T18:44:09.161Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-01T11:45:01.800Z","updated_at":"2026-01-27T23:07:02.692Z","avatar_url":"https://github.com/IronCore864.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubectl in a Pod\n\n## Purpose\n\nProviding a \"debug\" pod for k8s users who don't have access to CLI but only access to kubernetes dashboard.\n\n## Dependency\n\nKubernetes dashboard\n\n## How it Works\n\nIt creates a pod \"kubectl\":\n\n- which is runing all the time\n- using minimal resources\n- health/readiness check on 8080/\n- the pod has permission to create and attach to a pod in the debug namespace.\n\nIn k8s dashboard you can open a terminal to this \"kubectl\" pod, then in the shell:\n\n- run command `debug`, which will run a pod with shell using `nicolaka/netshoot` image for debugging network issues\n- when you `exit` the shell, the debug pod will be deleted automatically\n\n## Deploy\n\n`kubectl apply -f kubectl.yaml`\n\nThis deploys in debug namespace, with role, rolebinding.\n\n## Image\n\n`ironcore864/kubectl-debug-pod:1.17.3`\n\n## Usage\n\n![](./img/1.png)\n\n![](./img/2.png)\n\n![](./img/3.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore864%2Fkubectl-debug-pod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironcore864%2Fkubectl-debug-pod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore864%2Fkubectl-debug-pod/lists"}