{"id":15043041,"url":"https://github.com/umutbasal/kubectl-link","last_synced_at":"2025-08-09T23:11:58.001Z","repository":{"id":257033861,"uuid":"855349293","full_name":"umutbasal/kubectl-link","owner":"umutbasal","description":"kubectl-link helps you to access your cluster resources without vpn","archived":false,"fork":false,"pushed_at":"2024-10-15T13:53:44.000Z","size":43,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T20:43:30.438Z","etag":null,"topics":["gvisor","krew","krew-plugin","kubectl","kubectl-plugin","kubectl-plugins","kubernetes","networking","tun"],"latest_commit_sha":null,"homepage":"","language":"Go","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/umutbasal.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":"2024-09-10T18:11:54.000Z","updated_at":"2025-02-20T20:36:09.000Z","dependencies_parsed_at":"2024-09-25T01:47:00.835Z","dependency_job_id":"f907d89b-87d1-48da-92fe-578cf23af7ad","html_url":"https://github.com/umutbasal/kubectl-link","commit_stats":null,"previous_names":["umutbasal/kubectl-link"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/umutbasal/kubectl-link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutbasal%2Fkubectl-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutbasal%2Fkubectl-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutbasal%2Fkubectl-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutbasal%2Fkubectl-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umutbasal","download_url":"https://codeload.github.com/umutbasal/kubectl-link/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutbasal%2Fkubectl-link/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269649848,"owners_count":24453541,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gvisor","krew","krew-plugin","kubectl","kubectl-plugin","kubectl-plugins","kubernetes","networking","tun"],"created_at":"2024-09-24T20:48:29.824Z","updated_at":"2025-08-09T23:11:57.974Z","avatar_url":"https://github.com/umutbasal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl-link\n\nkubectl-link is a kubectl plugin that allows you to access your pods and services without vpn or manually setting up port forwarding.\n\n- It creates a tun device on your machine to route traffic to your kubernetes cluster with automatically setting port forwarding based your network connections.\n- !! It's still new and experimental. Please use it with caution.\n- !! Works only on MacOS for now.\n\nhttps://github.com/user-attachments/assets/fcdc04ce-b657-42d1-9036-f0d1db6647a3\n\n## Installation (krew)\n- Install krew (https://krew.sigs.k8s.io/docs/user-guide/setup/install/)\n- `kubectl krew install link`\n\n### Installation (go install)\n```sh\ngo install github.com/umutbasal/kubectl-link@latest\n```\n\n## Usage\n\n```sh\nsudo kubectl link\n```\n\n## Visit your pods and services through your browser or curl\n\n```sh\ncurl http://nginx.default.svc.cluster.local\ncurl http://172.17.1.1\n```\n\n## refs\n- https://github.com/xjasonlyu/tun2socks\n- https://github.com/google/gvisor\n- https://git.zx2c4.com/wireguard-go\n\n## Known Issues\n- Dns proxy server start problem udp 53 already used.\n  - This is known isse for macs if you have a local dns server like `mDNSResponder` or using vpn clients like Cloudflare Warp.\n  - You can try to solve by stopping `docker daemon`, or `virtual machine managers` or disabling `Internet Sharing` feature for macbooks.\n  - Reference: https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/troubleshooting/client-errors/#cf_dns_proxy_failure\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutbasal%2Fkubectl-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumutbasal%2Fkubectl-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutbasal%2Fkubectl-link/lists"}