docker deploy redis cluster cluster

Environment preparation: CentOS7 Three virtual machines: because the redis cluster is highly available, six nodes are configured here. Two nodes are deployed for each. ip and port are respectively: 192.168.1.103:6379 192.168.1.103:6380 192.168.1.106:6379 192.168.1.106:6380 192.168.1.1076379 19 ...

Posted by ozzthegod on Tue, 03 Mar 2020 01:43:37 -0800

Spring cloud + Nacos configuration center project is published to the server, and nginx is configured

My environment Windows10 JDK8 SpringCloud: Hoxton.SR1 SpringBoot: 2.2.4.RELEASE Spring cloud Alibaba dependencies: 2.1.1.RELEASE (Note: package name starts with com.alibaba.cloud) Nacos-server: NACOS1.1.4 2. Start nacos service (stand-alone mode & embedded database) 0. Premise: configure JAVA_HOME e ...

Posted by microbluechip on Mon, 02 Mar 2020 18:41:11 -0800

Prepare for CKA daily question - day 11 | k8s access control RBAC, Role, RoleBinding, and lead to kubectl common commands

Yesterday's examination questions Create a role (only all the operation permissions of pods under cka namespace) and rolebinding (use serviceaccount to authenticate authentication), use the corresponding serviceaccount as the authentication information to operate the pod under cka namespace and the pods under default namespace. – the nam ...

Posted by keiran420 on Sun, 01 Mar 2020 19:12:51 -0800

Creation of redis cluster, detailed description and validation of ERR syntax error for redis cluster card slot migration error

Preface Before redis 5.0.0, the script redis-trib.rb written by ruby was used to operate redis cluster. The disadvantage of this is that Ruby and gems environment need to be installed. There is no Ruby environment such as redis-trib.rb in the official docker image, which needs to be installed by itself. It is time-consuming, complex and not eas ...

Posted by windjohn on Sun, 01 Mar 2020 17:51:36 -0800

Flannel Network for K8S Deployment

1.flannel Download flannel download address https://github.com/coreos/flannel/releases Select the appropriate version from github and download it wget as follows: wget https://github.com/coreos/flannel/releases/download/v0.10.0/flannel-v0.10.0-linux-amd64.tar.gz Unzip with tar-zxvf flannel-v0.10.0-linux-amd64.tar.gz file af ...

Posted by AdamBrill on Sun, 01 Mar 2020 08:19:23 -0800

Configuration of Kubernetes series high availability enterprise image warehouse Harbor

1, About Harbor 1. Introduction to harbor Harbor is an enterprise level Registry server for storing and distributing Docker images. It extends open source Docker Distribution by adding some necessary enterprise features, such as security, identity and management. As an enterprise private Registry server, harbor provides better performance and ...

Posted by abhi_10_20 on Thu, 27 Feb 2020 22:15:33 -0800

Docker - building rabbitmq cluster

Article directory Docker - building rabbitmq cluster 1. First, pull the image of rabbitmq 2. Then run three instances of rabbitmq 3. Then we build the cluster and synchronize the time zone 4. How to delete a container 5. Open the firewall or port controller for port release and check the operation s ...

Posted by gabe33 on Thu, 27 Feb 2020 01:17:07 -0800

Python infrastructure

When building a house, the choice of wood is a problem. A carpenter's goal is essentially to carry a good cutting tool. When he has time, he sharpens his equipment. {-:} - Miyamoto Musashi (wulunshu) This article is excerpted from Chapter 2 of Python big data analysis (version 2) For new Python users, ...

Posted by jmurch on Wed, 26 Feb 2020 19:11:26 -0800

alpine Makes Mirrors

alpine Make Mirror Introduction to alpine Linux Making JDK8 Mirror Based on alpine Alpine Makes a jre Mirror Docker image uploaded to Aliyun preparation in advance Forget password can be modified by clicking on menu:'Container Mirror Service'- >'Default Instance' - >'Access Credentials' Pull mi ...

Posted by kanetan on Tue, 25 Feb 2020 17:23:37 -0800

Using docker to build php-fpm+nginx environment

On the server, docker can help us quickly set up the lnmp running environment, and any operation in the container has no effect on the host.This paper uses docker to create multiple containers (mysql,php-fpm,nginx) to set up lnmp running environment. Since the three containers are for communication, co ...

Posted by nick2005 on Tue, 25 Feb 2020 17:09:02 -0800