K8S-5 -- cloud native Foundation / k8s foundation and components / binary deployment k8s cluster
Day5 job: 1. Summarize k8s each component function 2. Summarize the scheduling process of creating pod in k8s 3. Deploy k8s cluster based on binary Network components calico, coredns, dashboard
1, Cloud native Foundation:
CNCF cloud native container ecosystem overview: http://dockone.io/article/3006
In 2013, docker project was officially r ...
Added by btherl on Fri, 24 Dec 2021 06:16:54 +0200
Resource scheduling (nodeSelector, nodeAffinity, taint, Tolrations)
Resource scheduling (nodeSelector, nodeAffinity, taint, Tolrations)
Kubernetes is a master-slave distributed architecture consisting mainly of Master Node and Worker Node, as well as client command line tools kubectl and other add-ons.
Master Node: As a control node, dispatch management of the cluster; Master Node consists of API Server, Sche ...
Added by salih0vicX on Fri, 24 Dec 2021 04:15:19 +0200
Resource scheduling of k8s
Resource scheduling of K8s
Overall architecture of K8s
Kubernetes belongs to the master-slave distributed architecture, which is mainly composed of Master Node and Worker Node, as well as the client command line tool kubectl and other additional items.
Master Node: as a control node, it performs scheduling management on the cluster; Th ...
Added by john0117 on Thu, 23 Dec 2021 22:42:57 +0200
K8S resource controller
1. Introduction
Autonomous pod and controller managed Pod:
Autonomous Pod: the pod exits and will not be created again because there is no manager (resource controller).Pod managed by the controller: maintain the number of copies of the pod throughout the life cycle of the controller
There are many controller s built in K8S, which are equiva ...
Added by billthrill on Thu, 23 Dec 2021 09:03:19 +0200
Deploying Spring Cloud Micro Service Project on K8S Platform
WeChat Public Number: Operations and Maintenance Development Story, Author: double winter
1. Familiarize yourself with the Spring Cloud microservice project
Code branch description:
dev1 Delivery Code dev2 Writes Dockerfile to build a mirror dev3 K8S Resource Layout dev4 Micro-Service Link Monitoring master finally goes online
2. Lo ...
Added by BlueKai on Tue, 21 Dec 2021 22:00:17 +0200
Use of Kubectl basic commands
Basic concepts of kubernetes
Pod: k8s minimum deployment unit, a collection of containersDeployment: the most common controller for higher-level deployment and management of podsService: provides load balancing for a group of pods and provides unified access to the outside worldLabel: label, attached to a resource, used to associate objects, q ...
Added by ksmatthews on Tue, 21 Dec 2021 01:10:05 +0200
k8s cluster deployment
k8s cluster deployment
kubeadm is a tool launched by the official community for rapid deployment of kubernetes clusters.
This tool can deploy a kubernetes cluster through two instructions:
# Create a Master node
$ kubeadm init
# Add a Node to the current cluster
$ kubeadm join <Master Nodal IP And ports>
Official website: Kubern ...
Added by justineaguas on Mon, 20 Dec 2021 15:35:35 +0200
Introduction, introduction and architecture of Kubernetes
1, Getting started with Kubernetes
1. Evolution of application deployment mode
# 1. Traditional deployment
Advantages: simple deployment
Disadvantages: resource usage boundaries cannot be defined for applications
# 2. Virtualization deployment (multiple virtual machines can be run on one physical machine, and each virtual machine is an ...
Added by MDanz on Sun, 19 Dec 2021 17:52:30 +0200
Actual k8s monitoring -- Exporter
Introduction to Exporter
What is an Exporter
Broadly speaking, all programs that can provide monitoring sample data to Prometheus can be called an Exporter. An instance of the Exporter is called target. As shown below, Prometheus periodically obtains sample data from these targets by polling
Source of Exporter
In terms of the source of exp ...
Added by Boudga on Sat, 18 Dec 2021 19:08:18 +0200
Simulated deployment k8s production environment
k8s environmental preparation
Prepare a linux computer
Install kvm and initialize k8s cluster nodes
sudo apt-get install virt-manager
Install os
Configure kvm network segment
sudo vi /etc/libvirt/qemu/networks/default.xml
# After configuration, restart the network
sudo systemctl restart network-manager
Get through ssh tunnel ...
Added by nielsene on Sat, 18 Dec 2021 16:02:53 +0200