Flink 1.10 principle and practice of native kubernetes

Author: Zhou Kaibo (baoniu) After a long call, today Kubernetes is in full swing, Flink community finally provides native support for Kubernetes in version 1.10, that is Native Kubernetes Integration . However, it is only Beta version, and it is expected to provide full support in version 1.11. We know that in Flink 1.9 and earlier versions, i ...

Posted on Thu, 20 Feb 2020 05:54:40 -0500 by SetToLoki

k8s Expired Certificate Solution

Introduction to the environment: #centos7.7 #kubernetes 1.16.0 #Step 1: View the certificate expiration date (one year validity period) openssl x509 -in /etc/kubernetes/pki/apiserver.crt -noout -text |grep ' Not '             Not Before: May 24 03:31:50 2019 GMT             Not After : May 23 03:31:50 2020 GMT #Step 2: Download 1.16.0 source ...

Posted on Tue, 18 Feb 2020 12:05:10 -0500 by Dirtbagz89

pv and pvc practice of k8s persistent storage

In a previous article on k8s deploying zabbix monitoring system, we used hostPath to persist mysql data and simple use of emptyDir.If we want to deploy a production-level application on k8s, it is clear that using hostPath and emptyDir to persist our data is not possible for data persistence. We also need more reliable storage to hold the pers ...

Posted on Mon, 17 Feb 2020 18:15:21 -0500 by DeathStar

sed Common Commands

sed is a text processing tool that allows you to replace, add, select, and so on. formatsed option action file name Replace a field in a file with sedFor example, if you write a yaml file with a field in the middle that needs to be modified, you can use sed to replace it on the outside command lineFormat: sed's/original/new/filename [root@zhao ...

Posted on Mon, 17 Feb 2020 14:24:12 -0500 by mubashir

When SRS encounters K8s: how to build a massive streaming source station?

Photo by Oscar Ivan Esquivel Arteaga on Unsplash   This article is from the official wiki (https://github.com/ossrs/srs/wiki/v4_CN_K8s) of the live streaming cluster SRS, which is authorized and released by the founder of SRS, Yang Jian.   Article / Yang founded   When SRS encounters K8s: quickly build a high concurrency live br ...

Posted on Sun, 16 Feb 2020 23:56:47 -0500 by True`Logic

Kubernetes command line tool--kubectl management

An overview of kubectl Kubectl is a command line interface for running commands against the Kubernetes cluster.The configuration file for Kubectl is in the $HOME/.kube directory.We can specify a kubeconfig file in another location by setting the KUBECONFIG environment variable or the command parameter, kubeconfig. kubectl syntax 1. Run the com ...

Posted on Sat, 15 Feb 2020 13:10:16 -0500 by wrapper

#IT star is not a dream; affinity polling of distributed load balancing algorithm

No matter in the early load balancer or in the current client based load balancing of microservices, there is a basic polling algorithm, that is, requests are evenly distributed to multiple machines. Today, I will talk about how kube proxy implements the core data structure of affinity polling. I will learn about the implementation of affinity ...

Posted on Fri, 14 Feb 2020 06:39:57 -0500 by EddieFoyJr

Common commands for the kubectl command line tool of K8s

kubectl management Kubectl is a command-line tool for managing the k8s cluster and is passed to apiserver in the generated json format for creation, viewing, and management Note: We need to use the K8s multi-node deployment environment where we deployed it before. If you haven't already deployed it, you can refer to my previous article: https: ...

Posted on Wed, 12 Feb 2020 13:17:11 -0500 by udendra

Kubernetes StatefulSet for stateful service data persistence (automatic creation of PVC)

1. Kubernetes Stateless Service VS Stateful Service 1) Kubernetes Stateless Service Kubernetes stateless service characteristics:1) means that instances running the service do not store data that needs to be persisted locally and that multiple instances respond to the same request with identical results;2) Multiple instances can share the sam ...

Posted on Wed, 12 Feb 2020 12:35:39 -0500 by Tjeuten

Stateful set (stateful service) implementation of k8s

Statefullset introduction Problems encountered: The Pod created by Deployment is stateless. After a Volume is hung, if the Pod is hung, Replication Controller will run another to ensure availability. However, because the Pod is stateless, the relationship between the Pod and the previous Volume is broken when the Pod is hung, and the new Pod c ...

Posted on Wed, 12 Feb 2020 07:21:10 -0500 by chowdary