当前位置:网站首页>Kubernetes 1.20.5 helm installation Jenkins
Kubernetes 1.20.5 helm installation Jenkins
2022-06-24 17:05:00 【I have nothing to do with you】
Initial environment
kubeadm build kubenretes 1.20.5 Clusters are as follows
front https://www.yuque.com/duiniwukenaihe/ehb02i/dkwh3p Installed when cilium hubble Installed when helm3.
Storage integrates Tencent cloud Of cbs Block storage
The Internet ? traefik agent ( pure http, All certificates to Tencent cloud load balancing clb 了 )
Prepare the integration plan cicd Or go through the traditional jenkins github spinnaker These kinds of integration . First, build a basic environment . From jenkins Here we go
1. Again helm3 Installation
1. download helm Applications
https://github.com/helm/helm/releases
Now the latest version 3.5.3 Well ? Find the package download of the corresponding system platform
2. install helm
Upload tar.gz Package to server ( I am a master Random nodes are OK )
tar zxvf helm-v3.5.3-linux-amd64.tar.gz mv linux-amd64/helm /usr/bin/helm
ok helm Installation successful
2. jenkins Configuration and installation of
2.1. helm add to jenkins Warehouse . and pull Next jenkins Version pack
helm repo add jenkins https://charts.jenkins.io helm pull jenkins/jenkins # My version is still 3.3.0 The same goes for other versions tar zxvf jenkins-3.3.0.tgz
2.2. Change... According to personal needs value.yaml
cd jenkins Catalog , take values.yaml The installation needs to be changed
The individual has modified clusterZone And the default storage uses Tencent cloud's cbs.
3. helm install jenkins To designate namespace
3.1. Normal installation process
kubectl create ns kube-ops helm install -f values.yaml jenkins jenkins/jenkins -n kube-ops
3.2. Installing int Download plug-ins waiting for too long
Downloading plug-ins is a mess , Can't wait for time to value.yaml The process of installing plug-ins in the file is commented out .
Comment out install Install the plug-in manually behind
I commented it out and deleted it helm The deployment process has been restarted .
helm delete jenkins -n kube-ops helm install -f values.yaml jenkins jenkins/jenkins -n kube-ops
As expected, the comment is deleted and the system is started directly
4. Some things after initialization
4.1. wait for pod Initialization startup complete
4.2 The initialization password is log Search for
Look for the password in the traditional way first :
kubectl logs -f jenkins-0 jenkins -n kube-ops
Well, the password isn't there log Medium
4.3. Get it right jenkins The way of initial password secret
printf $(kubectl get secret --namespace kube-ops jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo5. traefik agent jenkins application
(https://www.yuque.com/duiniwukenaihe/ehb02i/odflm7 The way of construction and agency has been indicated above )
Still used to ingressroute agent jenkins
cat jenkins-ingress.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
namespace: kube-ops
name: jenkins-http
spec:
entryPoints:
- web
routes:
- match: Host(`jenkins.saynaihe.com`)
kind: Rule
services:
- name: jenkins
port: 8080kubectl apply -f jenkins-ingress.yaml
6. web visit jenkins application
6.1. land jenkins web
what I didn't enter the account and password ? I don't know why I can log in for the first time after initialization without a password .......
6.2 Change security settings , Users are not allowed to log in anonymously
Create the initial administrator user
6.3 Install Chinese plug-in
OK Start installing the plug-ins , Install the Chinese plugin first , Restart after installation ....
The Chinese plug-in installation is completed . Well, my personal password is still valid here ......
6.4 Install it. helm Plug ins masked during initialization
Then helm Manually install the initialization plug-ins shielded in ? Just install the following four plug-ins manually . It's also common kubernetes plug-in unit .
Wait until it's done . restart jenkins application
7. Colored eggs
Um. My password is wrong after restart ...what
With the idea of trying, I drove into above 4.3 What I got in step key ok Went in. .....
Here is a simple record of the application installation process , Concrete jenkins libraries pipeline and kubernetes spinnaker gitlab All the environments such as the integration of have been built and written together .
边栏推荐
- Principle analysis of robot hardware in the loop system
- Page scrolling effect library, a little skinny
- What is the difference between a network card and a port
- What is the reason for the worse website SEO ranking?
- What is Ethernet
- Bypass kernel function pointer integrity check
- [playing with Tencent cloud] a solution to the impassability of cross-border access to foreign websites using Tencent cloud CVM
- 06. Tencent cloud IOT device side learning - Introduction to basic functions
- 2021-04-02: given a square or rectangular matrix, zigzag printing can be realized.
- 05. Tencent cloud IOT device side learning -- mqtt protocol client implementation
猜你喜欢

A survey on model compression for natural language processing (NLP model compression overview)

A survey on dynamic neural networks for natural language processing, University of California

MySQL learning -- table structure of SQL test questions

Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)

A survey of training on graphs: taxonomy, methods, and Applications
![[leetcode108] convert an ordered array into a binary search tree (medium order traversal)](/img/e1/0fac59a531040d74fd7531e2840eb5.jpg)
[leetcode108] convert an ordered array into a binary search tree (medium order traversal)
随机推荐
If only 2 people are recruited, can the enterprise do a good job in content risk control?
How do HPE servers make RAID5 arrays? Teach you step by step today!
What is Ethernet
Low education without food? As an old Android rookie in the past six years, I was the most difficult one
Clickhouse high performance column storage core principle
Complete the log service CLS questionnaire in 1 minute and receive the Tencent cloud 30 yuan threshold free voucher ~
Introduction of thread pool and sharing of practice cases
让UPS“印象派用户”重新认识可靠性
IBM:以现代化架构支撑AI与多云时代的企业数字化重塑
Following the previous SYSTEMd pit
主链系统发展解析
How to get the response body content in gin?
Serial of H3CNE experiment column - VLAN configuration experiment, access and trunk
Data acquisition and transmission instrument reservoir dam safety monitoring
MySQL learning -- table structure of SQL test questions
How important is it to document the project? I was chosen by the top 100 up leaders and stood up again
Several cloud products of Tencent cloud have passed IPv6 enabled cloud logo certification
Automatically refresh CDN cache in real time based on cos log
[web] what happens after entering the URL from the address bar?
Introduction to koa (II) building the koa program