Nginx dynamic and static PV persistent storage of Kubernetes 2

Next chapter Deployment of NFS Provisioner in Kubernetes to provide dynamic allocation of volumes for NFS (Part I): Please add a link description I. nginx uses nfs static PV 1. Static nfs-static-nginx-rc.yaml ##Cleaning up resources kubectl delete -f nfs-static-nginx-rc.yaml -n test cat >nfs-static-nginx-rc.yaml<<\EOF ##Create a name ...

Posted on Wed, 11 Dec 2019 02:23:03 -0500 by Hangston

Fabric 8io / kubernetes client easy to use

1. Create a default k8s client Config config = new ConfigBuilder().withMasterUrl("http://x.x.x.x:1234").build(); KubernetesClient client = new DefaultKubernetesClient(config); 2. Obtain the operation right of the target resource, and implement the object of the class as follows. client.namespaces() client.services() client.pod ...

Posted on Tue, 10 Dec 2019 16:52:11 -0500 by lucasmontan

Starter's Guide to SVG (Read, familiar with SVG structure)

The dry goods series articles are summarized below and feel good about ordering Star s https://github.com/qq449245884/xiaozhi Introduction to SVG SVG, Scalable Vector Graphics, is an XML application that can represent graphic information in a concise, portable form.At present, people are more and more interested in SVG.Most modern browsers can ...

Posted on Tue, 10 Dec 2019 15:55:32 -0500 by benpaxton777

android permission request framework

There are two different ways to use the encapsulated permission request framework, which can be used on demand. github entry. This article mainly explains how to quote and how to use it How to To get a Git project into your build: Step 1. Add the JitPack repository to your build file gradle maven sbt leiningen Add it in your ...

Posted on Tue, 10 Dec 2019 13:55:36 -0500 by Fireglo

Label printing based on Win service (template template template printing)

Recently, I have done several projects, and there is a demand for labeling products in process Basically, there is a card printer, and then the product information is printed on the label. And then the robot attaches the label to the product Label information includes text, QR code, barcode and so on. Generate QR code and barcode according t ...

Posted on Tue, 10 Dec 2019 09:46:54 -0500 by jerry_louise

Source code analysis of koa middleware of nodejs

Preface Last article express middleware of nodejs The implementation of express middleware has been explained in detail. At the same time, the source code of Connect, the framework of middleware, has been simply analyzed. It is also mentioned that express middleware is linear and koa middleware is onion. This article will talk about the middlew ...

Posted on Tue, 10 Dec 2019 09:41:55 -0500 by eaglelegend

Cluster Snapshot Practice in Distributed Graph Database Nebula Graph

1 Overview 1.1 Requirement Background Nebula Graph, a graphics database, will have a large amount of data and high frequency of business processing in the production environment. It will inevitably cause human, hardware or business processing errors in the actual operation. Some serious errors will cause the cluster to not function properly or ...

Posted on Tue, 10 Dec 2019 08:24:41 -0500 by Jeremysr

Spring Boot is the simplest way to integrate Shiro+JWT

brief introduction At present, most RESTful uses JWT for authorization verification. In Spring Boot, Shiro and JWT can be used for simple permission and authentication verification. There are many holes in the integration with Spring Boot. Combined with their own and common application scenarios, we developed the simplest integration method fas ...

Posted on Tue, 10 Dec 2019 01:24:50 -0500 by paulnaj

Introduction to orca: orca error handling

Project address: https://github.com/wlgq2/orca orca defines a set of error numbers, prompt messages and assertions. When an error occurs in a program, it will output error messages or terminate the program.In orca/base/error/ErrorInfo.h, you can define the error number as follows: namespace orca { namespace base { class ErrorInfo { public: ...

Posted on Mon, 09 Dec 2019 23:34:49 -0500 by Ehailey

Golang etcd series -- preliminary knowledge

etcd is a distributed and highly available consistency key storage system written by golang. It is a hot built-in service discovery and node consistency Middleware in Kubernetes(k8s) in the field of container arrangement. It is used to provide reliable distributed key value storage, configuration sharing, service discovery and other functions. ...

Posted on Mon, 09 Dec 2019 22:55:05 -0500 by berridgeab