kubernetes introduction practice - Ingress

ㅤㅤㅤ ㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ (reading without thinking is equal to eating without digesting. -- Polk) ㅤㅤㅤ ㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤ This tutorial demonstrates how to use ingress-nginx To do cluster load balancing, domain name access and ssl. Ingress Ingress is an API object that manages the external access of s ...

Posted by sb on Tue, 04 Jan 2022 08:53:25 +0100

k8s - controller

Pod classification: Autonomous Pod: the pod will not be created after exitingPod managed by the controller: maintain the number of copies of the pod throughout the life cycle of the controller Controller type: Replication Controller and ReplicaSetDeploymentDaemonSetStatefulSetJobCronJobFull name of HPA: Horizontal Pod Autoscaler 1.Repli ...

Posted by aiwebs on Tue, 04 Jan 2022 03:10:09 +0100

Operation and maintenance practice - kubernetes storage Volumes configuration management emptyDir volume, hostPath volume, PersistentVolume persistent volume, StatefulSet controller

1. Why use Volumes volumes? The files in the container are temporarily stored on the disk. Once the container is deleted, the files in the container will be deleted, which brings some problems to the special applications running in the container. Specifically, first, when the container crashes, kubelet will restart the container, and the f ...

Posted by alex3 on Tue, 04 Jan 2022 02:13:04 +0100

Speed of light from 0 to 1 master Prometheus and Grafana, Tencent cloud expert 5 million words essence tutorial free.

author Huang Lei, a senior engineer of Tencent cloud, was responsible for building a new generation of multi-dimensional business monitoring system for Tencent cloud monitoring. He is good at large-scale distributed monitoring system design and has a deep understanding of the architecture design of golang background project. Later, he joined th ...

Posted by Marijnn on Mon, 03 Jan 2022 19:24:40 +0100

Five controllers of kubernetes

Controller type for k8s Many controller s are built in Kubernetes, which are equivalent to a state machine to control the specific state and behavior of Pod Deployment: suitable for stateless service deploymentStatefullSet: suitable for stateful service deploymentDaemon set: once deployed, all node nodes will be deployed. For example, som ...

Posted by skhale on Mon, 03 Jan 2022 09:59:03 +0100

Prometheus is deployed in containers and monitors nodes with Grafan drawing tool

Prometheus and Grafan container deployment Environmental description host nameIPmaster192.168.58.110client192.168.58.20 Install docker on the master host docker installation Configure network source (rhel red hat system) [root@master ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo Configure doc ...

Posted by digitalbart2k on Mon, 03 Jan 2022 04:24:15 +0100

k8s installation practice - centos7

Environmental requirements Three machines are prepared here. The machine 192.168.30.68 is also the host of the harbor warehouse [root@master1 yum.repos.d]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost 127.0.0.1 master14.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomai ...

Posted by billcoker on Mon, 03 Jan 2022 02:01:45 +0100

Use kubedm to build k8s (version 1.18.2) high availability clusters

WeChat official account: operation and development story, author: double winter Recently, the company needs to build a 1.18 version of k8s high availability mode in the test environment, so kubedm is used. If you want to be more familiar with various components of k8s, it is recommended to use binary construction for learning. I built and ...

Posted by walkonet on Mon, 03 Jan 2022 01:42:13 +0100

Enterprise operation and maintenance practice k8s (container resource limitation and resource monitoring) must be seen by beginners, praise and pay attention to the later stage

k8s container resource limit Memory limit example If the container exceeds its memory limit, it is terminated. If it is restartable, kubelet will restart it like all other types of runtime failures. If a container exceeds its memory request, its Pod may be evicted when the node is out of memory. vim memory.yaml apiVersion: v1 kind: Pod ...

Posted by stopblackholes on Sun, 02 Jan 2022 14:34:06 +0100

Teach you step by step how to package SpringBoot applications into Docker images and deploy them to k8s clusters using helm charts

preface In the Internet era, in order to achieve faster development iterations and better flexibility of applications, Internet applications no longer use the traditional three-tier architecture, but use microservices to achieve the purposes of loose coupling, cross departmental development and rapid delivery of software systems. Docker ...

Posted by studio805 on Sun, 02 Jan 2022 02:37:01 +0100