https://github.com/boreec/opentofu-ping-pong
🧈🏓 OpenTofu playground with Minikube for two REST server that continuously exchange messages.
https://github.com/boreec/opentofu-ping-pong
go http-server kubernetes minikube opentofu rust terraform
Last synced: 2 months ago
JSON representation
🧈🏓 OpenTofu playground with Minikube for two REST server that continuously exchange messages.
- Host: GitHub
- URL: https://github.com/boreec/opentofu-ping-pong
- Owner: boreec
- Created: 2025-03-10T12:12:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T04:10:18.000Z (about 1 year ago)
- Last Synced: 2025-08-09T01:46:57.606Z (11 months ago)
- Topics: go, http-server, kubernetes, minikube, opentofu, rust, terraform
- Language: HCL
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🧈🏓 OpenTofu ping-pong WIP
This project is a custom implementation using **Opentofu** and **Minikube**
featuring two REST servers that continuously exchange ping-pong messages every
5 seconds.
- [Requirements](#requirements)
- [Contents](#contents)
- [Usage](#usage)
## Requirements
- [Docker](https://www.docker.com/)
- [Helm](https://helm.sh/)
- [Make](https://www.gnu.org/software/make/)
- [Minikube](https://minikube.sigs.k8s.io/docs/)
- [OpenTofu](https://opentofu.org/)
## Contents
- **server-ping**: HTTP REST server made with Go that initiates the exchange
and responds on `/ping`.
- **server-pong**: HTTP REST server made with Rust that responds to ping
and responds on `/pong`.
## Usage
All actions are done through the Makefile. To start the minikube cluster (if
it is not already running), and deploy resources:
```console
make deploy
```
For monitoring, access the dashboards via Grafana in the browser:
```console
make open-grafana
```
After use, clean up the resources:
```console
make clean
```