k8s highly available binary deployment using the Calico network scheme

Server Planning 192.168.30.24 k8s-master1 192.168.30.25 k8s-master2 192.168.30.26 k8s-node1 192.168.30.30 k8s-node2 192.168.30.31 k8s-node3 192.168.30.32 k8s-slb1 192.168.30.33 k8s-slb2 Production Environment High Availability ClusterSpecification: Configure 3/5/7 master, 3/5/7 etcd cluster, 3/5/7 nginx to load balance api, 1 slb to act as HA ...

Posted on Mon, 30 Mar 2020 20:39:03 -0700 by poisa

Summary of problems in k8s starting container application

1. Create a deployment of nginx, and view the ip information allocated by the pod. ping is used on the node node where the pod is located, but not on the master node Analysis: the first thing I think about is that flanneld is not running normally on two nodes 1. View the network card information of flanneld [root@k8s2-1 ~]# ifconfig docker0: f ...

Posted on Sat, 14 Mar 2020 08:45:29 -0700 by timbo6585

#IT star is not a dream

Eviction management is a mechanism of kubelet's self-protection. When resources are scarce, the system's resource level can be kept within a reasonable range by actively evicting part of the Pod through thresholds and policies. The official document of its own policies has been written in detail. Today, I just look at some of its design in the ...

Posted on Tue, 25 Feb 2020 03:27:44 -0800 by Ironmann00

Key implementation of kubernetes Kubelet expulsion management

Eviction management is a mechanism of kubelet's self-protection. When resources are scarce, the system's resource level can be kept within a reasonable range by actively evicting part of the Pod through thresholds and policies. The official document of its own policies has been written in detail. Today, I just look at some of its design in the ...

Posted on Mon, 24 Feb 2020 21:58:20 -0800 by vasilis

# IT Stars Are Not Dreams # Illustrate the Implementation Principle of kubernetes Resource QOS Mechanism

QOS is a resource protection mechanism in k8s. It is mainly a control technology for incompressible resources such as memory, such as by constructing OOM scores for different Pods and containers in memory, and assisted by the kernel's policy, so that when the node has insufficient memory resources, the kernel can kill which priority is lower a ...

Posted on Wed, 19 Feb 2020 09:20:36 -0800 by Lord Brar

The implementation of kubernetes resource extension mechanism

At present, k8s mainly supports two kinds of resources: CPU and memory. In order to support the scheduling and allocation of other types of hardware resources that users need to allocate on demand, k8s implements the device plugin framework for resource integration of other types of hardware. For example, now machine learning uses GPU and other ...

Posted on Sun, 16 Feb 2020 19:54:09 -0800 by twizler

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 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 learning notes: installation and deployment of kubernetes (binary package mode)

Installation and deployment of kubernetes (binary package mode) 1, Introduction to installation and deployment 2, kubernetes (binary package mode) installation and deployment 1. Deploy etcd cluster 1.1 generate etcd certificate 1.2 download / decompress etcd binary package 1.3 create etcd configura ...

Posted on Mon, 20 Jan 2020 07:02:38 -0800 by GooberDLX

pod Health Check Details (liveness, readiness, rolling update)

Environmental introduction Host IP Address service master 192.168.1.21 k8s+httpd+nginx node01 192.168.1.22 k8s node02 192.168.1.23 k8s Based on [ https://blog.51cto.com/14320361/2464655 The experiment continues 1. Pod's liveness and readiness probes Kubelet uses a live probe to determine when to restart the container.For example, w ...

Posted on Mon, 13 Jan 2020 11:47:39 -0800 by releasedj