kubernetes series of tutorials to learn the core concept of pod

Written in front The previous series of articles have introduced the kubernetes architecture, installation, upgrade and quick start. Readers have had a preliminary understanding and understanding of kubernetes through the practical operation of the article. Starting from this chapter, the basic concepts and core concepts in kubernetes are grad ...

Posted on Sat, 18 Jan 2020 07:47:38 -0500 by Valect

Traverse, search files and query file information

Traverse folders (folders in folders) Using OS. Walk (specify absolute path or relative path), you can put the folder in the folder into the folder All the documents are found import os for dirpath, dirnames,files in os.walk('./'): print(f'Discovery folder:{dirpath}') print(files) Among them ...

Posted on Sat, 18 Jan 2020 06:45:09 -0500 by ankit17_ag

centos7 installation process and host configuration

This article records the whole process of CentOS 7 64 bit installation on the virtual machine, which I downloaded for my future installation and use Download address: http://mirrors.aliyun.com/centos/7/isos/x86_64/ Download centos-7-x86_-dvd-1908.iso Configure the network environment For the next st ...

Posted on Sat, 18 Jan 2020 04:05:19 -0500 by hanji

TypeError: module object is not callable

File "C:\Users\Administrator\Documents\Mibot\oops\blinkserv.py", line 82, in __init__ self.serv = socket(AF_INET,SOCK_STREAM) TypeError: 'module' object is not callable Why does this error occur? I'm confused. What do you need to know to answer my question? #1 building An easy way to sol ...

Posted on Sat, 18 Jan 2020 01:07:37 -0500 by EGNJohn

redis pseudo cluster construction (no pit in pro test)

1, For the installation and deployment of the stand-alone version, the pseudo cluster only needs 1-8 steps before operation, and then browse to find: 2. For the installation and deployment of the stand-alone version - pseudo cluster, continue to build. If you need to set the password, please refer to step 10 1. Installation of basic tools yu ...

Posted on Fri, 17 Jan 2020 23:27:04 -0500 by show8bbs

haproxy is installed based on centos and Ubuntu

Ubuntu 18.04 apt installation 2.0.4Centos7.6 Yum Installation 1.8.14Centos7.6 Compile and install haproxy 2.0.12   <h6 id=1>Ubuntu 18.04 apt installation 2.0.4</h6> root@ubuntu:~# apt-get install software-properties-common#Install Common Packages Reading package lists... Done Building dependency tree Reading state informatio ...

Posted on Fri, 17 Jan 2020 11:27:02 -0500 by mafkeesxxx

Valid parentheses for stack classic title lee20. lee150 inverse Polish expression. lee71 simplifying unix paths

Valid parentheses for lee20 Given a string containing only '(', ')', '{', '}', '[', ']', it is used to determine whether the string is valid. Valid string needs to meet: The opening bracket must be closed with a closing bracket of the same type. The left parenthesis must be closed in the correct order ...

Posted on Fri, 17 Jan 2020 09:12:45 -0500 by bradkenyon

[Golang] the sword takes the side -- IoComplete ports

Preface At present, the main application area of golang is the back-end micro service. Although it is also applied in the business area, it is still a relatively small choice. Most of the service running environments are linux, and there are fewer applications of golang in windows. Because of special circumstances, the author has to use golang ...

Posted on Fri, 17 Jan 2020 06:54:21 -0500 by JoeZar

Bash scripting learning note 08: Functions

Official information: Shell Functions (Bash Reference Manual) brief introduction As we are Bash script programming learning note 06: conditional structure Finally, we should integrate some code blocks that may be executed repeatedly to avoid overstaffing the code. Function exists to solve this problem. When defining a function, we can integra ...

Posted on Fri, 17 Jan 2020 05:55:03 -0500 by CookieD89

Transplantation of Openwrt1806 on Quanzhi H3 (Ginkgo biloba icore5)

Written in the front H3 has many development boards for reference, mainly including nanopi, orange PI, etc. most of these development boards support debian systems. For the purpose of learning, they want to run an openwrt. Openwrt18.06 has supported many boards of Quanzhi. Here we mainly refer to nanopi-m1-plus Configuration and principle of op ...

Posted on Fri, 17 Jan 2020 05:46:32 -0500 by AffApprentice