{"id":23828853,"url":"https://github.com/onitake/godemo","last_synced_at":"2025-04-11T21:18:55.189Z","repository":{"id":146469688,"uuid":"226046359","full_name":"onitake/godemo","owner":"onitake","description":"Just a small Go container demo","archived":false,"fork":false,"pushed_at":"2019-12-05T18:30:44.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T21:18:51.839Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onitake.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":"2019-12-05T07:53:24.000Z","updated_at":"2019-12-05T18:30:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"fecdf62d-3eed-40c2-aa51-8e5ac01e0e23","html_url":"https://github.com/onitake/godemo","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/onitake%2Fgodemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onitake%2Fgodemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onitake%2Fgodemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onitake%2Fgodemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onitake","download_url":"https://codeload.github.com/onitake/godemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480438,"owners_count":21110939,"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-01-02T13:54:01.381Z","updated_at":"2025-04-11T21:18:55.150Z","avatar_url":"https://github.com/onitake.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Container Demo\n\nA basic example to show off how to build a container and a corresponding\nKubernetes deployment, including ingress and metrics.\n\n## Prerequisites\n\n* A Kubernetes cluster\n* A container registry or Docker Hub account\n* (Optional) An ingress controller that can provide TLS certificates automatically\n* Prometheus operator in your cluster\n* docker and kubectl\n\n## Development Build\n\n    go build\n\n## Container Build\n\nReplace xyz with your container registry prefix or Docker Hub user name.\n\n    docker built -t xyz/godemo .\n\n## Push To Registry\n\n    docker push xyz/godemo\n\n## Deploy\n\nFind the line that looks like `image: .../godemo` in deployment.yml and\nreplace it with the container tag above first.\n\nThen find the lines that look like `... godemo.my-kubernetes-cluster` and put\na domain name that points to your cluster there.\n\n    kubectl apply -f deployment.yml\n\nThen use your web browser to connect to [http://godemo.my-kubernetes-cluster]\n(or [https://godemo.my-kubernetes-cluster] if you have TLS support).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonitake%2Fgodemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonitake%2Fgodemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonitake%2Fgodemo/lists"}