Kubernetes Service's "Stateful Service Running Single Instance"

target Create a PV in your environment Create a Deployment for MySQl Exposing MySQL to other pod s in the cluster by DNS name Before the beginning You need a Kubernetes cluster, a kubectl command-line tool that can connect to the cluster. If you don't have a cluster, you can use Minikube To create. We will create a PV (Persistent Volume) for ...

Posted by stringman on Sat, 15 Jun 2019 05:50:34 +0200

Generate certificates for WEB servers with openssl (self-signed CA certificates, server certificates)

Generate certificates for WEB servers with openssl (self-signed CA certificates, server certificates) Source: https://www.cnblogs.com/osnosn/p/10608455.html Come from osnosn's blog Written in: 2019-03-28. Do not want to use self-signed certificate, want to apply for a free server certificate online, see this article: Apply for Freessl Server C ...

Posted by rid243 on Wed, 15 May 2019 13:31:28 +0200

Talk about ZenPing of elasticsearch

order This paper mainly studies ZenPing of elasticsearch. ZenPing elasticsearch-7.0.0/server/src/main/java/org/elasticsearch/discovery/zen/ZenPing.java public interface ZenPing extends Releasable { void start(); void ping(Consumer<PingCollection> resultsConsumer, TimeValue timeout); class PingResponse implements Writeable { ...

Posted by sebmaurer on Sat, 11 May 2019 16:11:55 +0200

OKHttp3 Part Source Reading

When we want to integrate OKHttp3 into our project, we need to use the OkHttpClient.Builder() method to create an instance of OkHttpClient, which contains the following attributes: final Dispatcher dispatcher; final Proxy proxy; final List<Protocol> protocols; final List<ConnectionSpec> connectionSpecs; fin ...

Posted by sribala on Sat, 11 May 2019 00:48:53 +0200

Source code analysis of android okhttp

okhttp, a powerful development contribution of Square, is now the mainstream Android network framework. Now let's look at this framework and explore its source code. compile 'com.squareup.okhttp3:okhttp:3.8.0' The version we analyzed was 3.8.0. public class OkHttpClient implements Cloneable, Call.Factory, WebSocket.Factory ...

Posted by Evoke on Mon, 06 May 2019 06:15:03 +0200