Skip to content

Kubernetes, rust, golang, java, javascript, kafka and docker playground

Notifications You must be signed in to change notification settings

roman009/go-rust

Repository files navigation

go-rust

One Rust and one golang microservice that are deployed to microk8s. There is a cron job defined on the cluster that runs every minute and calls a random enpoint on a microservice. Each microservice has an endpoint /die that will cause the pod to die forcing the HorizontalPodAutoscaler to create a new pod.

prometheus methics

Each microservice has a /metrics endpoint that is scraped by prometheus. The prometheus server is deployed to the cluster and is configured to scrape the microservices.

microk8s

./setup-infra.sh
microk8s kubectl describe secret -n kube-system microk8s-dashboard-token
./build-and-deploy.sh

tech stack

  • microk8s
  • docker
  • rust
  • golang
  • java
  • javascript
  • kafka

references

todo

  1. publish metrics of service kill calls (prometheus?/kafka?) => kafka

  2. create a reactive be4fe(?) that handles websocket connections to push messages to a UI (react?) that shows when a service is killed

About

Kubernetes, rust, golang, java, javascript, kafka and docker playground

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published