{"id":21303094,"url":"https://github.com/bzon/k8s-client-example","last_synced_at":"2026-05-17T21:03:28.426Z","repository":{"id":141940541,"uuid":"146739438","full_name":"bzon/k8s-client-example","owner":"bzon","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-30T11:25:28.000Z","size":8220,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T08:28:36.216Z","etag":null,"topics":["go","golang","kubernetes","kubernetes-client"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bzon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-08-30T11:23:49.000Z","updated_at":"2018-08-30T11:26:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"73539a19-2f62-4029-a23a-ce775f8e5a4d","html_url":"https://github.com/bzon/k8s-client-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzon%2Fk8s-client-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzon%2Fk8s-client-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzon%2Fk8s-client-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzon%2Fk8s-client-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bzon","download_url":"https://codeload.github.com/bzon/k8s-client-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243776710,"owners_count":20346353,"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":["go","golang","kubernetes","kubernetes-client"],"created_at":"2024-11-21T15:58:52.918Z","updated_at":"2026-05-17T21:03:23.387Z","avatar_url":"https://github.com/bzon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pod Reader, an In-Cluster Kubernetes Client Example\n\nReference: https://github.com/kubernetes/client-go/tree/master/examples/in-cluster-client-configuration\n\n## Demo\n\nBuild the app and push the docker image.\n\n```bash\nmake build\nmake push\n```\n\nCreate the RBAC resources.\n\n```bash\nkubectl apply -f rbac.yaml\n```\n\nRun the pod-reader app\n\n```bash\nkubectl run pod-reader --image=bzon/k8s-client-example --serviceaccount=pod-reader --namespace=default\n```\n\n```bash\nkubectl logs -f pod-reader-6dd9bf767d-5tt85\nThere are 115 pods in the cluster\nThere are 115 pods in the cluster\nThere are 114 pods in the cluster\nThere are 114 pods in the cluster\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzon%2Fk8s-client-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbzon%2Fk8s-client-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzon%2Fk8s-client-example/lists"}