Online process deployment of Jenkins CI/CD version based on Kubernetes cluster
CICD continuous integration based on kubernetes platform
1. Continuous integration of Jenkins based on k8s cluster
The process of Jenkins updating the traditional LNMT project is very simple. Jenkins only needs to be deployed on the physical server to realize the continuous update iteration of the project version
If the project is deploy ...
Posted by veroaero on Thu, 23 Dec 2021 22:29:09 +0100
[K8S] Deployment rolling update and rollback, horizontal scaling
-Create Deployment -Rolling update - ReplicaSet -Rollback -Horizontal expansion
@Create Deployment
First, create a deployment, the number of pod copies is 3, use the image nginx:1.19, and create a service
test-deploy-svc.yaml is as follows
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: web
name: web
namespace: default ...
Posted by orison316 on Thu, 23 Dec 2021 09:08:16 +0100
Home host running cloud native family bucket KuberSphere 3.1
Home host running cloud native family bucket KuberSphere 3.1
1.1 project overview
This article records my personal use of the home host, which is as close to the configuration of the production environment as possible in the Intranet environment, and completes the construction of the KubeSphere experimental environment of the k8s platform.
1 ...
Posted by caraldur on Wed, 22 Dec 2021 21:38:33 +0100
AWS learning notes - EKS create and upgrade cluster notes
Preconditions
Related documents
aws official website documenteksctl usage document
Of course, you need to apply for an aws account (required: credit card)
Understand the concept of computing node group in advance
Explanation of concept points: nodegroup: node group is the node combination concept of eks. It is divided into self-management ...
Posted by corrupshun on Wed, 22 Dec 2021 16:44:20 +0100
How to deploy k8s binary
master02 node deployment
Copy the certificate file, configuration file and service management file of each master component from the master 01 node to the master 02 node
scp -r /opt/etcd/ root@192.168.80.20:/opt/
scp -r /opt/kubernetes/ root@192.168.80.20:/opt
scp /usr/lib/systemd/system/{kube-apiserver,kube-controller-manager,kube-schedu ...
Posted by jason102178 on Tue, 21 Dec 2021 04:08:44 +0100
k8s pod classification, core components, network model, kubectl common commands
K8s basic concept
pod classification
Autonomous pod
The self managed pod still needs to be submitted to the apiserver after it is created. After it is received by the apiserver, it is scheduled to the specified node node with the help of the scheduler, and the node starts the podIf this pod fails and the container needs to be restarted, kube ...
Posted by jera on Mon, 20 Dec 2021 13:19:53 +0100
Configuration in Sysctl in Kuberntes (PHP FPM concurrency can only be 300)
Background:
Deploy applications in kubernetes cluster and conduct stress testing on applications. jmeter's stress test is about 300 requests per second (18000 requests are collected in elasticsearch every minute). Check the log with nginx's error log:
But my cpu memory resources are not full. Through the search engine, it is found that the ...
Posted by rxero on Sat, 18 Dec 2021 02:26:57 +0100
ARM64 platform deploys Kubernetes based on openEuler + iSula environment
Why should Kubernetes be deployed on arm64 platform, and it is the architecture of Kunpeng 920. it's a long story... 5000 words are omitted here.
Introduce the system information;
• architecture: Kunpeng 920 •OS: openEuler 20.03 (LTS-SP1) •CPU: 4c • memory: 16G • hard disk: Several
Although the whole process refers to the post ...
Posted by wendymelon on Thu, 16 Dec 2021 22:15:15 +0100
Go simulates Kubernetes Client for unit test
summary
Writing unit tests is always painful for developers. The main reason for this is that, generally, unit tests (functional unit tests) should not use any physical components / running instances of the application. For example, unit tests of API SDK should not have any running API instances. That's why it's crucial to simulate applica ...
Posted by xoligy on Thu, 16 Dec 2021 14:31:08 +0100
Commands learned in k8s process
k8s learning
Kubernetes(K8S) introduction advanced actual combat complete tutorial, dark horse programmer K8S complete tutorial See Kubernetes for more detailed tutorials md
Other commands
Boot auto start application
# Start the chronyd service
[root@master ~]# systemctl start chronyd
# Set startup and self startup
[root@master ~]# systemct ...
Posted by jlommori on Wed, 15 Dec 2021 05:16:40 +0100