Write in front
Kubernetes is Google's open source container cluster management system . It abstracts out accurate and complete APIs for container runtime, orchestration, and conventional services , and builds an open and open source system to meet the needs of enterprise. Companies can use this to build an automated and standardized underlying platform to optimize R&D and operational efficiency.
Kubernetes can be said to be a practice of Google with the help of the explosion in the container field and its rich experience in managing huge-scale data centers, aiming to establish a new technology industry standard.
Part1 Kubernetes (K8s) learning guide
Theory
This is how you understand the cluster controller.
- Big picture
- Controller principle
- Simple refrigerator
- Unified entrance
- Controller
- Controller manager
- SharedInformer
- ListWatcher
- For example
- Service controller
- Routing controller
Detailed cluster network
- Bird's eye view
- Cluster network construction
- communication
Principles of Cluster Scaling
- Principle of node increase
- Manually add existing nodes
- Cluster expansion
- Auto-scaling
- Principle of node reduction
Authentication and scheduling
- "In a cage" procedure
- Get in right
- Choose the best
Three main points and one realization of cluster service
- What is the essence of K8S cluster service
- Bring your own correspondent
- Bring service into reality
- An implementation
Mirror pull this little thing
- Mirror pull this little thing
- Understand the OAuth 2.0 protocol
- The role of Docker
- Automatic pull of private images implemented by K8s
- Acr credential helper implemented by Alibaba Cloud
Practice
After reading this article, the cluster node is not offline
- The problem keeps happening
- What you need to know about Kubernetes
- Container runtime
- What is Dbus
- Systemd is hard bone
- Problem fix
Node offline sister article
- Problem phenomenon
- Big logic
- Ready for three minutes
- The stalled PLEG
- Terwayd unresponsive
- repair
Why can't we delete the cluster namespace?
- background
- Start from the cluster entrance
- What is the Controller doing?
- Back to the cluster entrance again
- Communication between node and Pod
- Why doesn't Route Controller work?
- Cluster nodes access cloud resources
- Problem big picture
Alibaba Cloud ACK product security group configuration management
- The role of security groups in ACK products
- Security group and ACK cluster network
- How to manage the security group rules of the ACK cluster
- Restrict cluster access to the external network
- IDC and cluster visits
- Manage nodes with new security groups
- Typical problems and solutions
- Use multiple security groups to manage cluster nodes
- Restrict cluster access to the public network or carrier-grade NAT reserved addresses
- Cross-node communication of container group is abnormal
One-half live microservices
- One-half live microservices
- Big picture that cannot be bypassed
- Agent and agent life cycle management
- Implementation of Readiness Check
- Control plane and data plane
- Simple reason
Summary of handling the miserable situation of Ca certificate expiration problem
- Citadel keeps restarting
- Certificate verification in general
- Okami theorem
- Citadel certification system
- Mistakes made
Reminder: forward + follow, private message [111] or [666] in the background.
Part2 Jenkins continuous integration entry to mastery
1. Introduction to continuous integration and Jenkins
- Software development life cycle
- Software development waterfall model
- Agile software development
- What is continuous integration
- Elements of continuous integration
- Benefits of continuous integration
- Introduction to Jenkins
2. Jenkins installation and continuous integration environment configuration
- Continuous integration process description
- Gitlab code hosting server installation
- Upload the source code to the Gitlab warehouse
- Continuous integration environment (1)-Jenkins installation
- Continuous integration environment (2)-Jenkins plugin management
- Continuous Integration Environment (3)-Jenkins User Rights Management
- Continuous integration environment (4)-Jenkins credential management
- Continuous integration environment (5)-Maven installation and configuration
- Continuous integration environment (6)-Tomcat installation and configuration
3. Jenkins builds a Maven project
- Jenkins project build type (1)-introduction to the project type built by Jenkins
- Jenkins project build type (2)-free style project build
- Jenkins project build type (3)-Maven project build
- Jenkins project build type (4)-Pipeline pipeline project build ()
- Jenkins project build details (1)-commonly used build triggers
- Jenkins project build details (2)-Git hook automatically triggers the build ()
- Jenkins project construction details (3)-Jenkins parameterized construction
- Jenkins project construction details (4)-configure the mailbox server to send the construction results
- Jenkins + SonarQube code review (1)-install SonarQube
- Jenkins + SonarQube code review (2)-implement code review
4. Jenkins + Docker + SpringCloud microservice continuous integration (part 1)
- Jenkins + Docker + SpringCloud continuous integration process description
- Overview of SpringCloud microservice source code
- Local deployment (1)-SpringCloud microservice deployment
- Local deployment (2)-front-end static web site
- Environment preparation (1)-Docker quick start
- Environment preparation (2)-quick start of Dockerfile image script
- Environmental preparation (3)-Harbor mirror warehouse installation and use
- Microservice continuous integration (1)-upload project code to Gitlab
- Microservice continuous integration (2)-pull project source code from Gitlab
- Microservice continuous integration (3)-submit to SonarQube code review
- Microservice continuous integration (4)-use Dockerfile to compile and generate images
- Microservice continuous integration (5)-upload to Harbor mirror warehouse
5. Jenkins + Docker + SpringCloud microservice continuous integration (part 2)
- Jenkins + Docker + SpringCloud deployment plan optimization
- Jenkins + Docker + SpringCloud cluster deployment process description
- Modify all microservice configuration
- Design the build parameters of the Jenkins cluster project
- Complete the micro service mirroring and upload the private server
- Complete the remote publishing of microservices with multiple servers
- Nginx + Zuul cluster to achieve high availability gateway
6. Build Jenkins continuous integration platform based on Kubernetes/K8S (on)
- Jenkins Master-Slave distributed construction
- Kubernetes realizes Master-Slave distributed construction scheme
- Kubeadm install Kubernetes
7. Build Jenkins continuous integration platform based on Kubernetes/K8S (below)
- Install and configure NFS
- Install Jenkins -Master in Kubernetes
- Jenkins and Kubernetes integration
- Build a Jenkins-Slave custom image
- Test whether Jenkins-Slave can be created
- Jenkins + Kubernetes + Docker completes continuous integration of microservices
Write at the end
This Kubernetes+JenKins understands 6 core principles at one time + learns 6 typical problems at one time, has been sorted and packaged, friends in need help forwarding + attention , background private message [111] or [666] can be ( 100% Pure free)