docker operation command Daquan and background parameters
I. Command Line
You can get help information from the command line by running docker or docker help command (we take CentOS as an example):
[root@iz2ze2bn5x2wqxdeq65wlpz ~]# docker help
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (d ...
Posted by scottrad on Fri, 09 Aug 2019 04:01:22 -0700
Kubernetes: Deployment and ReplicaSet
Background
Deployment and ReplicaSet are two important objects in Kubernetes. This paper briefly discusses some differences and connections between them.
Two Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: deployment-gysl
spec:
replicas: 2
selector:
matchLabels:
app-1: nginx
app-2: busybox
template:
m ...
Posted by agulaid on Thu, 08 Aug 2019 05:33:12 -0700
Record a sentry upgrade history
Start at: My blog
cause
IOS colleagues said he found a bug in sentry. It was said that the debug file prompt was uploaded successfully because of the bug of 9.0.0, but the website found that there was no upload at all. So I started my upgrade.
Investigation and research
Because my Sentry is not only used on the server side, but also on the cli ...
Posted by ajfton on Wed, 07 Aug 2019 08:06:11 -0700
swarm basic configuration
Prepare three virtual machines, corresponding network conditions are as follows:
IP address
host name
Effect
172.18.74.26
manager
Management Node
172.18.74.29
g160402
worker
172.18.74.25
u180402
worker
Modify the host name according to the above conditions and add the parsing configuratio ...
Posted by ltoto on Mon, 05 Aug 2019 23:37:44 -0700
[Load Balancing LVS Series II] - LVS Basic Configuration
This series of articles outlines five common working modes of LVS, followed by a brief description of the working principle of LVS.
IPVSADM and IPVS
LVS is responsible for four-tier load balancing scheduling. When we define the scheduling rules of clusters, we need to use a management tool, ipvsadm. The rules defined by ipvsadm are ultimately i ...
Posted by dstefani on Sun, 04 Aug 2019 03:07:09 -0700
Distinguish different virtual hosts by domain name
1.1.1. What is a domain name
A domain name is a website.
www.baidu.com
www.taobao.com
www.jd.com
Tcp/ip
Dns Server: Resolve the domain name to an IP address.Save the mapping relationship between the domain name and ip.
First-level domain name:
Baidu.com
Taobao.com
Jd.com
Secondary domain name:
www.baidu.com
Image.baidu.com
Item.bai ...
Posted by netxfly on Tue, 30 Jul 2019 09:13:06 -0700
Enterprise Operations and Maintenance - Cache Forward Moving of LNMP Architecture Using OpenResty
Articles Catalogue
Introduction to OpenResty
Analog cache forward
Analysis
Stress testing
Introduction to OpenResty
OpenResty (also known as ngx_openresty) is a scalable Web platform based on NGINX, initiated by Chinese Zhang Yichun, which provides many high-quality third-party modules.
OpenRest ...
Posted by benz862 on Tue, 30 Jul 2019 02:35:41 -0700
Common front-end cross-domain request methods
Common front-end cross-domain solutions (full)
What is cross-domain?
Cross-domain refers to documents or scripts in one domain trying to request resources in another domain, where cross-domain is broad.
Broad cross-domain:
1. Resource jump: A link, redirection, form submission
2. Resource embedding: <link>, <script>, < ...
Posted by james2010 on Mon, 29 Jul 2019 07:42:18 -0700
v2ray nginx websocks tls cdn built in ubuntu
Preface
Step on the pit + memo, one-click configuration script depth, so use official links
Reference link
v2ray document
https://www.v2ray.com/chapter_00/install.html
nginx architecture
https://blog.csdn.net/fengfeng0328/article/details/82828224
Overall process
https://www.xpath.org/blog/ ...
Posted by sniped22 on Mon, 29 Jul 2019 06:19:37 -0700
k8s ingress principle and ingress-nginx deployment test
The previous article talked about service. This article is about ingress.
What is ingress?
The last article introduced service, which exposed three ways of service: Cluster ip, NodePort and LoadBalance. These three ways are provided in the service dimension. The function of service is embodied in two aspects. Within the cluster, it keeps track ...
Posted by foyer on Mon, 29 Jul 2019 03:49:50 -0700