etcd backup and recovery in K8S cluster

Etcd is a very important Service of kubernetes cluster. It stores all data information of kubernetes cluster, such as Namespace, Pod, Service, routing and other status information. In case of etcd cluster disaster or etcd cluster data loss, it will affect k8s cluster data recovery. Therefore, it is very important to backup etcd data to realize ...

Posted by whitchman on Wed, 01 Dec 2021 10:13:38 -0800

Kubernetes Deployment best practices

Zero, example First, give a complete demo of deployment + HPA + poddisruption budget, and then introduce each part in detail: apiVersion: apps/v1 kind: Deployment metadata: name: my-app-v3 namespace: prod labels: app: my-app spec: replicas: 3 strategy: type: RollingUpdate rollingUpdate: maxSurge: 10% # When rolling ...

Posted by isuckat_php on Tue, 30 Nov 2021 16:58:00 -0800

Container image security in cloud native Era

Hello, I'm Zhang Jintao.Kubernetes, as the cornerstone of the cloud, has brought us great convenience. More and more companies have also applied kubernetes to the production environment. However, while enjoying the convenience it brings, we also need to pay attention to some potential safety hazards.In this article, I will focus on container im ...

Posted by bschmitt78 on Tue, 30 Nov 2021 03:13:44 -0800

Understand Kubernetes Admission Controller

Hello, I'm Zhang Jintao.Articles published before me Container image security in the cloud native Era In (Series), I mentioned Kube apiserver, the core component of Kubernetes cluster, which allows components from end users or clusters to communicate with it (for example, query, create, modify or delete Kubernetes resources).In this article, we ...

Posted by terandle on Mon, 29 Nov 2021 17:39:51 -0800

Introduction to docker

Introduction to docker docker pull website Docker - Official Image | Docker Hub 1. Install docker 1. Delete the local docker yum remove docker* 2. Download the yum runtime library sudo yum install -y yum-utils 3. Set download source yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 4. Download do ...

Posted by sader on Sun, 28 Nov 2021 06:23:48 -0800

New feature: Prometheus Agent mode hands-on experience

Hello, I'm Zhang Jintao.Prometheus has almost become the de facto standard for monitoring and selection in the cloud native era. It is also the second project graduated from CNCF.At present, Prometheus can almost meet the monitoring needs of various scenarios / services. I have written some articles about Prometheus and its ecology before. In t ...

Posted by Crusader on Sun, 28 Nov 2021 02:38:19 -0800

CentOS 7 builds k8s cluster v1.22.4

CentOS 7 builds k8s clusters Environmental Science: iphost namerole192.168.25.133k8s01master192.168.25.134k8s02slave192.168.25.135k8s03slave Install the necessary software yum install -y net-tools.x86_64 wget yum-utils Configure hosts cat >> /etc/hosts << EOF 192.168.25.133 k8s01 192.168.25.134 k8s02 192.168.25.135 k8s03 EOF ...

Posted by rohithmr on Sat, 27 Nov 2021 10:25:39 -0800

kubernetes core practice --- namespace

kubernetes core combat1. Resource creation methodCommand line creationyaml file creation2,namespaceNamespace is the organization mechanism provided by Kubernetes, which is used to classify, filter and manage any group of objects in the cluster. Each workload added to the Kubernetes cluster must be placed in a namespace.Namespace gives scope to ...

Posted by david-remone123 on Wed, 24 Nov 2021 17:51:02 -0800

ubuntu uses Alibaba cloud image source to quickly build kubernetes 1.15.2 cluster

ubuntu uses Alibaba cloud image source to quickly build kubernetes 1.15.2 cluster 1, Overview When building k8s clusters, you need to visit google, download relevant images and install software, which is very troublesome. Alicloud just provides k8s update source, which can be directly used by domestic users.   2, Environment introduction ...

Posted by memphis.rayy on Wed, 24 Nov 2021 04:33:18 -0800

kubernetes deploying persistent jenkins

kubernetes deploying persistent jenkins System environment: System version: CentOS 8.1 k8s version: v1.21.3 Containerd version: ctr containerd.io 1.4.3 jenkins version: 2.172 1, Set storage directory Persist Jenkins to storage. NFS network storage is used here to facilitate consistent escape data of application startup nodes in Kubernetes envi ...

Posted by tekcap on Tue, 23 Nov 2021 16:24:35 -0800