Using prometheus to monitor traefik, redis, k8s cluster nodes and kubelet
1. Data indicators of Prometheus are obtained through an open HTTP(S) data interface. We do not need to install monitoring agent s separately. We only need to expose a metrics interface. Prometheus will pull data regularly. For some ordinary HTTP services, we can reuse this service directly. Add A / metrics interface to expose Prometheus2. Som ...
Added by eashton123 on Mon, 26 Aug 2019 18:18:36 +0300
PHP Code Page--How to upload picture files to another service
Say, one of my needs is a temporary feature.Due to the problem of work development, we have a project B. We need a function to add commodities, which involves adding commodity content, such as commodity name, commodity description, commodity inventory, commodity picture, etc.Background merchandise added interface has been written, but the probl ...
Added by Tryfan on Sun, 25 Aug 2019 19:45:36 +0300
Use curl to simulate requests for HTTP
In the process of client development, we always have to do api docking with the back end. Sometimes we need to debug the data format returned. Sometimes we need to run the client to send requests. This is inefficient. Here we introduce curl, a useful tool.
curl
curl is a tool to transmit data to th ...
Added by ffsja on Mon, 12 Aug 2019 13:16:41 +0300
Dual-master Keepalive and lvs realize automatic monitoring of host status and real-time switching
Environmental Science:
202.106.0.17: as Client
202.106.0.27: as router
192.168.205.37: as lvs1
192.168.205.47: as lvs2
192.168.205.57: as websrv1
192.168.205.67: as websrv2
192.168.205.77: as websrv3
192.168.205.87: as websrv4 Note: Firealld is disabled by default for all operating systems, IPtable is empty, selinux is closed
Edition:
O ...
Added by tharagleb on Wed, 07 Aug 2019 13:19:36 +0300
Use Varnish to speed up your site
(1). Overview of Varnish
Varnish is a high performance open source HTTP accelerator that can effectively reduce the load on the web server and increase access speed.According to the official statement, Varnish is a cache-type HTTP reverse proxy.
Poul-Henning Kamp, author of Varnish, is one of FreeBSD's core developers and believes that comput ...
Added by Jezz on Sun, 04 Aug 2019 19:42:02 +0300
istio use tutorials
Off-line installation packages for various versions of kubernetes
install
Install k8s Strong Interruption Advertisement
Three-step installation, not much to say
helm installation is recommended for production environments.
<!--more-->
release address
As I used version 2.9.1
yum install -y socat # This does not pretend to be wrong.
...
Added by strangesoul on Wed, 31 Jul 2019 21:55:21 +0300
ELK Building Learning Notes
ELK Construction
Demand Background
Business volume is huge and servers are more and more
Need to centralize log management
Why use ELK
A complete centralized logging system needs to include the following points:
1. Collection - Ability to collect multiple types of logs
2. Transmission - ...
Added by daniel_mintz on Sun, 28 Jul 2019 15:00:43 +0300
Introduction to nginx - load balancing
Load balancing purposes:
Forwarding the front-end ultra-high concurrent access to the back-end servers for processing solves the problem that the pressure of a single node is too high, which results in the slow response of Web services, and in serious cases leads to the paralysis of services and the ...
Added by jclarkkent2003 on Sun, 28 Jul 2019 13:48:26 +0300
Two Linux magic tools that Java developers must master
<font color='blue'>Zi said: "If you want to do good things, you must first use the tools."</font>
Be a positive personCode, bug fix, improve yourselfI have a park for programming, spring blossom!
Learning should be happy. In this park, I try my best to explain knowledge or technology with simple and easy-to-understand (fun ...
Added by NTGr on Thu, 25 Jul 2019 03:07:47 +0300
nginx configuration file optimization
nginx configuration file optimization
nginx configuration file optimization
1. nginx configuration file simplification
2. Virtual host alias configuration
3. nginx status information configuration
4.0 nginx error log introduction
5.0 User Access Log
6.0 rewrite rewriting url
title: nginx configuration file optimization
tags: nginx,ac ...
Added by bp90210 on Sun, 21 Jul 2019 09:48:02 +0300