{"id":40819075,"url":"https://github.com/trinhdaiphuc/grpc-xds-example","last_synced_at":"2026-01-21T21:44:56.708Z","repository":{"id":42861797,"uuid":"510582789","full_name":"trinhdaiphuc/grpc-xds-example","owner":"trinhdaiphuc","description":"grpc xds protocol implement in kubernetes","archived":false,"fork":false,"pushed_at":"2024-12-13T05:15:34.000Z","size":50686,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-13T06:20:37.968Z","etag":null,"topics":["grpc","grpc-loadbalancing","kubernetes","xds","xds-api","xds-protocol","xds-server"],"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/trinhdaiphuc.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":"2022-07-05T04:12:40.000Z","updated_at":"2024-08-10T04:57:02.000Z","dependencies_parsed_at":"2024-05-21T04:22:26.638Z","dependency_job_id":"bb29fd1c-d3d5-4270-ae08-f4ea0eb23cfa","html_url":"https://github.com/trinhdaiphuc/grpc-xds-example","commit_stats":{"total_commits":9,"total_committers":4,"mean_commits":2.25,"dds":0.5555555555555556,"last_synced_commit":"6ec66340cc13f609e6e64137abff7b1ac637f292"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trinhdaiphuc/grpc-xds-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinhdaiphuc%2Fgrpc-xds-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinhdaiphuc%2Fgrpc-xds-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinhdaiphuc%2Fgrpc-xds-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinhdaiphuc%2Fgrpc-xds-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinhdaiphuc","download_url":"https://codeload.github.com/trinhdaiphuc/grpc-xds-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinhdaiphuc%2Fgrpc-xds-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28644149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"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":["grpc","grpc-loadbalancing","kubernetes","xds","xds-api","xds-protocol","xds-server"],"created_at":"2026-01-21T21:44:56.003Z","updated_at":"2026-01-21T21:44:56.697Z","avatar_url":"https://github.com/trinhdaiphuc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GRPC xds example\n\n## Kubernetes environment:\n\n- Kubernetes version v1.24.0 (Use [Kind with private registry](https://kind.sigs.k8s.io/docs/user/private-registries/) to create a local Kubernetes cluster and local registry for push and pull image faster)\n- Monitoring\n  operator: [Kube prometheus stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)\n- Go version: go1.18.3\n\n## Configurations\n\nYou can configure grpc client and grpc xds client by change the command line arguments in deployment file\n\n- --target (-t): uri of the target grpc server. It must begin with `xds:///` prefix for xds client.\n  Example: `xds:///localhost:50051`\n- --concurrency (-c): Number of concurrent requests to run the client service. Example: 100\n- --duration (-d): A duration to send requests to the server. Duration is a possibly signed sequence of decimal numbers.\n  Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.). Ex:  `300ms`, `-1.5h` or `2h45m`.\n\n## Build\n\n- Build docker image\n```shell\nmake docker-build\n```\n\n- Build docker image for mac m1\n```shell\nmake docker-build-m1\n```\n\n- Push image to registry\n```shell\nmake docker-push\n```\n\n## Installation\n\n### Applications\n\n- Create namespace\n\n```bash\nkubectl apply -f ./deploy/namespace.yml\n```\n\n- Deploy grpc server\n\n```bash\nkubectl apply -f ./deploy/server.yml \n```\n\n- Deploy xds server\n\n```bash\nkubectl apply -f ./deploy/xds.yml\n```\n\n- Deploy grpc client for testing grpc client load balancing\n\n```bash\nkubectl apply -f ./deploy/client.yml \n```\n\n- Deploy xds client for testing grpc client load balancing through xds protocol\n\n```bash\nkubectl apply -f ./deploy/xds-client.yml\n```\n\n### Grafana dashboard\n\nOpen grafana dashboard and import [this file](./deploy/grafana/dashboard.json) to load the dashboard from\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinhdaiphuc%2Fgrpc-xds-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinhdaiphuc%2Fgrpc-xds-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinhdaiphuc%2Fgrpc-xds-example/lists"}