{"id":23653087,"url":"https://github.com/quochuydev/micro-skaffold-node","last_synced_at":"2026-04-08T11:32:02.440Z","repository":{"id":129797514,"uuid":"403901877","full_name":"quochuydev/micro-skaffold-node","owner":"quochuydev","description":"nodejs kubernetes redis socket-io","archived":false,"fork":false,"pushed_at":"2021-11-07T14:59:46.000Z","size":344,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T13:55:14.569Z","etag":null,"topics":["kubernetes","mongodb","nats-streaming","nodejs","redis","socket-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/quochuydev.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":"2021-09-07T08:32:20.000Z","updated_at":"2021-12-02T15:13:23.000Z","dependencies_parsed_at":"2023-04-17T23:16:05.545Z","dependency_job_id":null,"html_url":"https://github.com/quochuydev/micro-skaffold-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quochuydev/micro-skaffold-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fmicro-skaffold-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fmicro-skaffold-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fmicro-skaffold-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fmicro-skaffold-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quochuydev","download_url":"https://codeload.github.com/quochuydev/micro-skaffold-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fmicro-skaffold-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["kubernetes","mongodb","nats-streaming","nodejs","redis","socket-io"],"created_at":"2024-12-28T17:41:35.381Z","updated_at":"2026-04-08T11:32:02.416Z","avatar_url":"https://github.com/quochuydev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# I. Local\n\n##\n\n```shell\nminikube start\nskaffold dev\n```\n\n## create statefulsets\n\n```shell\ncd k8s/local/statefulsets\nkubectl create -f .\n```\n\n# II. Cloud\n\n## Select project\n\n```shell\ngcloud projects list\ngcloud config set project \u003cproject_id\u003e\n```\n\n## Select context\n\n```shell\ngcloud container clusters get-credentials \u003ccluster_name\u003e --zone asia-southeast1-a\nkubectl config get-contexts\nkubectl config use-context \u003ccontext_name\u003e\n```\n\n## Init Project\n\n```shell\n# Add Ingress\nkubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.0/deploy/static/provider/cloud/deploy.yaml\n# Add Cert Manager\nkubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.5.3/cert-manager.yaml\nkubectl apply -f k8s/dev/issuers/prod-issuer.yml\n# Apply Statefulsets\ncd k8s/dev/statefulsets\nkubectl create -f .\n```\n\n## Then use Skaffold to deploy\n\n```shell\nskaffold dev -f skaffold-dev.yaml\n```\n\n## Expose loadblancer database service\n\n```shell\nkubectl get pods\nkubectl expose pod chat-mongo-0 --port=27017 --type=LoadBalancer\nkubectl get services\nkubectl describe service chat-mongo-0\n```\n\n## Delete loadblancer database service\n\n```shell\nkubectl get services\nkubectl delete service chat-mongo-0\n```\n\n# prometheus\n\ndocker service create --replicas 1 --name my-prometheus \\\n --mount type=bind,source=/tmp/prometheus.yml,destination=/etc/prometheus/prometheus.yml \\\n --publish published=9090,target=9090,protocol=tcp \\\n prom/prometheus\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochuydev%2Fmicro-skaffold-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquochuydev%2Fmicro-skaffold-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochuydev%2Fmicro-skaffold-node/lists"}