{"id":13522736,"url":"https://github.com/bmuschko/kubectl-server-version","last_synced_at":"2026-04-29T17:03:23.400Z","repository":{"id":138764395,"uuid":"189635498","full_name":"bmuschko/kubectl-server-version","owner":"bmuschko","description":"A kubectl plugin for rendering the Kubernetes server version.","archived":false,"fork":false,"pushed_at":"2019-06-20T14:07:27.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T21:42:16.348Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmuschko.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2019-05-31T17:45:56.000Z","updated_at":"2024-04-28T07:12:30.000Z","dependencies_parsed_at":"2024-01-13T22:23:45.878Z","dependency_job_id":"5435a99e-1078-42e0-91ef-52eb6a7e8f52","html_url":"https://github.com/bmuschko/kubectl-server-version","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bmuschko/kubectl-server-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fkubectl-server-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fkubectl-server-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fkubectl-server-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fkubectl-server-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmuschko","download_url":"https://codeload.github.com/bmuschko/kubectl-server-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fkubectl-server-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32435122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":"2024-08-01T06:00:51.741Z","updated_at":"2026-04-29T17:03:23.372Z","avatar_url":"https://github.com/bmuschko.png","language":"Go","funding_links":[],"categories":["kubectl Plugins"],"sub_categories":["Installing plugins via awesome-kubectl-plugins"],"readme":"= kubectl server-version image:https://circleci.com/gh/bmuschko/kubectl-server-version.svg?style=svg[\"CircleCI\", link=\"https://circleci.com/gh/bmuschko/kubectl-server-version\"] image:https://goreportcard.com/badge/github.com/bmuschko/kubectl-server-version[\"Go Report Card\", link=\"https://goreportcard.com/report/github.com/bmuschko/kubectl-server-version\"]\n\nA simple kubectl plugin for displaying the Kubernetes server version.\nThis project is meant to demonstrate the use of the Go-based Kubernetes client API invoked from a kubectl plugin.\nTherefore, the plugin has not been registered with the kubectl plugin manager https://github.com/kubernetes-sigs/krew[krew].\n\n## Building the binary from source\n\nThe project requires Go 1.11 or higher as dependencies are defined with the help of Go Modules.\nFirst, activate Go Modules by setting the relevant environment variable.\nNext, create the platform-specific binary with the `build` command.\n\n[source,bash]\n----\n$ export GO111MODULES=on\n$ go build -o kubectl-server_version\n----\n\nBinaries for a wide range of other platforms can be created with the help of https://github.com/goreleaser/goreleaser[GoReleaser].\n\n[source,bash]\n----\n$ goreleaser release --skip-validate --snapshot --rm-dist\n----\n\nTo release a new version of the binaries to GitHub Releases, create a Git tag and remove the relevant flags in the command above.\n\n== Installation\n\nThe binary must be placed on the `$PATH` named `kubectl-server_version`. Ensure that the binary has execution permissions.\nFor more information, see the https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/[official documentation on kubectl plugins].\n\n== Usage\n\nRun the command `server-version` to render the Kubernetes server version.\n\n[source,bash]\n----\n$ kubectl server-version\nHello from Kubernetes server with version v1.10.11!\n----\n\nThe subcommand `version` renders the version of the released binary.\n\n[source,bash]\n----\n$ kubectl server-version version\nkubectl server-version v0.2.0\n----","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmuschko%2Fkubectl-server-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmuschko%2Fkubectl-server-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmuschko%2Fkubectl-server-version/lists"}