Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and deployment of Kubernetes and Jenkins and integration of github

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The main purpose of this article is to share the installation and deployment of Kubernetes and Jenkins and the integration of github. The article also introduces the installation of Kubernetes components, the automated deployment of Kubernetes and the use of pipeline scripts. I hope you can get something from this article.

I. Overview 1.1. Introduction to the environment.

We use AWS's EC2 to build our cluster, the installation method uses kubeadm to install, if you use binary installation, you can refer to my relevant documentation.

System version: ubuntu 16.04k8s version: 1.17.1docker version: 18.06-ce1.2, flowchart

1.3.Cluster configuration name configure intranet IP external network IPk8s-master2 core 4GB172.31.20.18454.226.118.74k8s-node12 core 4GB172.31.27.6952.90.221.230k8s-node22 core 4GB172.31.30.93.85.219.119

II. K8s deployment

2.1.Install docker

To install the source, you can refer to the official document https://docs.docker.com/install/linux/docker-ce/ubuntu/. I will not demonstrate it here. If there is no special instructions, the operation will be performed on all three clusters.

Apt-get install docker-ce=18.06.3~ce~3-0~ubuntusystemctl enable docker2.2, install kubeadm, kubelet and kubectl

To install the source document, please refer to the official document https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm. I will omit the detailed steps here.

Sudo apt-get update & & sudo apt-get install-y apt-transport-https curlcurl-s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add-cat

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: 281

*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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report