{"id":25606785,"url":"https://github.com/dodevops/kc","last_synced_at":"2025-10-24T09:56:44.308Z","repository":{"id":278554690,"uuid":"620759976","full_name":"dodevops/kc","owner":"dodevops","description":"Quick Kubernetes context switcher ☸️ 🔄","archived":false,"fork":false,"pushed_at":"2025-02-21T07:58:48.000Z","size":53,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-27T02:51:21.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dodevops.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":"2023-03-29T10:14:56.000Z","updated_at":"2025-02-21T07:58:27.000Z","dependencies_parsed_at":"2025-02-20T12:41:12.559Z","dependency_job_id":null,"html_url":"https://github.com/dodevops/kc","commit_stats":null,"previous_names":["dodevops/kc"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fkc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fkc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fkc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fkc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodevops","download_url":"https://codeload.github.com/dodevops/kc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710438,"owners_count":21149188,"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":[],"created_at":"2025-02-21T19:16:34.595Z","updated_at":"2025-10-24T09:56:39.282Z","avatar_url":"https://github.com/dodevops.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl-cs - Quick Kubernetes context switcher  ☸️ 🔄\n\ncs is a kubectl plugin makes it easy to switch between multiple [kubeconfig](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) contexts or change the default \nnamespace of the currently selected context.\n\nIt's heavily used while working with [CloudControl](https://cloudcontrol.dodevops.io). This is the rewrite in pure\ngo to replace the former bash and gnu-dialog-based tool and turn it into a kubectl plugin.\n\n## Requirements\n\nThis tool builds upon a locally configured [kubeconfig](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) file and the kubectl client.\n\n## Installation\n\nDownload the binary for your operating system and architecture from the latest \n[kc release](https://github.com/dodevops/kc/releases) and put it somewhere in your path.\n\n*Note*: Because the tool is not signed, macOS users need to enable execution when starting kc for the first time. \nTo do this, Ctrl-Click on the binary and select \"allow\".\n\n## Usage\n\nRun `kubectl cs` to switch to a Kubernetes context and/or namespace. You can directly specify the context to switch to\nin the form of `context:namespace`. If you leave either of the two parts empty, it will only change the remaining part.\n\nExamples:\n\n* `kubectl cs int:` - Switch to the currently active namespace in the `int` context\n* `kubectl cs :kube-system` - Switch to the namespace `kube-system` in the currently active context\n* `kubectl cs int:kube-system` - Switch to the namespace `kube-system` in the `int` context\n\nIf you don't specify anything, `kubectl cs` will present a selection list of all namespaces in all contexts, which can\nbe filtered and selected. If that takes too long, the flag `--only-current-context` can be used, which only enumerates\nthe namespaces of the current context.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodevops%2Fkc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodevops%2Fkc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodevops%2Fkc/lists"}