How Kubernetes Controller Manager works

Original text connection: https://blog.ihypo.net/15763910382218.html This article is based on reading the source code of Kubernetes v1.16. The article has a certain source code, but I will try to describe it clearly through the drawings In the Kubernetes Master node, there are three important components: ApiServer, ControllerManager and Sched ...

Posted by Arrow on Mon, 01 Nov 2021 08:01:37 +0100

pod troubleshooting of k8s operation and maintenance

pod troubleshooting of k8s operation and maintenance K8S is an open source application for managing container applications on multiple hosts in the cloud platform. Kubernetes aims to make deploying container applications simple and efficient K8S Core advantages of: 1,be based on yaml The file realizes the automatic creation and deletion of ...

Posted by DJ_CARO on Mon, 01 Nov 2021 07:01:12 +0100

k8s log collection and deployment efk elastic search + fluent D + kibana

k8s log collection and deployment efk elastic search + fluent D + kibana After the k8s cluster is built, because the pods are distributed in different node s, the log viewing becomes more complicated. When the number of pods is small, you can query the log through the log command provided by kubectl. With the increase of the number of pods, ...

Posted by pestilence669 on Tue, 26 Oct 2021 07:14:08 +0200

Enterprise operation and maintenance practice -- k8s learning notes and k8s scheduling

1. Introduction to kubernetes dispatching The scheduler uses kubernetes' watch mechanism to discover newly created pods in the cluster that have not yet been scheduled to nodes. The scheduler will schedule each unscheduled Pod found to run on a suitable Node. Kube scheduler is the default scheduler for Kubernetes clusters and is part of the c ...

Posted by jakebrewer1 on Mon, 25 Oct 2021 06:12:18 +0200

k8s replicaset controller analysis - initialization and startup analysis

replicaset controller analysis Introduction to replicaset controller Replicaset controller is one of many controllers in Kube controller manager component. It is the controller of replicaset resource object. It monitors replicaset and pod resources. When these two resources change, it will trigger the replicaset controller to tune the corresp ...

Posted by Haraldur1234 on Sun, 24 Oct 2021 07:33:50 +0200

Enterprise operation and maintenance practice --k8s learning notes progress encryption, authentication and address rewriting

1. Introduction to ingress service A global load balancing Service set to proxy different backend services is the Ingress Service in Kubernetes. Ingress consists of two parts: Ingress controller and ingress service. The Ingress Controller will provide corresponding proxy capabilities according to the Ingress object you define. Various revers ...

Posted by m!tCh on Sat, 23 Oct 2021 04:14:31 +0200

Container principle (understand layerID, diffID, chainID, cache ID)

reference resources Docker core principle: image and containerLayerid diffid chainid cacheid relationship in docker file Overview Image directory and file description /var/lib/docker/image/overlay2 directory distribution directory Diffid by digest saves the mapping relationship between digest (layerid) - > diffidV2metadata by ...

Posted by emrys404 on Thu, 14 Oct 2021 08:03:48 +0200

Obtain the real IP address of the client after envoy proxy

When envoy is used as the front-end agent, the acquisition of user IP is very important. Generally, the way to obtain IP is different. They are obtained through the X-Forward-For, X-Real-IP or Remote addr attributes in the Header, but what if you ensure that the IP that envoy can obtain is the real user IP? Continue to decrypt this article! Co ...

Posted by ravegti on Thu, 14 Oct 2021 06:42:31 +0200

Kubernetes Pod introduction Pod scheduling

preface This is the sixth chapter of Kubernetes. We must build up the environment. It seems that we can't solve the problem. We must fight in practice. Kubernetes series: Introduction to Kubernetes Kubernetes environment construction Introduction to kubernetes kubectl Kubernetes pod Introduction (-) Introduction to kubernetes pod (II) - ...

Posted by crob611 on Wed, 22 Sep 2021 00:56:20 +0200

k8sPod introduction and configuration

Introduction to Pod Structure of Pod Each Pod contains one or more containers, which can be divided into two categories:The number of containers where the user program is located can be more or less.Pause container, which is a root container for each Pod. It has two functions:It can be used as a basis to evaluate the health status of th ...

Posted by bradymills on Tue, 21 Sep 2021 21:42:49 +0200