Ansible installation and configuration

The following configurations take the following table environment as an example rolehost nameIP addressGroup nameCPUControl master nodeansiblecontrol192.168.242.10---2CManaged nodeweb1192.168.242.11webservers2CManaged nodeweb2192.168.242.12webservers2C Ansible installation Installation premise Requirements for management host At ...

Posted by poirot on Sat, 25 Dec 2021 22:23:31 +0100

Kubernetes workload controller

1 k8s workload controller What is the workload controller? Workload Controllers is an abstract concept of K8s, which is used for higher-level objects, deployment and management of Pod. Workloads are applications running on kubernetes. Whether your load is a single component or multiple components working together, you can run it in a set o ...

Posted by dougmcc1 on Sat, 25 Dec 2021 17:58:24 +0100

k8s stain and tolerance

Taints exist on node and tolerances exist on pod. Stain (Taint) Composition of taint Using the kubectl taint command, you can set a stain on a Node. After the Node is set with a stain, there is a mutually exclusive relationship between the Node and the Pod. You can make the Node refuse the scheduling execution of the Pod, and even expel th ...

Posted by subwayman on Sat, 25 Dec 2021 13:32:01 +0100

Real time directory synchronization through rsync+inotify under Linux

Background: One OA system of the company is a stand-alone server. Due to disk failure, some OA accessories are lost. In order to avoid this problem, it is planned to realize the file spare parts function through rsync+inotify software and back up the accessories to other servers; 1, Environment introduction Source side (server that needs to sy ...

Posted by tbobker on Fri, 24 Dec 2021 22:30:36 +0100

ssh password free login settings in cluster environment

1. Preparation 1) Use the client tool (secureCRT or xshell) to connect to the linux server. It is recommended to open multiple servers at the same time and send the same command to multiple servers at the same time. 2. Production key file 2) Edit the hosts file on each server: vi / etc/hosts 3) Add the following contents to the document (th ...

Posted by tomash on Thu, 23 Dec 2021 23:33:56 +0100

Jenkins+Gitlab of CI/CD

This article has reached 16000 words, a little more, but more complete 1, Jenkinx+Gitlab continuous integration environment overview (1) What is CI/CD CI is continuous integration, and CD is continuous delivery and continuous deployment. Generally, CD is continuous delivery CI/CD overview: Continuous integration (CI): continuous ...

Posted by totof06 on Thu, 23 Dec 2021 11:17:17 +0100

Filter, interceptor, listener

Filter: manage all web resources for the web server, mainly preprocess some user requests, and then preprocess them after the server responds and return them to the user, such as jsp, static pictures, etc. purpose: 1. Implement URL level access control, 2. Filter sensitive words, 3. Hide some information with *. Interceptor: basically, it is ...

Posted by itsjames on Wed, 22 Dec 2021 06:41:21 +0100

LVS cluster theory, load balancing

1, Cluster and distributed 1. Cluster 1.1 meaning of cluster Cluster, cluster It is composed of multiple hosts, but only as a whole Question: In Internet applications, as the site has higher and higher requirements for hardware performance, response speed, service stability and data reliability, a single server is unable to meet its n ...

Posted by PHPNewbie55 on Tue, 21 Dec 2021 19:37:05 +0100

Load balancing algorithm

Summarize the video of up main IT brother from b station summary Common load balancing algorithms include random, weighted random, polling, weighted polling, smooth weighted polling and consistent hash algorithm Server IP public class ServerIps { public static final List<String> LIST = Arrays.asList( "A", ...

Posted by hiberphoptik on Mon, 20 Dec 2021 18:39:50 +0100

LINUX command set - shell, help, man, cd, pwd, ls, du, mkdir, touch, in, cp, rm, mv, which, find

preface Linux is a Unix like operating system that is free to use and spread. It is a multi-user, multi task, multi thread and multi CPU operating system based on POSIX and Unix. With the development of the Internet, Linux has been supported by software enthusiasts, organizations and companies all over the world. In addition to maintaini ...

Posted by johnny on Mon, 20 Dec 2021 09:22:49 +0100