k8s ~ add sidecar sidebucket for service
The word sidecar generally refers to motorcycles with straddles. In the Second World War, small Japan drove many of these motorcycles. It added a straddle on the original basis, and then it could carry an extra person. It had no impact on the original two wheeled motorcycles. It was also OK to dismantle the straddle. It had no essential damage ...
Posted by Azarian on Tue, 24 Mar 2020 00:49:01 -0700
Spring Cloud Micro Service Architecture From Getting Started to Getting Used - Service Gateway Spring Cloud Gateway
In the first two articles, we have preliminarily completed a small micro-service framework, including a service registry, an order service, and an inventory service. Order services can also make inter-service invocations of inventory services through feign.In that article, we will introduce the service gateway Spring Cloud Gateway.
Spring Cloud ...
Posted by daddymac on Mon, 23 Mar 2020 10:59:24 -0700
How to use Thanos to implement Prometheus multi-cluster monitoring
Prometheus is the default monitoring scheme in Kubernetes, which focuses on alerting and collecting and storing recent monitoring indicators.However, Prometheus also exposes some problems at a certain cluster size.For example, how can PB-level historical data be stored in an economical and reliable way without sacrificing query time?How do I ac ...
Posted by KoshNaranek on Fri, 20 Mar 2020 01:16:48 -0700
nginx request line reading process
In the previous article, we explained how nginx establishes a connection and reads data when a request arrives.After reading the data, nginx sets the callback method for reading events to ngx_http_process_request_line(), which has the following main functions:
Read the data requested by the client, and continue to listen for client read events ...
Posted by rharter on Wed, 18 Mar 2020 21:14:36 -0700
Nginx Security Access Configuration
Website System Security Configuration (Nginx) prevents websites from being malicious GJ s.Websites such as DDos, CC, etc.They all work the same way, sending large amounts of request data to the server.
Nginx Active Defense MethodThere are two modules in Nginx that control the "number" and "speed" of accessing user connecti ...
Posted by cdjaco on Tue, 17 Mar 2020 12:28:51 -0700
High availability of ES cluster
Preface: articles before us ELK+Kafka+Filebeat analysis Nginx log The configuration of ES cluster is mentioned in. In my later experiments, I found that although the cluster can be started and can process data normally, as long as the ES1 node is hung up, the whole cluster can not operate normally and t ...
Posted by ryanhowdy on Sun, 15 Mar 2020 23:18:03 -0700
Passive way of collecting nginx logs by graylog2
Graylog can collect nginx logs in two ways: one is through the Graylog Collector Sidecar (active mode), and the other is through modifying the nginx configuration file (passive mode).
This time, let's change the nginx configuration file (passive mode). The advantage of passive mode is that nginx sends the defined log fields to the user-defined ...
Posted by TheDefender on Sun, 15 Mar 2020 20:52:31 -0700
docker deployment Django project (front and back end separation project)
First step
Switch yum source: https://blog.csdn.net/wangshuminjava/article/details/84380308
The second step
1. Install docker
https://www.runoob.com/docker/centos-docker-install.html
Modify the docker image source: https://blog.csdn.net/l848168/article/details/83378298
2. Install docker compos ...
Posted by realchamp on Sun, 15 Mar 2020 00:39:41 -0700
Installing php extension in docker
Some extensions of php
Using the keyword docker PHP ext install directly in the Dockerfile file
RUN docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) ...
Posted by Tristan Wells on Sat, 14 Mar 2020 23:41:05 -0700
Kubernetes Beginner k8s Cluster Environment Setup
Reference QianFeng Li Weimin
brief introduction
Kubernetes, created and managed by Google in 2014, is an open source version of Borg, Google's 10-year-old large-scale container management technology.Is a container cluster management system, is an open source platform, can achieve automatic deployment ...
Posted by iloveyou on Wed, 11 Mar 2020 22:59:37 -0700