Mysql data synchronization to elastic search in Docker environment
Written in front
There are generally two principles to implement mysql data synchronization es:
The synchronization is performed through the regular query of sql statement.
elasticsearch-jdbc
[logstash JDBC] official( https://www.elastic.co/blog/l...
Use binlog for synchronization
Big God's open source project go-mysql-elasticsearch
T ...
Added by Pinkmischief on Wed, 27 Nov 2019 18:47:58 +0200
Dockerfile builds mysql image and initializes database data
Reference resources: https://www.jb51.net/article/115422.htm
1) operate in the CentOS7 environment, create the folder mymy, and create a new file Dockerfile, setup.sh, schema.sql, privileges.sql
mkdir mymy
cd mymy
touch Dockerfile
touch setup.sh
touch schema.sql
touch privileges.sql
Dockerfile:
FROM mysql:5.7
ENV MYSQL_ALLOW_EMPTY_P ...
Added by thefreebielife on Wed, 20 Nov 2019 23:00:32 +0200
docker quickly builds distributed crawler pyspider
brief introduction
pyspider is a powerful Web crawler framework in Python, and supports distributed architecture.
Why use docker to build pyspider
When installing pyspider, you have crawled through some pits. For example, when using pip install pyspider, the version of Python is required to be 3.6 or less, because async is already the keyword ...
Added by uniboy86 on Mon, 18 Nov 2019 20:48:04 +0200
Easily run Argo Workflow in a Serverless Kubernetes cluster
Guide reading
Argo is an open-source workflow tool based on kubernetes, which realizes the control of workflow and the running of tasks. At present, Alibaba cloud container service ACK cluster already supports the deployment and scheduling of workflow. Here we introduce that if Argo is used in ASK(Serverless Kubernetes) cluster, you can run wo ...
Added by kevbev16 on Mon, 18 Nov 2019 06:51:42 +0200
012.Kubernetes Binary Deployment worker node Flannel
1. Deploy flannel
1.1 Install flannel
kubernetes requires that nodes in the cluster, including master nodes, be interconnected through the Pod segment.flannel uses vxlan technology to create an inter-operable od network for each node, using UDP 8472 as the port.
The first time flanneld starts, it gets the configured PD segment information ...
Added by washbucket on Sun, 17 Nov 2019 23:23:28 +0200
007.Kubernetes binary deployment Flannel
I. deployment of flannel
1.1 installation of flannel
kubernetes requires that all nodes in the cluster (including the master node) can be interconnected through the Pod network segment. flannel uses vxlan technology to create an interoperable Pod network for each node. The port used is UDP 8472.
When flanneld is started for the first time, ...
Added by PHPycho on Fri, 15 Nov 2019 14:41:54 +0200
pod status always shows ContainerCreating
Today, when learning kubernetes, I started an msyql service and ran the command
[root@liuxuchong kubernetes]# kubectl create -f mysql-rc.yaml
replicationcontroller "mysql" created
[root@liuxuchong kubernetes]# kubectl get all
NAME DESIRED CURRENT READY AGE
rc/mysql 1 1 0 6m
NAME CLUSTER-IP ...
Added by tjohnson_nb on Sun, 10 Nov 2019 17:22:12 +0200
MySQL 5.6 created data table 1071 error, cause analysis and Solutions
Zero. Background of the problem
When you first learned SpringBoot + Angular, the database software still used MySQL, except that this time the MySQL service was no longer built using XAMPP, but a more convenient Docker was used to provide the service.
1. Reproduction of Problems
When you configure your database, after you've set up your envi ...
Added by JRS on Sat, 09 Nov 2019 09:25:54 +0200
Ubuntu 16.04 build oracle environment for golang development
Mirror version
Search oracle on docker hub and find a xe 11 image.
docker pull deepdiver/docker-oracle-xe-11g
The image size is about 1G, and it is about 2.7GB after decompression.
Function
docker run -d -p 1522:22 -p 1521:1521 --name oracle deepdiver/docker-oracle-xe-11g
Use the above command to run oracle. Wait about 1 minute, use ssh root ...
Added by greip on Fri, 08 Nov 2019 19:23:14 +0200
Building a continuous deployment on containers and best practices
To understand continuous integration and deployment, you need to understand its components and the relationships between them.The diagram below is the most concise and clear diagram of continuous deployment and integration I've ever seen.
picture source
Continuous deployment:
As shown in the diagram, the development process is as follows:Progr ...
Added by floR on Fri, 08 Nov 2019 05:03:41 +0200