{"id":22071791,"url":"https://github.com/mhutter/podstalk","last_synced_at":"2025-03-23T19:17:56.769Z","repository":{"id":146446109,"uuid":"131412439","full_name":"mhutter/podstalk","owner":"mhutter","description":"Container that displays informations about the Pod it's running on","archived":false,"fork":false,"pushed_at":"2019-05-21T13:23:40.000Z","size":327,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T21:07:45.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/mhutter/podstalk/","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/mhutter.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":"2018-04-28T13:36:20.000Z","updated_at":"2024-06-19T10:13:55.884Z","dependencies_parsed_at":"2024-06-19T10:13:54.986Z","dependency_job_id":"0007d65d-e64b-47df-bf23-d5c5b9194c57","html_url":"https://github.com/mhutter/podstalk","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/mhutter%2Fpodstalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fpodstalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fpodstalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fpodstalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhutter","download_url":"https://codeload.github.com/mhutter/podstalk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245153892,"owners_count":20569408,"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":"2024-11-30T20:34:07.919Z","updated_at":"2025-03-23T19:17:56.734Z","avatar_url":"https://github.com/mhutter.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Podstalk\n\nContainer that displays informations about the Pod it's running on.\n\n## Usage\n\n```sh\nkubectl create namespace podstalk \u0026\u0026 \\\nkubectl -n podstalk apply -f https://github.com/mhutter/podstalk/raw/master/kube/daemonset.yml\n```\n\nWill create a daemonset running `mhutter/podstalk` and a service named\n`podstalk`, along with a Role and a Rolebinding required to list pods in the\nnamespace.\n\n### Customization\n\nThe following env vars can be set to customize Podstalk:\n\n* `TITLE` (_default: `Podstalk`_) - `\u003ctitle\u003e` of the HTML page\n* `BASE_PATH` (_default: `\"\"`_) - Base path of the app, used for asset serving\n\n## Development\n\nTo regenerate bindata.go, do:\n\n```sh\ngo-bindata -pkg podstalk -prefix data/ data/*\n```\n\nFor local development I recommend using [gin][]:\n\n```sh\ngin --build cmd/podstalk\n```\n\nThis will run podstalk on http://localhost:3000/ and reload each time a go file\nis changed.\n\nTo use with [minikube][] you can do the following:\n\n```sh\n# delploy podstalk into minikube\nkubectl create namespace podstalk\nkubectl -n podstalk apply -f kube/deployment.yml\nkubectl -n podstalk expose svc/podstalk --type NodePort --name podstalk-ext\n\n# set `imagePullPolicy` to `IfNotPresent`\nkubectl -n podstalk edit deployment podstalk\n\n# Connect to the minikube docker daemon\neval $(minikube docker-env)\n\n# build the image (each time you changed the code)\ndocker build -t mhutter/podstalk .\n\n# restart all pods (each time you built a new image)\nkubectl -n podstalk delete pod -l app=podstalk\n\n# access podstalk in the browser\nminikube -n podstalk service podstalk-ext\n```\n\n[gin]: https://github.com/codegangsta/gin\n[minikube]: https://kubernetes.io/docs/getting-started-guides/minikube/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhutter%2Fpodstalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhutter%2Fpodstalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhutter%2Fpodstalk/lists"}