In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about the deployment steps of K8S, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
K8s has always been in a vague understanding, because the deployment of micro services in the project uses K8s, learn and record it.
The first is the whole process of pipeline deployment, which is illustrated by the following figure:
The deployment steps are as follows:
The user submits the code to Gitlab, which must contain Dockerfile
Submit the code to the remote warehouse
Users need to fill in the address and branch of git warehouse, service type, service name, number of resources and number of instances when publishing the application, and trigger the automatic construction of Jenkins after determination.
Jenkins's CI pipeline automatically compiles the code and packages it into a Docker image and pushes it to the Harbor image repository.
The CI pipeline of Jenkins includes a custom script that replaces the variables with the options entered by the user according to the YAML template of Kubernetes that we have prepared
Generate the Kubernetes YAML configuration file for the application
Update the configuration of Ingress and add a routing information to the configuration file of Ingress based on the name of the newly deployed application
Update the PowerDNS and insert a DNS record into it, and the IP address is the IP address of the edge node. For edge nodes, check the edge node configuration
Jenkins calls Kubernetes's API to deploy the application
After reading the above, do you have any further understanding of what the K8s deployment steps are? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.