# 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

Using kubeadm to deploy multiple master k8s clusters

Machine initialization, related parameters Install cfssl tool on the master machine Configure ca root certificate Generate client, client certificate Generate certificate of peer and server (used by etcd) Notes on certificate Running etcd in systemd mode Configure kubelet Initialize node master1 Install kubetnets cluste ...

Posted on Thu, 02 Jan 2020 00:43:17 -0800 by Tonata

kubernetes v1.8 master single node uncertified deployment

master node deployment Install etcd yum -y install etcd vim /etc/etcd/etcd.conf Modify the listening address of these two items to 0.0.0.0 ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:2379" ETCD_ADVERTISE_CLIENT_URLS="http://0.0.0.0:2379" systemctl enable etcd systemctl start etcd Install Kube apiserver mkdir /etc/kuber ...

Posted on Tue, 31 Dec 2019 19:35:19 -0800 by sdat1333

How to use CPFS storage volume service in Alibaba cloud ACK cluster

Introduction: CPFS (cloud parallel file system) is a kind of parallel file system. CPFS data is stored in multiple data nodes in the cluster and can be accessed by multiple clients at the same time, so it can provide high IOPS, high throughput and low latency data storage services for large-scale high-performance computer cluster. CPFS detailed ...

Posted on Tue, 24 Dec 2019 23:37:46 -0800 by cemeteryridge

Install Kubernetes cluster on CentOS and configure Kubernetes master node

The installation configuration runs the master node of Kubernetes, which includes the database of etcd, that is, etcd is not separated from the master node, and is used for the installation of odd master nodes. 1. Generate the warehouse configuration file of kubernets # cat <<EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Ku ...

Posted on Tue, 03 Dec 2019 15:35:30 -0800 by jjacquay712