Using Istio for multi cluster deployment management: single control plane Gateway connection topology

In the single control plane topology, multiple Kubernetes clusters use a single Istio control plane running on one cluster. Pilot on the control plane manages the services on the local and remote clusters and configures the invoke sidecar agent for all clusters. Cluster aware service routing Istio 1.1 introduces the cluster aware service rou ...

Posted by reece_1989 on Thu, 04 Jun 2020 21:55:25 -0700

Shallow neural network (Python Minist handwritten dataset)

Article catalog Infrastructure of the model Loss function and optimization function Training model Test accuracy Run print accuracy and save model Dataset: minist handwritten data set, gray-scale image with numbers of 0-9 and size of 28 * 28. Implementation of loading dataset Code: train_ts = tv.d ...

Posted by sharal on Thu, 04 Jun 2020 20:47:16 -0700

Open VPN is easy to help you realize!

preface: In view of the need for home-based work during the epidemic, remote work is necessary. At present, the simplest way is to realize it through the direct port mapping of the company's route, but there are inevitably security risks, For this reason, the editor temporarily decided to build openvpn to realize this function. Speaking of ope ...

Posted by danwatt on Wed, 03 Jun 2020 22:06:39 -0700

iscsi server installation and configuration

Installation and configuration of iscsi server 1, Principle ISCSI (Internet small computer system interface) It supports sending commands from the client to the storage device on the remote server through ip. The default port is 3260/tcp. 1. iscsi initiator: the client 2. iscsi target: remote shared disk provided b ...

Posted by jrobles on Wed, 03 Jun 2020 09:52:01 -0700

Secondary encapsulation of paging data source and my current understanding

To be honest, the definition of paging data source is too tedious, so it's encapsulated twice, without any intrusion, clean and neat. It's preserved for the time being, maybe it can be used in my life.. package com.lk.care.respository import androidx.paging.DataSource import androidx.paging.PageKeyedDataSource import androidx.paging.PagedList ...

Posted by sy-co on Wed, 03 Jun 2020 06:58:43 -0700

Detectron benchmark 12

By Facebook research Compile Flin Source: Github Benchmarking Here, we benchmark the training speed of Mask R-CNN in detectron 2 based on some other popular open source implementations of Mask R-CNN. set up Hardware: 8 NVIDIA V100 with NVLink. Software: Python 3.7, CUDA 10.0, cuDNN 7.6.4, PyTorch 1.3.0 (link( https://download.pytorch.org/ ...

Posted by johnkelly on Tue, 02 Jun 2020 21:27:10 -0700

Getting started with kubernetes and going into the real world

Write before The previous series of articles have introduced the architecture, installation, upgrade and quick start of kubernetes. Readers have a preliminary understanding of kubernetes through the implementation of this article. Starting from this chapter, the basic concepts and core concepts of kubernetes are gradually introduced, including ...

Posted by ahmed17 on Tue, 02 Jun 2020 05:32:28 -0700

Comparison of updateStateByKey and mapWithState

What is a state management function The state management functions in Spark Streaming, including updateStateByKey and mapWithState, are used to count changes in the state of the global key.They reduce by key with data from DStream, then accumulate data from each batch as new data information enters or updates.To keep users in whatever shape t ...

Posted by w00kie on Mon, 01 Jun 2020 20:53:52 -0700

Modify the network card name in linux

How to modify the network card name in linux Use the ip add or ip link command to view the network interface details [root@centos6 ~]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet ...

Posted by detalab on Mon, 01 Jun 2020 08:46:58 -0700

LVS load sharing (NAT mode) infrastructure

1. NAT mode topology and working principle There is a scheduler in front of a group of servers, which are connected through Switch/HUB. These servers provide the same network service and content, that is, no matter which server the request is sent to, the execution result is the same. The content of the service can be copied to the local hard d ...

Posted by Archadian on Mon, 01 Jun 2020 01:52:51 -0700