What is k8s?
Kubernetes is an open source platform for automated deployment, expansion, and operation and maintenance of container clusters .
The original intention of k8s is to cultivate an ecosystem of components and tools to help everyone reduce the burden of running applications on public and private clouds. In other words, make the construction and operation and maintenance of large-scale distributed applications easier (of course, the simpler The surface means more complicated internal details).
What is Jenkins?
Jenkins is an open source continuous integration (CI) tool that provides a user-friendly interface. It originated from Hudson (Hudson is commercial) and is mainly used for continuous and automatic construction/testing of software projects.
Jenkins occupies a very important role in our daily work, helping us save a lot of time for building. Some companies have operations and maintenance brothers to maintain Jenkins, if not, you can only do it yourself. As the saying goes, it's good to do it yourself, so this article starts from 0 to build your own Jenkins continuous platform. Mainly include, ordinary project construction , pipeline construction , multi-branch pipeline construction, and the construction results will be supplemented with DingTalk notification.
Learn Jenkins comprehensively, master Jenkins software installation and related environment configuration, master Jenkins to build web projects, SpringCloud microservice projects, and integrate Kubernetes to complete distributed construction. The following are necessary for mastering k8s and Jenkins
- Understand continuous integration to build a Jenkins environment
- Jenkins completes continuous integration of web projects
- Jenkins integrates SonarQube, Email
- Jenkins+Docker+SpringCloud completes continuous integration of microservices
- Jenkins+Kubernetes completes the distributed construction of microservices
However , I learned k8s and Jenkins in the editor and found that there is no learning material that can integrate and use the two technical points. I read the major platform websites and found that I can really explain k8s and Jenkins very thoroughly. Under guidance, I got this Jenkins+Kubernetes note, which comprehensively explained Jenkins related knowledge. From the installation, deployment and environment configuration of Jenkins to Jenkins building web applications. Jenkins+Docker+SpringCloud microservices are continuously deployed, and distributed master-slave construction to Jenkins+Kubernetes. This note not only masters the continuous integration of Jenkins in small and medium-sized small and medium-sized projects, but also masters the distributed continuous integration of Jenkins in medium and large-scale Internet projects.
The first note: Kubernetes (K8s) study notes
Due to space reasons, in order to avoid affecting everyone's reading experience, only part of the content is shown in screenshots. The detailed and full version is stamped here for free: https://docs.qq.com/doc/DTlpqcU53c0JtdkZx
Theory
- Understanding the cluster controller
Understanding the cluster controller
- Detailed cluster network
Detailed cluster network
- Principles of Cluster Scaling
Principles of Cluster Scaling
- Authentication and scheduling
Authentication and scheduling
- Three main points and one realization of cluster service
Three main points and one realization of cluster service
- Mirror pull
Mirror pull
Practice
- Cluster node is not offline
Cluster node is not offline
- Node offline sister article
Node offline sister article
- Why can't we delete the cluster namespace?
Why can't we delete the cluster namespace?
- Alibaba Cloud ACK product security group configuration management
Alibaba Cloud ACK product security group configuration management
- One-half live microservices
One-half live microservices
- Summary of handling the miserable situation of Ca certificate expiration problem at two in the middle of the night
Summary of handling the miserable situation of Ca certificate expiration problem at two in the middle of the night
The second note: Jenkins continuous integration entry to the master
1: Overview of continuous integration and Jenkins
- Waterfall model and agile development
- Components of continuous integration
- Jenkins overview
Introduction to Continuous Integration and Jenkins
What is continuous integration
Two: Jenkins installation and environment configuration
- Gitlab build and configuration
- Jenkins installation and plugin installation
- Jenkins permission management
- Jenkins credential management
- Jenkins+Maven configuration
Jenkins installation and continuous integration environment configuration
Gitlab code hosting server installation
Three: Jenkins+Web project continuous integration
- Jenkins creates a pipeline project
- Jenkins pipeline script syntax
- Commonly used Jenkins build triggers
- Jenkins integrates SonarQube code review
- Jenkins integrates Email to complete the release of the build results
Jenkins build Maven project
Four: Jenkins+Docker+SpringCloud microservice project continuous integration
- Docker basics
- Dockerfile script to build Docker image
- Docker private warehouse Harbor installation and use
- Jenkins cluster deploys SpringCloud microservices
Jenkins+Docker+SpringCloud microservice continuous integration
Five: Jenkins+Kubernetes+SpringCloud microservice project continuous integration
- Jenkins distributed master-slave architecture
- Jenkins and Kubernetes integration
- Jenkins+Kubernetes completes the distributed construction of microservice projects
Jenkins Master-Slave distributed construction
Kubernates+Docker+Jenkins continuous integration architecture diagram
Friends in need quickly repost it, only like it! Collection! Then click here to get the full version for free: https://docs.qq.com/doc/DTlpqcU53c0JtdkZx