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

Prometheus is deployed in containers and monitors nodes with Grafan drawing tool Install docker on the master host Environmental description host nameipmaster192.168.200.144client192.168.200.145 Configure docker CE source [root@master ~]# cd /etc/yum.repos.d/ [root@master yum.repos.d]# curl -o docker-ce.repo https://mirrors.tuna.tsinghua.ed ...

Added by rationalrabbit on Tue, 04 Jan 2022 13:43:54 +0200

Metrics server and HPA in kubernetes

1, K8S monitoring component metrics server Installation steps 1.Add open source warehouse [root@k8s-master ~]# helm repo add kaiyuanshe http://mirror.kaiyuanshe.cn/kubernetes/charts/ #Search metrics server [root@k8s-master ~]# helm search repo metrics-server 2.download metrics-server package helm pull kaiyuanshe/metrics-server 3.decompre ...

Added by enoyhs on Tue, 04 Jan 2022 11:46:05 +0200

kubernetes data persistence

Pod is composed of containers, and after the container is down or stopped, the data will be lost. This means that we have to consider the storage problem when we are doing Kubernetes cluster, and the storage volume is created for pod to save data. There are many types of storage volumes. We usually use four types: emptyDir, hostPath, NFS and ...

Added by jhbalaji on Tue, 04 Jan 2022 08:47:17 +0200

Detailed explanation of Dockerfile instruction & an example of image construction

Dockerfile Usage Summary Dockerfile is a text file used to build an image, which contains instructions and instructions for building an image.Each layer instruction in the dockerfield file describes how to build this layer on the basis of the previous layer. Operating environment Alibaba cloud ubuntu 20.04 Building a simple instance of a mi ...

Added by dc2_jspec on Mon, 03 Jan 2022 20:19:50 +0200

Linux VIM editor and restoring files deleted by mistake under ext4 - Xmanager tool

Introduction to main modes of vim vim command mode Q: are vi and vim installed in the same package? A: NO, vim is an added version of vi. the most obvious difference is that vim can be syntax highlighted. It is fully compatible with vi Check a command, which software package is installed: [root@xuegod63 ~]# rpm -qf /usr/bin/vim [root@x ...

Added by rutin on Mon, 03 Jan 2022 18:38:15 +0200

An article fully understands the list container in C++STL (with practical exercises - student achievement management system)

1. Basic concept of list container (1) The list container is actually a linked list, which is different from the vector container. The list container stores the data chain through the pointer; (2) The linked list is composed of a series of nodes. Each node is composed of the data field for storing data and the pointer field for ...

Added by jllydgnt on Mon, 03 Jan 2022 12:53:32 +0200

In priority_ Understanding and implementation of container and container adapter under queue

priority_queue By default, the priority queue uses vector as its underlying data storage container, and the heap algorithm is used on the vector to construct the elements in the vector into a heap structure, so priority_queue is the heap. Priority can be considered for all locations where the heap needs to be used_ queue. be care ...

Added by lowspeed on Sun, 02 Jan 2022 19:53:46 +0200

[JDK source code] LinkedList source code analysis

LinkedList source code analysis 1. Introduction Through the inheritance system, we can see that LinkedList not only implements the List interface, but also implements the Queue and Deque interfaces, so it can be used as a List, a double ended Queue, and of course, a stack.It can be seen from the inheritance system that LinkedList implem ...

Added by beboni on Sun, 02 Jan 2022 05:48:45 +0200

A Demo of using Metallb to implement LoadBalancer in Kubernetes Service

Write in front Learn the problems encountered in K8s, sort them out and share them with your friendsThe content of the blog involves:Metallb creationCreation of a Service of type LoadBalancer Some people's hearts are like flowers and trees, all born to the sun -- the war fire drama Princes "sword coming" Service load balancing ...

Added by leetee on Sat, 01 Jan 2022 16:28:29 +0200

kubernetes latest version installation stand-alone version

kubernetes latest version installation stand-alone version The k8s cluster consists of Master nodes and Node (Worker) nodes. Today, I'm here to install kubernetes with only one machine. 1. Install the front environment [root@k8s-master ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@k8s-master ~]# uname -a Linux ww ...

Added by sulen on Fri, 31 Dec 2021 09:08:06 +0200