docker

Building a Prometheus, Grafana and pushgateway cluster with Kubernates

Building a Prometheus, Grafana and pushgateway cluster with Kubernates

This article is my notes on practicing building a cluster of Prometheus, Grafana and pushgateway in Kubernates environment. The repository is located at soudegesu/prometheus-pushgw-practice . Goals Building a Prometheus, Grafana and pushgateway cluster with Kubernates Grafana references Prometheus as a datasource. Prometheus pull metrics from pushgateway. For now, I will aim to build a cluster on a local machine. These goals outline is as shown in the following figure. Environment
Install Docker to Amazon Linux2

Install Docker to Amazon Linux2

Migration of Amazon Linux to Amazon Linux 2 causes yum install docker command doesn't work in Amazon Linux 2, so I investigate how to install docker. Motivation Install Docker to Amazon Linux2 without error My Packer build job stopped with error after AWS announced Amazon Linux 2 LTS Candidate in June 2018, because I migrated my server os Amazon Linux to Amazon Linux2. Fail to execute yum install docker and yum search docker command because yum repository has been changed.
Create a Docker image with docker build command

Create a Docker image with docker build command

This post is a personal note for building mysql container using Docker. Update Docker daemon In my case, the version of docker was old, so I downloaded docker for Mac from the official website and updated docker daemon. Check docker version. 1docker version 2 3Client: 4 Version: 1.13.0 5 API version: 1.25 6 Go version: go1.7.3 7 Git commit: 49bf474 8 Built: Wed Jan 18 16:20:26 2017 9 OS/Arch: darwin/amd64 10 11Server: 12 Version: 1.