Linux combat notes - kubernetes scheduling

1, Introduction to scheduler The scheduler uses kubernetes' watch mechanism to discover newly created clusters that have not yet been scheduled Pod on Node. The scheduler will schedule each unscheduled pod found to an appropriate Node Come up and run. Kube scheduler is the default scheduler for Kubernetes clusters and is part of the cluster co ...

Added by ravravid on Sun, 02 Jan 2022 11:39:19 +0200

Monitoring - Spring Boot + JVM + Druid + Prometheus + Grafana

1. Front Prometheus + Grafana are deployed in docker mode. If there is no docker, the following content will be very difficult The length is a little long, but there must be no problem following the steps. There will be a corresponding directory on the left or right, as well as at the beginning of the article The renderings are in 7, ...

Added by Warboss Alex on Sun, 02 Jan 2022 10:50:37 +0200

Prometheus Operator - Part I - installation and use

What is Prometheus Operator? To facilitate the management and deployment of Prometheus in Kubernetes, we use ConfigMap to manage Prometheus configuration files. Every time we upgrade the Prometheus configuration file, we need to manually remove the running Pod instance so that Kubernetes can create Prometheus with the latest configuration fil ...

Added by aalmos on Sun, 02 Jan 2022 06:17:43 +0200

Docker learning notes -- Dockerfile

DockerFile DockerFIle introduction dockerfile is the file used to build the docker image! Command parameter script! Construction steps: 1. Write a dockerfile file 2. Build docker build into an image 3.docker run run image 4.docker push publishing images (DockerHub, Alibaba cloud image warehouse) See what the authorities do? Many offi ...

Added by hernan on Sun, 02 Jan 2022 05:50:40 +0200

Kubernetes configmap, secret configuration management, Volumes configuration

I Introduction to ConfigMap Configmap is used to save configuration data in the form of key value pairs. The configMap resource provides a way to inject configuration data into the Pod. Decouple the image from the configuration file to realize the portability and reusability of the image. Typical usage scenarios: Populates the value of ...

Added by recset on Sun, 02 Jan 2022 05:40:53 +0200

Storage directory migration of docker (valid for pro test)

The default storage directory of docker is / var/lib/docker. The directory structure is as follows: [root@ztscshop docker]# cd /var/lib/docker [root@ztscshop docker]# ll total 64 drwx------ 2 root root 4096 Jan 24 2019 builder drwx------ 4 root root 4096 Jan 24 2019 buildkit drwx--x--x 3 root root 4096 Jan 24 2 ...

Added by stockton on Sun, 02 Jan 2022 04:29:37 +0200

2021Docker container technology complete solution - docker builds a private warehouse

1. Pull the warehouse image registry on the server m01. [root@m01 ~]#docker pull registry 2. Run the docker private warehouse image on the server m01 to create the container my registry. [root@m01 ~]#docker run -d -p 5000:5000 --restart=always --name my-registry \ -v /registry:/registry \ -e REGISTRY_STORAGE_DELETE_ENABLED=true \ -e REGI ...

Added by erasam on Sat, 01 Jan 2022 18:40:11 +0200

Install Fastdfs cluster + Nginx load balancing in Docker cluster environment

1, Environment configuration There are two existing servers 10.168 103.110 (old server) and 10.168.103.111 (new server). Among them, 110 server has swarm cluster, a tracker and a storage. Now it needs to be a fastdfs cluster to meet the downtime of fastdfs on 110. Fastdfs on 111 server can be used normally. First, check the network condition ...

Added by ciaranmg on Sat, 01 Jan 2022 01:58:57 +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

Docker common commands

This paper includes container lifecycle management command, container operation command, container rootfs command, image warehouse command, local image management command and basic version information command. 1, Container lifecycle management commands 1.1 run Create a new container. # Start a container using docker image nginx:latest backgrou ...

Added by xcali on Fri, 31 Dec 2021 01:37:41 +0200