{"id":37213201,"url":"https://github.com/postfinance/kubectl-ctx","last_synced_at":"2026-01-15T00:35:21.209Z","repository":{"id":34686047,"uuid":"151572648","full_name":"postfinance/kubectl-ctx","owner":"postfinance","description":"Simple kubectl plugin to display/switch contexts","archived":true,"fork":false,"pushed_at":"2022-09-08T06:16:30.000Z","size":100,"stargazers_count":35,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-19T01:56:26.913Z","etag":null,"topics":["golang","kubectl","kubectl-plugins","kubernetes"],"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/postfinance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-04T13:04:07.000Z","updated_at":"2023-03-17T14:40:25.000Z","dependencies_parsed_at":"2022-08-28T19:51:52.168Z","dependency_job_id":null,"html_url":"https://github.com/postfinance/kubectl-ctx","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/postfinance/kubectl-ctx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postfinance%2Fkubectl-ctx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postfinance%2Fkubectl-ctx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postfinance%2Fkubectl-ctx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postfinance%2Fkubectl-ctx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postfinance","download_url":"https://codeload.github.com/postfinance/kubectl-ctx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postfinance%2Fkubectl-ctx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:34:46.850Z","status":"ssl_error","status_checked_at":"2026-01-15T00:34:46.551Z","response_time":107,"last_error":"SSL_read: 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":["golang","kubectl","kubectl-plugins","kubernetes"],"created_at":"2026-01-15T00:35:20.329Z","updated_at":"2026-01-15T00:35:21.193Z","avatar_url":"https://github.com/postfinance.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://img.shields.io/github/release/postfinance/kubectl-ctx.svg?style=for-the-badge)](https://github.com/postfinance/kubectl-ctx/releases/latest)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge)](/LICENSE.md)\n[![Go Report Card](https://img.shields.io/badge/GOREPORT-A%2B-brightgreen.svg?style=for-the-badge)](https://goreportcard.com/report/github.com/postfinance/kubectl-ctx)\n\n# THIS PLUGIN IS ARCHIVED.\n\nPlease use [kubectx](https://github.com/ahmetb/kubectx) instead.\n\n# kubectl ctx plugin\n\nSimple Plugin to display/change the current kube context in your KUBECONFIG.\n\n# Installation\n\nPre-compiled statically linked binaries are available on the [releases page](https://github.com/postfinance/kubectl-ctx/releases).\nBinary must be placed anywhere in `$PATH` named `kubectl-ctx` with execute permissions.\nFor further information, see the offical documentation on plugins [here](https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/).\n\n# Compatibility\n\nKnown to work on Windows and Linux. Requires kubectl \u003e= 1.12 (tested with versions \u003e1.12).\n\n# Examples\n\nFor all the examples, assume you have the following contexts.\n\n```\nfoo\nbar\nbaz\nlocalhost\n```\n\n## display contexts\n\nCurrent context is displayed in a different color.\n\n```bash\n$ kubectl ctx\nbar\nbaz\nfoo\nlocalhost\n```\n\nSubstring matching can be used to display contexts. For example if you are searching a context named `ba` simply type:\n\n```bash\n$ kubectl ctx ba\nbar\nbaz\n```\n\n## change current context\n\nYou can switch the context by providing an exact name:\n\n```bash\n$ kubectl ctx foo\ncurrent context set to \"foo\"\n```\n\nBut it's also possible to switch to the `localhost` context by typing a substring (as long as it is a unique name), for example:\n\n```bash\n$ kubectl ctx local\ncurrent context set to \"localhost\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostfinance%2Fkubectl-ctx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostfinance%2Fkubectl-ctx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostfinance%2Fkubectl-ctx/lists"}