kubeernetes binary cluster deployment 1 - etcd component, flannel component
Main points:
1. Environment Package Preparation
2. Deploy etcd storage
3. Deploy flannel network components
1. Environmental preparation:
Host
Software to be installed
master(192.168.109.138)
kube-apiserver,kube-controller-manager,kube-scheduler,etcd
node02(192.168.109.131)
kubelet,kube-proxy,docker ,flannel ,etcd
node02(192.168.109.13 ...
Posted by ale1981 on Mon, 10 Feb 2020 17:50:34 +0100
Fetch encapsulation method
What is Fetch?
Fetch is a request interface similar to the AJax request function, and only the browser method. On the one hand, fetch is to alleviate the messy implementation of native XMLHTTPRequest. Here is an example:
To implement Ajax requests with XHR objects:
var xhr = new XMLHttpRequest();
xhr.open('GET', ur ...
Posted by sheephat on Sun, 09 Feb 2020 20:47:49 +0100
ElasticSearch index details
Still using mysql for full-text indexing? Try elastic search!
Note: the following documents are based on elasticsearch version 7. X, which is different from the old version
1. Format description
The data interaction interface of elasticSearch is based on http protocol, and the basic format is as fol ...
Posted by ErcFrtz on Sun, 09 Feb 2020 11:55:43 +0100
Android Banner+Glide realizes offline loading of carousel chart and data cache
First of all, add the following dependencies to build.gradle in app, banner is the frame of carousel chart, glide is the frame of picture loading.
implementation 'com.youth.banner:banner:1.4.9'
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler ...
Posted by cyber_ghost on Sat, 08 Feb 2020 13:20:36 +0100
Python crawler tutorial - Crawler 5K resolution ultra clear beautiful wallpaper source code
brief introduction
In fact, the choice of wallpaper can largely see the inner world of the computer owner. Some people like the scenery, some people like the starry sky, some people like beautiful women, some people like animals. However, one day you will have aesthetic fatigue, but when you decide ...
Posted by delmardata on Fri, 07 Feb 2020 15:40:21 +0100
Ajax crawls to the top of today's street shooting improvement -- various minefield solutions including data:none problem
Ajax crawls to the top of today's street shooting improvement -- various minefield solutions including data:none problem
This BUG is self-taught crawler to prepare for big data. Due to the progress of the times, all websites have strengthened anti climbing measures, and the teaching of books in the le ...
Posted by kaoskorruption on Fri, 07 Feb 2020 10:19:03 +0100
Node.js learning Note 6 - network request and API call
Network requests and API calls
It will take about 10 minutes to read this blog
Network programming is a very important part of web development. JS, as the closest part of web development, is very powerful in network programming. Then Node ecology also provides various convenient tools to send and rece ...
Posted by live_ex3me on Fri, 07 Feb 2020 06:44:22 +0100
[vue] learning note 8: vue resource implements get, post and JSON requests
Vue resource plug-in open source address https://github.com/pagekit/vue-resource
ps: in addition to Vue resource, the third-party package of axios can also be used to implement data request
In the previous study, how to initiate data request?
Common data request types? get post jsonp
Implementati ...
Posted by SpaceLincoln on Sun, 02 Feb 2020 11:32:20 +0100
SheetJS pure front end reading excel js-xlsx.js framework
Article directory
introduce
Compatibility
Usage method
Implementation ideas
File reference
Code examples and details
Development attention
Generate excel file and download
introduce
According to the needs of the project, we need to do a pure front-end function to read excel files. After evalua ...
Posted by Skyphoxx on Sat, 01 Feb 2020 10:09:39 +0100
Struts2 (X. display photo list on modification page and add delete photo function)
1, Show photo list function
The general processing method in struts 2:First, in action, prepare the data and go to jsp to display
1.UserAction
/**
* Click modify user to jump to modify user interface
* Prepare photos for users to display in modify.jsp
* @return
* @throws SQLException
* @throws ClassNotFoundException
...
Posted by bruceleejr on Fri, 31 Jan 2020 18:08:49 +0100