Skip to content

Simple microservice written in Go containerized with Docker and orchestrated by Kubernetes.

License

Notifications You must be signed in to change notification settings

dimpu47/Golang-Microservice

Repository files navigation

Golang-Microservice.

A simple microservice written in Go with sweetness of Docker Containers & Kubernetes Orchestration.

A small weekend exercise for personal practice.

Includes:

Creating a simple go microservice.

- Implementing a simple *http server*.
- JSON *Marshalling & Unmarshalling* with query parameters.
- Unit tests for test microservice.
- API tests with **POSTMAN**.
- Implementing HTTP verbs, _GET | POST | PUT | DELETE_.

Containerizing Go Microservice on Docker.

- building Docker-Images then running/improving/maintaining docker containers.
- pushing the docker image on docker-hub.
- with variations of Dockerfile, (generic one & more optimized version)
- using docker-compose, ( w/ individual components: app + nginx)
- docker cmds for _CPU & Mem contraints_ and more docker CLI experiments.

Deploying & Scaling Go microservice on Kubernetes.

- Learning basic architecture of kubernetes. 
- Using Kubernetes CLI with Kubernetes cluster. (kubectl, minikube)
- Deploy Go microservice using images on docker hub.
- Implementing Deployment & Service descriptors.
- Horizonatally scaling Deployments with replicas and Rolling Updates.