Kubernetes learning notes 3: NameSpace and Pod management

0.kubectl use vim /etc/profile enters the configuration file and defines alias = original command operation source /etc/profile makes the configuration file effective Complete tool 1.NameSpace management (1) View all namespaces kubectl get namespaces (2) Create a new namespace kubectl create namespace test20220130 (3) View kubeconfig ...

Added by armyguydave69 on Thu, 03 Feb 2022 17:33:12 +0200

k8s core technology - Deployment

What is Deployment Deployment provides a declarative method for Pod and ReplicaSet to replace the previous replication controller to facilitate the management of applications. Typical application scenarios include: Define Deployment to create Pod and ReplicaSetRolling upgrade and rollback applicationExpansion and shrinkagePause and resume Dep ...

Added by kenrbnsn on Wed, 02 Feb 2022 05:03:37 +0200

Network interworking scheme between k8s network and local development environment - bridging VPN

Problems encountered Normal access to k8s cluster through VPN enables the local development environment to normally access the virtual ip of pod and service in the cluster. However, for microservice development, there is still a need to access the local machine from k8s cluster resolvent At this time, we need to bridge VPN to virtual network ...

Added by argyrism on Tue, 01 Feb 2022 01:30:36 +0200

Implementation of exporting snapshot data to object storage using Velero

Velero (formerly Heptio Ark) is an open source tool that can safely backup and restore, perform disaster recovery, and migrate Kubernetes cluster resources and persistent volumes. Velero can be deployed in a self built Kubernetes cluster or a K8S environment hosted by a public cloud, such as QKE (Kubesphere). Velero can be used to: Backup clus ...

Added by tores on Fri, 28 Jan 2022 13:26:52 +0200

[K8S series] 7-K8s actual combat - play Network

Network Access between Docker containers The same network segment can communicate through docker0 network card 6.1 container communication in the same Pod - pause container Next, let's talk about the content related to Kubernetes network communication We all know that the smallest operation unit of K8S is Pod. First, think about ...

Added by tony_c on Fri, 28 Jan 2022 09:45:48 +0200

Build your own GitLab+jenkins and pull the image in kubernetes to run

Official website: https://about.gitlab.com/install/#centos-7 ; The official website explains that the machine installing gitlab should have at least 4G memory, because gitlab consumes more memory; This friend to build should pay attention 1, Install necessary dependencies sudo yum install -y curl policycoreutils-python openssh-server sudo sys ...

Added by Gazan on Thu, 27 Jan 2022 07:11:16 +0200

Docker--Docker k8s--Kubernetes storage -- kubernetes scheduling

catalogue 1. Introduction 2. Factors affecting kubernetes scheduling 2.1 nodeName 2.2 nodeSelector 2.3 affinity and anti affinity 2.3.1 node affinity 2.3.2 pod affinity 2.4 taints 2.5 instructions affecting pod scheduling 2.5.1 cordon 2.5.2 drain 2.5.3 delete 1. Introduction The scheduler uses kubernetes' watch mechanism to d ...

Added by Scooby Doo on Wed, 26 Jan 2022 16:32:28 +0200

Components that k8s has to understand

1, Controllers Official website: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ I mentioned pods earlier, but if you want to change from one to multiple pods, how to ensure that there are multiple pods all the time? At this time, the maintenance of pods is particularly important. At this time, according to the knowledge i ...

Added by cr-ispinternet on Wed, 26 Jan 2022 08:42:13 +0200

Installing kuberneters using kubeadm

k8s installation Kubedm / kubectl / kubelet installation 1. Update apt package index and install packages required to use Kubernetes apt repository sudo apt-get update sudo apt-get install -y apt-transport-https ca-certificates curl 2. Download Google Cloud public signature key: sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyri ...

Added by greenie2600 on Tue, 25 Jan 2022 23:51:23 +0200

Kubernetes: Pod basics summary

Blog: Blog Garden personal Official documents The concept of Pod is introduced in detail. concept Pods are the smallest deployable units of computing that you can create and manage in Kubernetes. In short, a Pod is a set of (or one) containers. These containers are scheduled together and regarded as a basic unit. You can use the example tes ...

Added by DeepakJ on Tue, 25 Jan 2022 17:59:34 +0200