Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matisszilard/devops-palinta
Playground project for DEVOPS
https://github.com/matisszilard/devops-palinta
devops docker elasticsearch golang grafana influxdb jenkins kibana kubernetes logstash makefile microservices mqtt openshift palinta playground prometheus prometheus-metrics terraform
Last synced: 3 months ago
JSON representation
Playground project for DEVOPS
- Host: GitHub
- URL: https://github.com/matisszilard/devops-palinta
- Owner: matisszilard
- License: other
- Created: 2020-07-23T06:09:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-05T02:24:21.000Z (over 1 year ago)
- Last Synced: 2024-10-01T06:24:17.344Z (3 months ago)
- Topics: devops, docker, elasticsearch, golang, grafana, influxdb, jenkins, kibana, kubernetes, logstash, makefile, microservices, mqtt, openshift, palinta, playground, prometheus, prometheus-metrics, terraform
- Language: Go
- Homepage:
- Size: 1.55 MB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Palinta devops playground [![Build Status](https://travis-ci.com/matisszilard/devops-palinta.svg?branch=master)](https://travis-ci.com/github/matisszilard/devops-palinta)
Playground project for DEVOPS related solutions.
It contains simple microservices as examples.
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
├── devops // DEVOPS related modules
│ ├── elk // Elasticsearch, Logstash, Kibana configuration
│ ├── gp // Grafana and Prometheus configuration
│ ├── jenkins // Jenkins configuration
│ ├── palinta // Example microservice configuration
│ └── pvc // Persistent volume claims
├── 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 `devops` folder. For each deployment
there is a target created in the `Makefile`.For further information please check the `Makefile`.