Optimization of Docker image

Thinking: what do you want to optimize the image? The means of image optimization l) select the thinnest basic image -- > core 2) reduce the number of layers of image 3) clean up the intermediate products of image construction -- > useless 4) pay attention to optimizing network requests 5 ...

Posted by mikegzarejoyce on Tue, 29 Oct 2019 14:00:03 -0700

Alibaba cloud Kubernetes CSI practice - static NAS volume

Environmental preparation For cluster creation, dependency configuration and CSI plug-in deployment, please refer to: CSI deployment details Create NAS volume To create a NAS disk in the NAS console: Reference document To create a NAS mount point on the NAS console: Reference document Note: the NAS mount point needs to be in the same vpc as the ...

Posted by rascle on Tue, 29 Oct 2019 08:14:59 -0700

Advanced usage of coredns component in kubernetes

Separation of internal and external traffic by coredns scene The domain name of the old service is fixed, and the service cannot be accessed directly through the internal service. Need to split internal and external traffic automatically Realization Through the rewrite function of coredns, the above capabilities can be realized. For example ...

Posted by Robert Elsdon on Sat, 26 Oct 2019 13:17:13 -0700

Using docker to build php+nginx+mysql development environment on Mac

I. preparationAdvantages of Docker to build environment: Simple operation, rapid construction and environmental isolation Common Docker operation commands and parameters: docker search # Find image from Docker Hub docker images # View local mirror list docker pull # Pull or update the specified image from the image warehous ...

Posted by cmburns69 on Sat, 26 Oct 2019 11:48:56 -0700

Super simple kubernetes high availability cluster installation

Precondition System requirements: 64 bit CentOS 7.6 Turn off firewall and selinux Turn off the operating system swap partition (it is not recommended to turn it on using k8s) Please pre configure the hostname of each node to ensure no duplicate. Please configure the first master to be able to log in all nodes (including itself) keyless Envir ...

Posted by gotDNS on Sat, 26 Oct 2019 09:00:26 -0700

Complete steps of source code installation of Nginx on centos7 platform

1. install make yum install gcc automake autoconf libtool make 2. install gcc yum install gcc gcc-c++ 3. Install pcre Library Download address: https://pan.baidu.com/s/13Kojg2Xcnp06qiw023uHoQ Upload the downloaded pcre-8.35.tar.gz through ftp to the directory / usr/local/src of centos7. cd /usr/local/src # New pcre directory mkdir /usr ...

Posted by xux on Fri, 25 Oct 2019 09:40:19 -0700

node.js segment point renewal: the implementation method of Nginx configuration file segment download function ﹣ node.js

This tag can be configured in Node.JS to realize the segmented download of files. This article introduces Node.JS segment point continuation: the implementation method of Nginx configuration file segment download function. Please refer to it for your reference. Html5 provides a new Range tag to implemen ...

Posted by BinaryBird on Thu, 24 Oct 2019 02:42:02 -0700

Install tomcat deployment website / nginx agent tomcat/tomcat deployment multiple websites

Source: https://blog.csdn.net/Powerful_Fy Install jdk: Oracle official download https://www.oracle.com/technetwork/java/javase/downloads/index.html Install openjdk from yum: 1. Find the available jdk package: [root@linux ~]# yum list |grep jdk 2. Select the package installation of the corresponding version: [root@linux ~]# yum -y install java- ...

Posted by future_man on Wed, 23 Oct 2019 11:04:05 -0700

nginx map configuration allocates traffic to different back-end services according to different request headers

text Recently, I was doing a requirement development: according to the different requests, nginx will distribute the requests to different back-end services. It is necessary to modify the source code of kubernetes's ingress-nginx-controller. When debugging, there are quite a lot of problems. Let's not talk about the specific scheme, just about ...

Posted by soulreaver on Tue, 22 Oct 2019 16:58:56 -0700

The installation and configuration of NGINX+PHP under Centos7

First compile and install NGINX: 1. Install dependency package yum install -y gcc-c++  pcre pcre-devel  zlib zlib-devel openssl openssl-devel 2. Run configure configuration cd /usr/local/src/nginx-1.14.0 && ./configure --prefix=/usr/local/nginx 4. Compile and install make && make install 5. Start NGINX /usr/local/nginx/sbin ...

Posted by coupe-r on Mon, 21 Oct 2019 10:48:16 -0700