k8s~Implementation of adding ingress to a service

Reasons for ingress ClusterIP can only be accessed within a cluster With NodePort, the test environment works fine, and when hundreds of services are running in a cluster, port management for NodePort is a disaster. The LoadBalance approach is limited to cloud platforms, and ELB s are typically deployed on cloud platforms at additional cost. ...

Posted by boon4376 on Sat, 18 Jan 2020 17:45:48 -0800

Sharding sphere version 4.0.0-rc1 is divided into annual tables (later optimization)

1. Sharding sphere version 4.0.0-rc1 is divided into annual tables (to be optimized later) 1.1. overview As for the tables of LogShardingAlgorithm in the previous article, I used to initialize them when I called for the first time. Although this can realize the function, I would use this if judgment every time I called. Although the performance ...

Posted by nubby on Fri, 17 Jan 2020 22:01:28 -0800

A quick way to confuse beginners with Android

A fast way to confuse small whites for Android Why confuse Start confusing step one Several commands related to rules that keep relevant elements out of confusion are highlighted first: Fast confusion? What if the relying non-mainstream open source library authors don't mention anything about confu ...

Posted by KevMull on Fri, 17 Jan 2020 19:01:00 -0800

Record a detailed installation of kubernetes and istio

Written in front First, let's talk about my machine configuration, the hot naked machine. There are three configurations as follows 10.20.1.103 4C 8G disk 50G node4 master centos7 10.20.1.104 4C 8G disk 50G node5 node centos7 10.20.1.105 4C 8G disk 50G node6 node centos7 My installation method is ba ...

Posted by blaster_master on Fri, 17 Jan 2020 02:09:07 -0800

Springboot unit test@

In computer programming, unit testing is a software testing method, which is used to test a single unit of source code, a collection of one or more computer program modules, and related control data, use process and operation process to determine whether they are suitable for use. In short, when we are doing unit tests, we only test one code un ...

Posted by anthonydamasco on Thu, 16 Jan 2020 07:37:32 -0800

MVC development mode and the use of Smarty template engine

Linux global installation composer Switch the directory to the / usr/local/bin / directory cd /usr/local/bin/ Download composer in bin directory curl -sS https://getcomposer.org/installer | php View composer through composer.phar -v Change to Chinese image composer.phar config -g repo.packagist composer https://packagist.phpcompo ...

Posted by pbs on Thu, 16 Jan 2020 00:22:31 -0800

How do I view all foreign keys for a table or column?

stay MySQL How to get a list of all foreign key constraints to a specific table? Specific columns? This and The Oracle problem Same, but for MySQL. #1 building Post old answers to add some useful information. I have a similar problem, but I also want to look at constraint'u type and referred t ...

Posted by Bike Racer on Mon, 13 Jan 2020 18:04:15 -0800

Fastdfs distributed file system installation configuration ubuntu

** Installation and configuration of Fastdfs in Ubuntu environment ** FastDFS [1]: Contents: I. Preface 2, FastDFS introduction 3, FastDFS download and installation 4, Configure tracker and storage Five, test Six, summary1, Foreword: This paper implements the installation and test of FastDFS System en ...

Posted by JonathanS on Mon, 13 Jan 2020 04:49:29 -0800

0113 spring scheduled tasks and asynchronous thread pool

0113 asynchronous method and timing task of spring background spring has a lot of content, and the general knowledge must be systematically learned, but some edge technology points are also very applicable in the actual work; here is an introduction and practice one by one. Asynchronous thread pool Scenario: the distribution task is separate ...

Posted by kryles on Sun, 12 Jan 2020 23:04:03 -0800

Pthon Beginner 6: Pthon Dictionary Details

Dictionaries in Python provide a flexible way to access and organize data A dictionary is a collection of values Dictionary indexes can be of different data types, not just integers, but also strings Dictionary indexes are called keys, and the values associated with keys are called key-value pairs (sim ...

Posted by susi on Sun, 12 Jan 2020 19:23:33 -0800