Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matisszilard/palinta
https://github.com/matisszilard/palinta
go-kit golang kit kubernetes microservice palinta
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/matisszilard/palinta
- Owner: matisszilard
- License: other
- Created: 2020-09-10T13:00:29.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T23:46:16.000Z (about 3 years ago)
- Last Synced: 2024-06-19T21:00:31.054Z (5 months ago)
- Topics: go-kit, golang, kit, kubernetes, microservice, palinta
- Language: Go
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Palinta
Playground project for Golang micro services.
It contains simple micro services as examples in Golang.
Note: the listed commands, params are heavily specific. To able to run in your
environment please change the kube configs, docker hub specific parameters to your
configuration.## Overview
```
.
├── build // Build folder for the generated binaries
├── cmd // Setup module for the microservices
│ ├── data-generator
│ ├── demeter
│ ├── device
│ └── user
├── kube // Kubernetes microservice configuration
├── doc // Documentation
├── pkg // Common package for microservices
└── service // Service package
```## Build the project
To generate the binaries run the following command:
```sh
make build
```It is going to generate the macOS and Linux binaries for each microservice.
Makefile contains separate target for each service. A compile command in case of macOS:
```sh
cd cmd/device; GOOS=linux GOARCH=amd64 go build -o ../../build/linux-amd64/device; cd ../..
```## Build the project using docker
In order to build the microservices into docker please run the following command:
```sh
make docker-build
```It is going to compile each service and build the corresponding docker image for it.
## Upload it to Kubernetes
Kubernetes config files can be found under the `kube` folder. For each deployment
there is a target created in the `Makefile`.For further information please check the `Makefile`.