Kubernetes(k8s) -- cluster deployment

catalogue 1, Introduction to Kubernets 1.1 Kubernetes advantages 1.2 Kubernetes architecture design 1.3 kubernete service architecture 2, Kubernetes deployment 2.1 basic environment configuration 2.2 disable swap partition 2.3 configure yum source of kubernetes and install components 2.4 setting kubernetes command completion function ...

Added by broheem on Thu, 03 Mar 2022 09:41:11 +0200

[C + + improve programming] 4 STL - function object

1. Function object Concept: A class that overloads the function call operator. Its object is often called a function objectWhen a function object uses overloaded (), its behavior is similar to that of a function call, which is also called an imitation function Essence: A function object is a class, not a function Features of function o ...

Added by navid on Wed, 02 Mar 2022 11:58:31 +0200

Binary installation Kubernetes (k8s) v1 23.4 ---

6.k8s component configuration (different from point 4)All k8s nodes create the following directoriesmkdir -p /etc/kubernetes/manifests/ /etc/systemd/system/kubelet.service.d /var/lib/kubelet /var/log/kubernetes6.1. Create apiserver (all master nodes)6.1.1master01 node configurationcat > /usr/lib/systemd/system/kube-apiserver.service << ...

Added by pranav_kavi on Tue, 01 Mar 2022 05:51:45 +0200

The basic implementation of the container of "Spring source code deep parsing Hao Jia version 2" and the loading of XML files

catalogue The overall architecture of SpringThe basic implementation of container and the loading of XML file 1, The overall architecture of Spring Spring is a layered architecture, which mainly includes the following parts Core ContainerData AccessWebAopTest 1,Core Container Core container, including core, Beans, Context and Expression L ...

Added by zTagged on Mon, 28 Feb 2022 16:39:47 +0200

Gopher to Rust hot eye grammar ranking

Gopher to Rust hot eye grammar rankingAuthor: Zhongyi - sealos author, sealer initiatorTOP 10 often forget to write semicolonsfn add_with_extra(x: i32, y: i32) -> i32 { let x = x + 1; // sentence let y = y + 5; // sentence x + y // expression }When you first turn from golang, you must often forget to write semicolons. For Rust la ...

Added by N1CK3RS0N on Mon, 28 Feb 2022 11:32:54 +0200

Docker: deploy Nginx reverse proxy

Docker: deploy Nginx reverse proxy Environmental preparation The following services are required DockerDocker compose (Docker Desktop under Windows / MacOS comes with it, which can be installed without additional installation)Node. JS (used to start an express back-end service. If there are other services such as java+tomcat and golang, ...

Added by robinstott on Mon, 28 Feb 2022 11:20:38 +0200

Basic knowledge review of Docker relearning series

Docker Official document address: https://www.docker.com/get-started Chinese Reference Manual: https://docker_practice.gitee.io/zh-cn/ What is Docker Official definition # 1. Official introduction - We have a complete container solution for you - no matter who you are and where you are on your containerization journey. - translat ...

Added by rajb on Mon, 28 Feb 2022 07:46:15 +0200

Build K3s cluster step by step based on Rocky Linux

Introduction to K3SK3s is a lightweight Kubernetes distribution. It is an open source application for managing containerization on multiple hosts in the cloud platform. Because it is only half the size of Kubernetes in terms of memory occupation, it is abbreviated as k3s.In this article, I will show how to build K3S service cluster based on Roc ...

Added by mburkwit on Sat, 26 Feb 2022 17:09:01 +0200

[C + + improve programming] 3.2 STL common container: vector container

1. string container Please click to jump to this chapter 2. vector container 2.1 basic concept of vector Function: vector data structure is very similar to array, also known as single ended array The difference between vector and ordinary array: Array is static space (the capacity is fixed and cannot be changed after definition)vecto ...

Added by binarylime on Sat, 26 Feb 2022 14:36:55 +0200

A case study of kubernetes Service concept

This paper mainly illustrates with examples: As shown below, a Pod collection that provides web services is composed of two copies of Tomcat containers. The service port number provided by each container is 8080: apiVersion: apps/v1 kind: Deployment metadata: name: webapp spec: replicas: 2 selector: matchLabels: app: webap ...

Added by tckephart on Sat, 26 Feb 2022 09:52:48 +0200