Kubernetes Affinity Anti-Affinity Taint Tolerance and Maintenance Eviction

Affinity Official website: https://kubernetes.io/zh/docs/concepts/scheduling-eviction/assign-pod-node/ (1) Node affinity pod.spec.nodeAffinity ●preferredDuringSchedulingIgnoredDuringExecution: soft strategy ●requiredDuringSchedulingIgnoredDuringExecution: hard strategy (2) Pod affinity pod.spec.affinity.podAffinity/podAntiAffinity ●preferredDuringSchedulingIgnoredDuringExecution: soft strategy ●requiredDuringSchedulingIgnoredDuringExecution: hard strategy Simple understanding: Suppose you are a traveler and you plan to travel to a strange city. You can think of yourself as a Pod, and different attractions in the city can […]

Cordon sets the node to be unschedulable, uncordon restores the node to be schedulable, drain is used for maintenance, and taint sets the taint of the updated node.

Foreword Environment: k8s 1.22.15, docker I have been confused about the cordon, drain, and taint commands, so let’s distinguish them. cordon sets the node to be unschedulable The kubectl cordon NODE command sets the node to be unschedulable. It is just that the node is unschedulable. Existing pods will not be evicted, and new pods […]

Nginx operation (load balancing, dynamic and static separation, session maintenance, anti-leeching)

1. Control nginx service through nginx command nginx -c /path/nginx.conf # Start nginx with the configuration file in a specific directory:nginx -s reload # Reload after modifying the configuration to take effect nginx -s reopen # Reopen the log file nginx -s stop # Quickly stop nginx nginx -s quit # Stop nginx completely and […]

Routing technology – VLAN, STP, RIP (H1-3) Network construction and maintenance of Guangming Experimental Middle School

3. Question number: H1-3 Guangming Experimental Middle School Network Construction and Maintenance (1) Task description The original teaching building and office building of Guangming Experimental Middle School are one each, which are interconnected with a second-layer switch and connected to the external network through a router. Due to the rapid development of the school, a […]

Design and implementation of reservation maintenance system based on Java4S store (source code + lw + deployment documents + explanation, etc.)

Blogger Introduction: ?300,000+ fans across the entire network, csdn guest author, blog expert, CSDN Rising Star Program mentor, high-quality creator in the Java field, Blog Star, Nuggets / Huawei Cloud / Alibaba Cloud / InfoQ and other platforms are high-quality authors, focusing on the field of Java technology and practical graduation projects? Contact for source […]

Subnetting, OSPF, VlanIF, DHCP, Eth-Trunk, single-arm routing (H1-6) Tianyan Technology Co., Ltd. network construction and maintenance

H1-6 Network construction and maintenance of Tianyan Technology Co., Ltd. (1) Task description Due to the development of its business, Tianyan Technology Co., Ltd. has established a new branch in other places. Now it requires network connectivity between the head office and the branch. The head office has three buildings, each with more than 600 […]

Computer java project recommendation nodejs appointment door-to-door maintenance service system

Development language: nodejs Frame:Express Database: MySQL5.7 Database tool: Navicat 11 Development software: Hbuilder/VS code Browser: edge / Google Table of Contents 1. Project Introduction 2. System functions 3. System project screenshots 3.1 Front page 3.2Backend management 4. Core code 4.1 Login related 4.2 File upload 4.3 Packaging 1. Project Introduction The scheduled door-to-door maintenance service […]