k8s_ Consider the past you shall know the future

k8s k8s function Automatic packing Automatically deploying application containers based on resource configuration requirements for application runtime environments Self-repair When a container fails, it is automatically restarted Containers are redeployed and rescheduled when there is a problem with the deployed ...

Posted by bokehman on Mon, 04 Apr 2022 20:20:14 +0300

Introduction to Kubernetes

Introduction to actual combat This chapter describes how to deploy and access an nginx service in a kubernetes cluster.   1. Namespace Namespace is mainly used to realize resource isolation of multiple environments or multi tenant resources. By default, all nodes in the cluster can access each other. However, in practice, you may not want two p ...

Posted by MasK on Mon, 04 Apr 2022 18:51:40 +0300

Kubernets 1.22 cluster installation

Since kubernetes 1.22, kubernetes officially no longer supports docker as its container runtime. In this document, we use containerd as its runtime and kubedm to deploy a single master kubernetes cluster The whole installation process is divided into the following steps: Environmental descriptionCluster deploymentAdd ons installationCluster ...

Posted by Viper76 on Mon, 04 Apr 2022 08:23:06 +0300

Writing format of YAML file in k8s

preface Environment: CentOS 7 9 docker-ce-20.10.9 kubernetes-version v1. twenty-two point six yaml file overview The management of resources and the arrangement and deployment of resource objects in k8s can be solved through the declarative file (yaml file), that is, the operation of resource objects can be edited into the yaml file. We call ...

Posted by Gasolene on Sun, 03 Apr 2022 17:06:37 +0300

3, kubernetes - cluster installation

catalogue 1, Preliminary preparation 2, Cluster installation 1. System initialization 2. Kubedm deployment and installation K8S 3. Harbor installation of enterprise Docker private warehouse 1, Preliminary preparation This experiment adopts one master node, two work nodes and one private warehouse. The machine distribution is as follows: ...

Posted by foid025 on Sun, 03 Apr 2022 16:47:31 +0300

Detailed explanation of Kubernetes Pod controller

Detailed explanation of Pod controller This chapter mainly introduces the detailed use of Pod controller   1. Introduction to pod controller In kubernetes, pod s can be divided into two categories according to the creation method: Autonomous Pod: a pod directly created by kubernetes. This kind of pod will not exist and will not be rebuilt afte ...

Posted by pages on Sun, 03 Apr 2022 07:32:13 +0300

Preliminary Pod vertical expansion and contraction capacity VPA

concept Compared with horizontal automatic capacity expansion (HPA), the number of pods is expanded to balance the load when pod resources are tight. The vertical expansion of pod will automatically adjust the requests value and limits value of pod resource application. It will dynamically apply for CPU and memory usage for pod resources accord ...

Posted by bradleyy on Sat, 02 Apr 2022 23:55:56 +0300

How to build a complex MySQL database in Kubernetes cluster?

1, Foreword In the actual production environment, in order to be stable and highly available, the operation and maintenance team generally does not deploy the MySQL database in the Kubernetes cluster, but generally uses the database of the cloud manufacturer or builds it on high-performance machines (such as bare metal servers). However, ...

Posted by ruraldev on Sat, 02 Apr 2022 17:24:44 +0300

How can small teams make good use of JuiceFS

When I was in ENJOY in the early years, I was already using JuiceFS and accompanied the four small companies I worked for all the way. This has become an indispensable infrastructure for me and a real help for the small team I have served Take advantage of the nearest Essay solicitation activities , continue to expand my small team series and i ...

Posted by Cazrin on Fri, 01 Apr 2022 12:06:36 +0300

kubebuilder practice notes - entry experience

Today, using kubebuilder, I ran a custom controller outside the kubernetes cluster. The notes are as follows. Objectives: 1) Learn to use kubebuilder to create a project and run the project. 2) Create CDR (customized resource definition), CR (customized resource) 3) Modify CR (customized resource) and the custom controller can perceive it. ...

Posted by just me and php on Thu, 31 Mar 2022 12:17:13 +0300