Prepare for CKA's daily problem - day 4: Master kubectl command to create resource object and analyze from source code
This activity is held on WeChat official account (my small bowl soup), and there is book delivery activity. You can't take part in the book delivery activity if you take part in the question answering here!
Yesterday's examination questions
Create a deployment with a single command and expose the Service. The deployment and Service names are ...
Posted by sprint10s on Wed, 11 Mar 2020 02:21:26 -0700
Detailed nginx data receiving process
In nginx Event Driven Process Details Based on epoll Model As we mentioned, epoll calls back the ngx_event_accept() method after triggering the accept event.This approach does two main things:
Get the client connection handle to which accept is going, and initialize a ngx_connection_t structure to characterize the connection;
Check that the ne ...
Posted by SeaJones on Mon, 09 Mar 2020 17:53:00 -0700
Implementation of high concurrent seckill in real combat: modify inventory based on Token token bucket + MQ
1, Theoretical basis
1.1 front end optimization
Use dynamic and static separation to store static resources in a third-party file server to achieve cdn acceleration, so as to reduce the bandwidth of second kill and rush to buy
When the user clicks the seckill button, the button should be disable ...
Posted by tamir_malas on Sun, 08 Mar 2020 07:01:54 -0700
Docker private warehouse Harbor installation
previously on
My system environment is: CentOS Linux release 7.7.1908 (Core)
Before installing Harbor, you need to install Docker and Docker compose (the installation of these two items will not be described in detail)
Harbor introduction
Harbor is an open-source project, which is used to store and distribute Docker images. It extends Docker D ...
Posted by netman182 on Sun, 08 Mar 2020 06:28:58 -0700
LNMP enterprise case -- Introduction and deployment of OpenResty
1.OpenResty
Openresty is a scalable Web platform based on NGINX. It was initiated by Chinese people Zhang Yichun and provides many high-quality third-party modules.
OpenResty is a powerful web application server. Web developers can use Lua scripting language to mobilize various C and Lua modules suppo ...
Posted by daucoin on Sun, 08 Mar 2020 05:29:55 -0700
ELK log collection
ELk introduction
E: Elasticsearch stores data java
50: Logstash collection, filtering, forwarding, matching, large, slow start, middle role java
K: Kibana filtering, analysis, graphic presentation java
F: Filebeat collects logs and filters go
Basic architecture diagram
Traditional log analysis requirements (interview)
1. Find out the top ten ...
Posted by ppgpilot on Sun, 08 Mar 2020 03:42:58 -0700
Implementation of middleware with nginx openresty
[TOC]
Implementation of middleware with nginx openresty
Be careful
In the formal ngx.exec(), you must not output anything, such as ngx.say("debug"), otherwise you will be trapped in redirection
The log will constantly prompt attempt to call ngx.exec after sending out response headers
This should be a common sense problem. We all know ...
Posted by PAFTprod on Sun, 08 Mar 2020 03:02:07 -0700
hexo, the most complete personal blog in history
Preface
Domain name from 2020 to the end of February mflyyou.cn After a three-year renewal, it only expires in 2024-4, so Google decided to build a personal website. Google changed one of its favorite themes, hexo matery modified, and then changed its content.
Please observe the specific effect of Blog Zhang Panqin's blog
Outline of this artic ...
Posted by aximbigfan on Sat, 07 Mar 2020 00:55:29 -0800
python wechat public number development [1] background server-side configuration and public number development configuration
Update: March 7, 2020
Hardware prerequisites for the development of WeChat public number: (1) Apply for a public number (2) Server with public network ip (preferably Ali cloud, Tencent cloud, etc.) (3) Resolve to (2) Domain name of server address (Ali cloud, Tencent cloud purchase).
1. WeChat Public N ...
Posted by OMorchoe on Fri, 06 Mar 2020 18:05:00 -0800
hexo deploy blog to Alibaba cloud server
Because of the epidemic, Alibaba cloud has sent half a year's servers free of charge, and they can't be used for playing. Then I will first migrate my blog from github to Alibaba cloud, and then change it if there is a problem.
Previous conditions:
1. Server
2. hexo has been installed on the local com ...
Posted by zimick on Fri, 06 Mar 2020 02:42:24 -0800