A simple app to create, delete and list users using Mux router.
Tech stack :
- App has been written in Golang
- Used Docker to containerize the app
- Used Docker Compose to demonstrate multi container deployments
- Written K8s components to orchestrate the containers
- Added helm charts for easy deployments of K8 clusters
git clone https://github.com/niranjan-n1/http-server.git
cd http-server
go run main.go
docker build . --tag <imagename>:<tag>
docker pull niranjann1/httpserver:1.1
docker images
docker run -d -p 8081:8081 --name <container-name> httpserver:1.1
docker ps
docker-compose up -d
curl -LO https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz
tar -C /tmp/ -zxvf helm-v3.9.0-linux-amd64.tar.gz
rm helm-v3.9.0-linux-amd64.tar.gz
mv /tmp/linux-amd64/helm /usr/local/bin/helm
chmod +x /usr/local/bin/helm
helm install <chart-name> <chart>
Eg :
helm install my-server helm