Docker Builds Redis Master-Slave Mode (Sentinel Monitoring) & SpringBoot 2.0 Integrated Redis Service (Lettuce Connection Pool)

1. Docker sets up Redis Master+Sentinel Monitoring Set up environment: Ubuntu 18.04.3 Docker 18.09.7 Download Mirrordocker pull redis (default redis:latest) Get the configuration file and modify it wget http://download.redis.io/redis-stable/redis.conf wget http://download.redis.io/redis-stable/sentinel.conf # Primary four slave port ...

Added by virtualdevl on Thu, 09 Apr 2020 08:54:36 +0300

The core implementation of kubernetes command execution

Command execution in K8s is jointly completed by apiserver, kubelet, cri, docker and other components. The most complex is protocol switching and various stream copying. Let's take a look at the key implementation. Although there are many codes, they should be able to understand without development. Good luck 1. Basic concepts There are many pr ...

Added by akelavlk on Wed, 08 Apr 2020 07:58:24 +0300

The whole process of building php7 and nginx running environment with docker

Since we used to use docker image to enter the container and use yum to install nginx or php, we found that the whole image is larger and faster by 2G. Large documents will affect the environmental shift value, and there is no technical content. Today, I found a sub environment installation on the Internet to separate nginx and php into two ima ...

Added by luxe on Fri, 03 Apr 2020 12:00:19 +0300

K8s builds RHEL7 operating system on Linux one (I)

I. Introduction Kubernetes is a hot technology at present. It has become the standard of PASS management platform in the open source community. At present, most of the articles build kubernetes platform for X86 platform. Next, the author builds open-source kubernetes platform on Linux one.There are two main ways to build K8S platform, The fir ...

Added by kevinbarker on Mon, 30 Mar 2020 12:18:07 +0300

Service discovery plug-in in k8s CoreDNS

The default service discovery in k8s is to automatically associate the service name to the clusterIP through dns Deploy the resource configuration list HTTP service in k8s: On the hdss7-200 host, configure a nginx virtual host to provide a unified resource configuration list access portal for the k8s intranet: [root@hdss7-200 conf.d]# cat k8s- ...

Added by WinnieThePujols on Sat, 28 Mar 2020 18:10:12 +0200

Learn ECs from scratch - Docker+Tomcat+Nginx+MySQL

brief introduction For the enterprise application architecture, it is certainly not limited to one server. According to my imagination: at least one server that deploys the back-end interface; one server that deploys the front-end page; one server that acts as a proxy; one server that loads the database, etc., which does not include load balanc ...

Added by M.O.S. Studios on Tue, 24 Mar 2020 12:43:14 +0200

042. Cluster network - flannel and calico

One Flannel component 1.1 introduction to flannel Kubernetes' network model assumes that all pods are in a flat network space that can be directly connected. If you need to implement this network assumption, you need to implement mutual access between Docker containers on different nodes, and then run kubernetes. At present, there are many op ...

Added by Tainted Kitten on Tue, 24 Mar 2020 09:23:58 +0200

How to use Prometheus to configure custom alarm rules

Preface Prometheus is an open source system for monitoring and alerting. Originally developed by Soundcloud, it moved to CNCF in 2016 and became one of the most popular projects since it was called Kubernetes. It can monitor from the whole Linux server to stand alone web server, database service or a single process. In Prometheus terminology, w ...

Added by thewomb on Tue, 24 Mar 2020 06:52:18 +0200

Construction of GitLab ci/cd deployment environment

Explain This paper briefly introduces Gitlab CI, including Gitlab Runner, related concepts in Gitlab CI and common configuration of. gitlab-ci.yml. Deploying GitLab Please refer to Docker compose deployment of Chinese version of gitlab What is GitLab CI GitLab CI is a built-in tool for continuous integration of gitlab. You only need to create ...

Added by DexterMorgan on Mon, 23 Mar 2020 23:24:40 +0200

Summary of problems encountered in docker environment required for k8s deployment

Alibaba cloud's one click deployment script is used for deployment: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun Create the required directory: mkdir -p /etc/docker /data/docker Then modify the configuration file of docker: /etc/docker/daemon.json {   "graph": "/data/docker",   "storage-driver": "overlay2",   "insecure-re ...

Added by zenag on Mon, 23 Mar 2020 11:23:01 +0200