Monitoring of linux tuning indicators

linux index monitoring Since I was responsible for the production environment deployment, I have encountered a number of online environment memory and CPU problems. Because of the popularity of microservices and containers, K8s + prometheus + grafana + alert can be easily used for monitoring, which is enough to cover most scenarios. The most im ...

Posted by welshy123 on Wed, 23 Oct 2019 19:33:04 -0700

Create optimized Go image files and stepped pits

It is not difficult to create a Go image file on Docker, but the created file is very large, close to 1G, which is not convenient to use. One of the main problems of Docker image is how to optimize and create a small image. We can create Docker image files with multi-level construction method, which is not complicated. But because of the need t ...

Posted by DavidP123 on Wed, 23 Oct 2019 18:04:13 -0700

A brief account of linux monitoring indicators

linux index monitoring Since I was responsible for the production environment deployment, I have encountered a number of online environment memory and CPU problems. Because of the popularity of microservices and containers, K8s + prometheus + grafana + alert can be easily used for monitoring, which is enough to cover most scenarios. The most im ...

Posted by hellz on Wed, 23 Oct 2019 17:15:56 -0700

docker+jenkins+github deployment soringboot project

Preface Using jenkins to associate github to publish spring boot project is very simple. This article introduces the process of publishing with docker. ps: the server of this article is centos7 Install docker yum install docker After installation, you need to set it to start systemctl start docker.service systemctl enable docker.service The ...

Posted by tester2 on Tue, 22 Oct 2019 03:13:00 -0700

Automatically deploy the code above git to the server

1. Configure gitlab runner on the computer Reference document https://docs.gitlab.com/runner/install/osx.html Installation: sudo curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64 add permission sudo chmod +x ...

Posted by the_loser on Mon, 21 Oct 2019 07:41:24 -0700

Experience docker container health quickly

The purpose of this article is to experience the health check function of docker container. Experience is the main function, and development is not involved. The content related to development will be detailed in the following article. About container health check Consider this situation: in the docker environment, the container of spring boot ...

Posted by NFClimber on Sat, 19 Oct 2019 22:44:16 -0700

docker container logrotate does not work

process A log analysis script is added to syslog docker. The script uses the shortest edit distance algorithm to collect error logs and send them to the test environment alarm group. The script relies on logrotate. The next morning, the expected error collection alarm is not seen. It is found that logrotate is not working. xxxxxxxx@xxxxxxxx:/sr ...

Posted by veluit06 on Sat, 19 Oct 2019 20:07:34 -0700

Install k8s cluster: install k8s cluster

Install k8s cluster (I): install three centOS under Windows 10 Install k8s cluster (II): install k8s cluster   Install k8s cluster (II): install k8s cluster Step 1: prepare 1. Virtual machine preparation Prepare three virtual machines: host name IP System version Installation service Function description maste ...

Posted by pradee on Sat, 19 Oct 2019 10:23:24 -0700

How to debug a Docker container from a separate container

Containers are great for encapsulating software, but sometimes you can go too far by blindly altering the container image to make it as small as possible. We need to find a good balance between "clean" images and images that cannot be debugged. The normal way to see people debugging a running container is to docker exec - it $containe ...

Posted by jolinar on Sat, 19 Oct 2019 04:23:48 -0700

GitLab+jenkins+docker release

Article directory Basic services Microservice provider Jenkins http://192.168.2.5:181/view/all/newJob Build a maven project HT micro record service note provider Add jenkins host public key to gitlab and generate global credentials 1.Username with password root/123456 2.SSH Username with private k ...

Posted by V34 on Fri, 18 Oct 2019 13:25:54 -0700