Kubernetes log query analysis practice

Introduction: This paper will introduce how to collect and query and analyze Kubernetes (hereinafter referred to as K8s) logs based on log service. In addition, a brief introduction to Ingress and Audit schemes is attached. In order to facilitate you to deepen your understanding through operation, this paper provides detailed operation steps, c ...

Added by coderb on Fri, 25 Feb 2022 16:35:26 +0200

Spring Boot configuration class processing

ConfigurationClassPostProcessor handles all configuration classes, including @ Component, @ Bean, @ Import annotation, etc. Since the configuration class may introduce new configuration classes and the new configuration classes need to be processed, the ConfigurationClassPostProcessor uses a do while loop to process the configuration classes un ...

Added by trinitywave on Fri, 25 Feb 2022 16:26:13 +0200

Mind mapping: from Xmind to docsify blog

Today, I finally finished the exam that should have been finished a year ago. Tomorrow, I'm ready to start the lying down life (FOG) of my senior. Reviewing genetic engineering again is rewarding. In addition to professional progress, I also found this cold knowledge. Tossing results: Click to view Steps: Configure your blogExport xmind to ...

Added by Mehdi on Fri, 25 Feb 2022 16:23:53 +0200

Recursive and non recursive algorithms for pre, middle and post sequence traversal, sequence traversal

preface: This paper introduces the recursive and non recursive algorithms of traversal, among which the non recursive algorithm of post order traversal is the most difficult.Questions included by bloggers: New YoungPlease indicate the source of Reprint: New Young Mind map [the external chain picture transfer fails, and the source st ...

Added by romanali on Fri, 25 Feb 2022 16:06:24 +0200

B-tree and B + tree of disk storage chain

I recommend a free open course of zero sound college. Personally, I think the teacher speaks well. I share it with you: Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, collaboration, DPDK and other technical contents, learn immediately Introduction to B-tree Before talking about the ...

Added by jbloom on Fri, 25 Feb 2022 16:00:57 +0200

C + + exception handling mechanism from simple to deep, and the bottom analysis of function call assembly process Bottom layer simulation of C++11 intelligent pointer

I abnormal 1.1. Programming model and basic usage of exceptions Let's use it to explain the above model double Div(int a, int b) { if (b == 0) throw "Zero Div";//Throw a string constant cout << "If an exception is thrown, Cut yourself and all at once, Will not execute" << endl; return (double)a / (double)b; } int main() { ...

Added by ChrisBoden on Fri, 25 Feb 2022 15:50:17 +0200

The spi mechanism of jdk is used to realize the expansion and decoupling of the interface

0. Background As we all know, SPI has good practice in many places, such as JDBC driver loading, dubbo, etc. The autoConfiguration of SpringBoot project is also a similar principle. It feels good to use it for module decoupling. For example, we do a service of application management, which has the functions of application installation, upgrade ...

Added by Brand Hill on Fri, 25 Feb 2022 15:38:44 +0200

Common operations of ffmpeg

1. Download ts fragment with ffpeg ffmpeg -i https://b1.szjal.cn/20210818/LirlVQjP/index.m3u8 -c copy d:\save\1.mp4 The parameter - i here is followed by the URL of m3u8 and - C is the code of copy, which is then stored in the save directory of disk d (it's best to build a directory here, otherwise it's hard to find) 2. Change the forma ...

Added by statrat on Fri, 25 Feb 2022 15:35:36 +0200

Leetcode notes -- basic topics of dynamic programming

Catalogue of series articles I Array type problem solving method 1: dichotomy II Array type problem solving method 2: Double finger needle method III Array type problem solving method 3: sliding window IV Array type problem solving method 4: simulation V The basic operation and classic topics of the linked list Vi Classic title of hash tab ...

Added by Redapple on Fri, 25 Feb 2022 15:35:16 +0200

ElasticSearch ~ query operation ~ (simple query, batch query, matching query, fuzzy query, accurate query, range query, wildcard query, must query, should query, filter query)

1, Simple query 1, Query all results GET /student_info/_search { "query": {"match_all": {}} } 2, Query by criteria GET /student_info/_search { "query":{ "match":{ "name":"Zhang San" } } } 3, Sort GET /student_info/_search { "query":{ "match":{ "name":"Zhang San" } }, "sort":[{ "age":"desc" } ...

Added by jonki on Fri, 25 Feb 2022 15:23:29 +0200