Collecting container logs of kubernetes
demand
/The files under var/log/containers are actually soft links
The real log files are in the directory / var/lib/docker/containers
Options:
Logstash (too much memory, try not to use this)
fluentd
filebeat
Do not use docker-driver
Log format
/var/log/containers
{
"log": "17:56:04.176 [http-nio-8080-exec-5] INFO c.a.goods.proxy.GoodsGe ...
Posted by caraldur on Sun, 06 Oct 2019 23:26:54 -0700
Introduction to Exceptionless 5.0.0 Local Docker Rapid Deployment
I've written two articles about it before. Use and deployment of Exceptionless, an open source log project But it was based on version 4.1.0 (release in 2017), and Exceptionless launched version 5.0.0 more than two years later.
I. About Exceptionless 5.0.0
Exceptionless is an open source, real-time and useful log collection framework, which mak ...
Posted by blaster_master on Sun, 06 Oct 2019 11:21:28 -0700
Arthas Views Time-consuming on Each Node on the Method Call Path
File: https://alibaba.github.io/arthas/
githut: https://github.com/alibaba/arthas/blob/master/site/src/site/sphinx/index.md
install
express setup
wget https://alibaba.github.io/arthas/arthas-boot.jar && java -jar arthas-boot.jar
Select the application java process:
$ $ java -jar arthas-boot.jar
* [1]: 35542
[2]: 71560 arthas-demo.jar ...
Posted by tarlejh on Sun, 06 Oct 2019 03:07:45 -0700
Docker installs Gitlab and Gitlab-Runner and implements the project CICD
This article describes in detail how to install Gitlab, Gitlab-Runner and implement CICD of the project using Docker in Linux system.
Installation of Gitlab
1. Pull up the mirror and start it
Since port 80 of the server may be occupied, we have changed to other ports to start it here.
docker run -d -p 2443:443 -p 5678:80 -p 2222:22 --name gitla ...
Posted by Skoalbasher on Sun, 06 Oct 2019 00:33:03 -0700
jenkins is automatically packaged and deployed to a specified directory
Antecedents and consequences
Recently, I'm not busy with my work. I'm going to study automated packaging. The goal is to package automatically through jenkins and copy it to a specified directory.
target
git updates the code and jenkins automatically packages and deploys
First install jenkins
Look at the document jenkins need Docker installatio ...
Posted by wesley1189 on Sat, 05 Oct 2019 07:02:17 -0700
Deployment of canal based on docker-compose
canal's Origin and Related Introduction
To understand the introduction of canal framework, installation and source code, please refer towiki The basic installation process and demo are very clear on the official git. It is strongly recommended to read the related introduction on git.
Mysql related s ...
Posted by jdock1 on Fri, 04 Oct 2019 20:53:18 -0700
hyperledger fabric 1.4 single machine installation tutorial
Fabric v1.4.0 stand-alone installation and deployment
I. Pre-preparation
The installation of fabric s depends on the docker environment, so the premise is to install the docker well. At the same time, some software versions are required as follows:
curl needs the latest version.
Doker version 17.06 o ...
Posted by mitjakac on Fri, 04 Oct 2019 07:19:44 -0700
Docker deploys SpringBook project
Deploy springboot project on docker
First, add the Docker image name to the pom.xml file of the springboot project:
<properties>
<docker.image.prefix>springboot</docker.image.prefix>
</properties>
Add docker to plugin to build plug-ins:
<build>
<plugins>
<plu ...
Posted by yjanni on Fri, 04 Oct 2019 00:36:51 -0700
Download mirror error Couldn't connect: SOCKS protocol error in minikube
Problem description
The agent environment variable used to start minikube creates a minikube virtual machine, but errors occur when downloading or querying mirrors, such as the following two commands reporting a similar error: "Couldn't connect: SOCKS protocol error"
# Execute outside the mi ...
Posted by MadDogSh on Thu, 03 Oct 2019 03:08:55 -0700
Docker Mirror and Docker File Making tomcat Mirror
Make tomcat image:
JDK and tomcat images are constructed based on centos 7.2.1511 basic images provided by the government. First, JDK images are constructed, and then tomcat images are constructed based on JDK images.
Building JDK Mirror
Download the Basic Mirror Centos:
docker pull centos
Execu ...
Posted by neon on Wed, 02 Oct 2019 23:19:00 -0700