Using Leader Selection in Kubernetes to realize high availability of components

In Kubernetes, Kube scheduler and Kube controller manager are usually deployed with multiple replicas to ensure high availability, while there is only one instance that is actually working. Here we use the leader selection mechanism to ensure that the leader is in working state, and after the leader is hung up, select a new leader from other no ...

Posted on Sat, 15 Feb 2020 11:28:58 -0800 by Canabalooza

K8S learning 003 -- using kubeadm to deploy the installation cluster

Article directory Preface 1: Environmental preparation 2: Cluster deployment process 2.1: set system initialization 2.1.1: three nodes initialize the system, showing only the operation of the master node 2.2:kubeadm deployment and installation 2.2.1: docker installation, both master and slave 2.2 ...

Posted on Fri, 14 Feb 2020 05:10:35 -0800 by stewart

k8s Deployment - Multi-node Deployment and Load Balancing Setup

Introduction to multi-node deployment In the production environment, we also consider the high availability of the platform when building the kubernetes platform. The kubenetes platform is managed by the master center and each node server is deployed and managed by the master server. In the previous articles, we built a single node (a master ...

Posted on Tue, 11 Feb 2020 10:02:12 -0800 by chu70077

kubernetes binary cluster deployment 4 -- deployment web interface

Key points: 1. Environment introduction 2. web interface deployment 1, Environment introduction: 1. As the last step of k8s cluster deployment, the previous blog address: Deployment 1 of kubernetes binary cluster - deployment of etcd storage component and flannel network component: https://blog.51cto.com/14475876/2470049 kubernetes binary cl ...

Posted on Tue, 11 Feb 2020 09:33:49 -0800 by linus

What the hell is "PLEG is not health" in Kubelet?

>Original link: Deep understanding of PLEG is not health in Kubelet In the Kubernetes community, PLEG is not health has been famous for a long time. As long as this error occurs, there is a high probability that the Node status will become NotReady. There are also a large number of community related issue s. Let me list them for you: https: ...

Posted on Mon, 10 Feb 2020 23:03:04 -0800 by Harry57

K8s Deployment--Introduction to k8s and etcd Cluster Creation

Introduction to Kubernetes Kubernetes is an open source container cluster management system for Google in 2014. Kubernetes is referred to as K8S.Kubernetes v1.0 was officially released in July 2015, and the latest stable version so far is v1.9 K8S is used to deploy, extend, and manage containerized applications. K8S provides a range of functi ...

Posted on Sun, 09 Feb 2020 12:36:28 -0800 by realestninja

K8S single master deployment four: Kubelet+kube-proxy

Server Role Assignment role address Install Components master 192.168.142.220 kube-apiserver kube-controller-manager kube-scheduler etcd node1 192.168.142.136 kubelet kube-proxy docker flannel etcd node2 192.168.142.132 kubelet kube-proxy docker flannel etcd I. Pre-deployment preparati ...

Posted on Tue, 04 Feb 2020 20:03:24 -0800 by ScratchyAnt

k8s security information (Secret) and configuration information (ConfigMap)

Secret secret is also a resource object in k8s. It is mainly used to store lightweight sensitive information, such as database user name and password, token, authentication key, etc. We can put this kind of sensitive information in the secret object. If it is a little inappropriate to expose them to the image or pod spec, it can be better c ...

Posted on Mon, 03 Feb 2020 00:24:36 -0800 by DwarV

Several ways to restart Kubernetes Pod

Preface In the process of using docker, we can use docker restart {container ﹣ ID} to restart the container, but there is no restart command in kubernetes (no kubectl restart {podname}). Sometimes our Pod is terminated unexpectedly, which leads to that we need to restart Pod, but there is no good way ...

Posted on Tue, 21 Jan 2020 00:34:24 -0800 by tippy_102

Physical Machine Installation minikube

Kubernetes (k8s) is an open source platform for automating container operations, based on which you can perform container deployment, resource scheduling, cluster expansion, and so on.If you've used the Docker deployment container before, you can think of the Docker as a component used at the bottom of Kubernetes, which is an upper-level encap ...

Posted on Mon, 20 Jan 2020 11:00:12 -0800 by jowatkins