{"id":13450973,"url":"https://github.com/ekhabarov/bazel-k8s-envoy","last_synced_at":"2025-04-23T20:14:54.324Z","repository":{"id":44533822,"uuid":"457133004","full_name":"ekhabarov/bazel-k8s-envoy","owner":"ekhabarov","description":"Demo: build gRPC micoservices with Bazel and deploy them to k8s","archived":false,"fork":false,"pushed_at":"2025-03-05T04:12:07.000Z","size":74,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T20:14:34.190Z","etag":null,"topics":["bazel","build","envoy","envoyproxy","go","golang","grpc","k8s","kubernetes","microservices"],"latest_commit_sha":null,"homepage":"https://ekhabarov.com/envoy","language":"Starlark","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/ekhabarov.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}},"created_at":"2022-02-08T23:02:48.000Z","updated_at":"2025-04-09T10:20:38.000Z","dependencies_parsed_at":"2024-04-06T03:32:57.745Z","dependency_job_id":null,"html_url":"https://github.com/ekhabarov/bazel-k8s-envoy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fbazel-k8s-envoy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fbazel-k8s-envoy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fbazel-k8s-envoy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fbazel-k8s-envoy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekhabarov","download_url":"https://codeload.github.com/ekhabarov/bazel-k8s-envoy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250506141,"owners_count":21441723,"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":["bazel","build","envoy","envoyproxy","go","golang","grpc","k8s","kubernetes","microservices"],"created_at":"2024-07-31T07:00:41.183Z","updated_at":"2025-04-23T20:14:54.303Z","avatar_url":"https://github.com/ekhabarov.png","language":"Starlark","funding_links":[],"categories":["Resources"],"sub_categories":["Demos"],"readme":"# Envoy proxy as an API gateway. Built with Bazel. Deployed into Kubernetes.\n\n[Blog post](https://ekhabarov.com/envoy) with detailed explanation.\n\n## Links\n* [Envoy proxy](https://www.envoyproxy.io/)\n* [Bazel](https://bazel.build/)\n* [Bazelisk](https://github.com/bazelbuild/bazelisk#installation)\n* [Kubernetes](https://kubernetes.io/)\n* [Tilt](https://tilt.dev/)\n* [Minikube](https://minikube.sigs.k8s.io/docs/start/)\n\n## Usage\n\n1. Install and start [minikube](https://minikube.sigs.k8s.io/docs/start/).\n1. Install [Bazelisk](https://github.com/bazelbuild/bazelisk#installation).\n1. Run Tilt.\n\n```shell\n% bazel run //tools:tilt-up\n\n% grpcurl -plaintext \\\n  -d '{\"name\": \"Bazel\"}' \\\n  127.0.0.1:55000 svc.ServiceOne.Hello\n\n{\n  \"body\": \"Hello, Bazel\"\n}\n\n% curl -i \\\n  -H 'token: abc' \\\n  http://localhost:8080/v1/hello\\?name\\=Bazel\n\n\nHTTP/1.1 200 OK\ncontent-type: application/json\nx-envoy-upstream-service-time: 2\ngrpc-status: 0\ngrpc-message:\ncontent-length: 28\ndate: Tue, 21 Sep 2021 23:33:27 GMT\nserver: envoy\n\n{\n \"body\": \"Hello, Bazel\"\n}\n\n% bazel run //tools:tilt-down\n```\n\nNOTE: Until `service-one` become available, Envoy will return HTTP 503:\n`upstream connect error` or `no healthy upstream`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekhabarov%2Fbazel-k8s-envoy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekhabarov%2Fbazel-k8s-envoy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekhabarov%2Fbazel-k8s-envoy/lists"}