How to Use set in Go

Today let's talk about how Go uses set. This article will cover set and bitset data structures. The Data Structure of Go There are not many built-in data structures in Go. In our work, the two most commonly used data structures are slice and map, namely slicing and mapping. In fact, there are arrays in Go. The bottom of slices is arrays, but be ...

Posted by jdubwelch on Thu, 01 Aug 2019 04:23:53 +0200

Integrated use of SpringBoot RabbitMQ

premise Last time I wrote an article, Integrated Use of SpringBoot Kafka And read a lot, so think about integrating several other MQ s with SpringBoot. Here are four popular MQ s: Write an integrated article with SpringBoot later. Install RabbitMQ Some environments are built directly in Mac because of a Mac change, but installing Rabbi ...

Posted by eva21 on Wed, 31 Jul 2019 20:57:52 +0200

Containers

[TOC] Containers are one or a group of applications that run independently.Docker containers are created by Docker mirroring.The relationship between containers and mirrors is similar to objects and classes in object-oriented programming. [info] Container names for the following commands can be replaced with container IDS operation # Create a ...

Posted by Hitwalker on Tue, 30 Jul 2019 21:56:03 +0200

Kubernetes Cluster Construction: Based on Kubeadm

First, environmental preparation * K8S version 15.1 * Docker version supports up to 18.06.1 Second, Docker Environment Construction and Replacement 1. Clear the original Docker environment, the original version is the latest version yum remove docker \ docker-client \ ...

Posted by tmbrown on Sun, 28 Jul 2019 07:48:15 +0200

Using Kube builder to develop kubernetes CRD

Original address Extending kubernetes is the two most commonly used and most needed things to master: custom resources CRD and adminsion web hook. This article teaches you how to master CRD development in 10 minutes. kubernetes allows users to customize their own resource objects, just like deployment stateful settings, which are widely used. F ...

Posted by freshneco on Sat, 27 Jul 2019 09:20:43 +0200

Registry Construction Practice

1. Building Private registry 1. Regisry Mirror Transfer Test host ip: 192.168.192.225 (Intranet Machine)With the help of other machines that can access the public networkDocker search registry and docker save-o. / registry. tar Copy to 192.168.192.225 machine docker load-i registry.tar to transfer the docker image of registry Label:[root@node1 ...

Posted by illuz1on on Tue, 23 Jul 2019 21:17:41 +0200

Traffic Gray Level and Version Management of Knative Service

This paper mainly introduces the traffic gray level of Knative Serving, and demonstrates how to create different Revisions and how to scale the traffic gray level among different Revisions through a rest-api example. Deploy rest-api v1 Code Before testing, we need to write a rest-api code and be able to distinguish between different version ...

Posted by benphelps on Mon, 22 Jul 2019 05:59:29 +0200

Doker from Introduction to Actual Warfare-Actual Warfare Chapter

Preface This is an article I wrote after three weeks of spare time study. My understanding of docker is still at the beginning stage. I hope this article can help some friends who want to learn docker get started quickly. The exercises and actual combat codes are in the github repository. If my article can help you, you can give it to me. docke ...

Posted by Senate on Sun, 07 Jul 2019 03:36:06 +0200

How to Start LinuxKit on MacOS Xhyve Engine

On Dockercon 2017, Linux Kit, an architecture that creates the smallest Linux OS image in a container, was released. Does that sound cool? Several clouds I saw an article on the Internet [about starting LinuxKit on Mac OS with Xhyve]. The best way to learn the tool is to make the best use of it. The author of the original article went back to A ...

Posted by tim on Thu, 04 Jul 2019 00:46:53 +0200

Implementing cicd by installing Jenkins in kubernetes cluster

I. Installation of Jenkins 1. Installing Storage Server Find a server to build an nfs server. See Ubuntu 16.04 Installation nfs > for details. System: Ubuntu 16.04 IP: 172.18.1.13 apt install nfs-common nfs-kernel-server -y #Configuration mount information cat /etc/exports /data/k8s *(rw,sync,no_root_squash) #Add permissions to directorie ...

Posted by maxrisc on Wed, 03 Jul 2019 22:01:50 +0200