Saltstack deploys keepalived to achieve high availability of haproxy

Saltstack deploys keepalived to achieve high availability of haproxy Illustration: Environmental Science: Server1(salt-master,keepalived-backup,haproxy)172.25.254.1 Server2(salt-minion,keepalived-master,haproxy)172.25.254.2 Server3(salt-minion,RS,httpd)172.25.254.3 Server4(salt-minion,RS,httpd ...

Posted by avo on Sat, 12 Oct 2019 08:53:54 -0700

log-pilot:k8s Log Collection Artifact

There are two common solutions for pod log collection in k8s. Solution 1: Use fluentd as daemonset to collect all logs in stdout and / var/lib/containers directories (because fluentd is not familiar with, so it is troublesome); Solution 2: Use filebeat as sidecar (which is too cumbersome and requires adding this container to each pod) Accide ...

Posted by artacus on Sat, 12 Oct 2019 08:30:52 -0700

Centos configuration Nginx+tomcat

1. installation 1.1 Install gcc gcc-c++ (If new environment is not installed, please install first) $ yum install -y gcc gcc-c++ 1.2 Installation of the PCR E Library $ cd /usr/local/ $ wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.33/pcre-8.33.tar.gz $ tar -zxvf pcre-8.36.tar.gz $ cd ...

Posted by reub77 on Fri, 11 Oct 2019 12:05:42 -0700

Centos7 installs jumpserver fortress

1. Firewall Selinux settings echo -e "\033[31m 1. firewall Selinux Set up \033[0m" \ && if [ "$(systemctl status firewalld | grep running)" != "" ]; then firewall-cmd --zone=public --add-port=80/tcp --permanent; firewall-cmd --zone=public --add-port=2222/tcp --permanent; firewall-cmd --permanent --add-rich-rule="rule family="ipv4" sour ...

Posted by mr_badger on Fri, 11 Oct 2019 11:18:37 -0700

[Kubernetes Series] Part 5 Introduction to Ingress controller - traefik components

1. overview In order for Ingress resources to work, there must be at least one running ingress controller component in the Kubernetes cluster. That is to say, if there is no ingress controller component in the kubernetes cluster, only the ingress resource is defined, in fact, it will not realize the functions of http, https protocol request for ...

Posted by TexasMd91 on Thu, 10 Oct 2019 23:37:51 -0700

Docker Introduction and Application Management Application Data

1. Three ways to mount data from host to container Docker provides three ways to mount data from the host to the container: Volumes: Docker manages part of the host file system (/var/lib/docker/volumes). The best way to save data.   Bid mounts: Mount files or directories anywhere on the host into containers.   tmpfs: Mounts are stor ...

Posted by Gutspiller on Thu, 10 Oct 2019 14:34:35 -0700

Some pits and knowledge collections of Vue and SprinBook development and maintenance

1. Perfectly Solve the Cross-domain Problem of Vue2.0+Axios Development and Production Environment Because bloggers mainly do back-end development and automated operation and maintenance, so the front-end is basically oriented to classmates and search engine programming.. This time, a simple and elegant cross-domain solution with Vue and Axios ...

Posted by buluk21 on Thu, 10 Oct 2019 05:17:27 -0700

Powerful! Nginx configuration on-line one-click generation of "artifacts"

Nginx, as a lightweight HTTP server, has obvious advantages over Apache. It occupies less resources in performance and can support more concurrent connections to improve access efficiency. It is a very excellent proxy server and load balancing server in function. It is easy to install and configure in installation. Many articles on Nginx deplo ...

Posted by EternalSorrow on Thu, 10 Oct 2019 02:16:19 -0700

Perfect for LNMP/AMH Smooth Upgrade of Tengine Latest Edition

Links to the original text: http://www.zntec.cn/archives/nginx-change-tengine.html I believe there are quite a few people using VPS nowadays. For many people, LNMP and AMH are the best environments.   There's no need to say more abou ...

Posted by drag0n on Wed, 09 Oct 2019 09:46:55 -0700

Kubernetes rolling updates (uninterrupted smooth publishing)

Kubernetes supports a feature called Rolling Update, which allows you to continue without interruption. Nearly seamlessly upgrade and deploy applications, i. e. complete application updates without stopping external services. What is rolling update? Kubernetes supports what is known as rolling updates in order to achieve user insensitivity w ...

Posted by mightymouse on Wed, 09 Oct 2019 09:31:08 -0700