KubeSphere troubleshooting practice
Overview: Kubesphere, which is using qincloud recently, has excellent user experience, privatization deployment, no infrastructure dependence, no Kubernetes dependence. It supports cross physical machine, virtual machine and cloud platform deployment, and can manage Kubernetes clusters of different versions and manufacturers. In the k8s layer ...
Posted by christofurr on Sat, 21 Mar 2020 15:45:49 +0100
jenkins continuous integration tool use-01. Environment installation (centos7)
1. Installation dependency
1.1 install jdk
# View the installable version of jdk
yum -y list java*
# Select the required version to install
yum install -y java-1.8.0-openjdk-devel.x86_64
# View version information
java -version
# View installation location
which java
1.2 install git
# Install git ...
Posted by jofield on Thu, 27 Feb 2020 03:23:12 +0100
Use Sonar for Code Quality Management and Mail Alarm
1. Overview of Sonar
Sonar is an open platform for code quality management.Through the plug-in mechanism, Sonar can integrate different testing tools, code analysis tools, and continuous integration tools.
Unlike continuous integration tools such as Hudson/Jenkins, Sonar does not simply display the results of different code inspection tools (s ...
Posted by NixNod on Thu, 13 Feb 2020 23:00:45 +0100
Installation and use of Jenkins
What is Jenkins?
Similar to Travis CI, it is simply an online code building platform
Official website
https://jenkins.io/
install
The server
Service provider: Tencent cloud
System: CentOS 6.8 64bit
CPU: 1 core 1G
Memory: 2G
Hard disk: 50G
Environmental configuration
In this article, I mainly configur ...
Posted by MishaPappa on Thu, 02 Jan 2020 12:29:43 +0100
Build gitlab and deploy gitlab runner
1. Build gitlab. Before installing gitlab from yum, 502 errors were reported all the time after installation. Baidu tried online but still couldn't use it;
So this time, it is deployed in docker, as follows:
docker run --detach --hostname gitlab.forebix.com --publish 4433:443 --publish 10080:80 --publish 8022:22 --name gitlab --rest ...
Posted by Lashiec on Sat, 09 Nov 2019 16:11:42 +0100
Installing Jenkins on k8s and common problems
Continuous integration and deployment is an important part of DevOps. Jenkins is a very popular tool for continuous integration and deployment. Recently, I tested Jenkins and found that it is the most complex tool I have used for some time. One possible reason is that it needs to be integrated with various other tools to complete the task, and ...
Posted by indigo2k on Tue, 05 Nov 2019 08:22:34 +0100
[Kubernetes series] Part 7: component deployment of CI/CD
Preface
In response to the needs of agile development, a higher standard is proposed for ci (continuous integration) / CD (continuous delivery). Today, we will discuss how to use CI/CD based on open source components (gitlab/jenkins/harbor/kubernetes) to enable the development, operation and maintenance of the team.
Core components
Basic proce ...
Posted by zfred09 on Thu, 24 Oct 2019 05:59:24 +0200
Installing jenkins in k8s and realizing dynamic generation of jenkins slave
Install jenkins1. Create a namespace$ kubectl create namespace kube-ops2. Create pvc for jenkins (you can also use storage classes)
apiVersion: v1
kind: PersistentVolume
metadata:
name: opspv
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Delete
nfs:
server: 192.168.1.244
path: ...
Posted by passagewds on Wed, 04 Sep 2019 17:14:12 +0200
Jenkins small project - Code testing, deployment, rollback, keepalived+haproxy scheduling to tomcat
1. Configure the java environment of two tomcat back-end services separately
1) Prepare jdk8 compression packages
[root@tomcat jdk]# pwd
/usr/local/src/jdk
root@tomcat jdk]# ls
jdk-8u211-linux-x64.tar.gz
2) Unzip the jdk package in the current directory and create a soft connection
[root@tomcat jdk]# tar xvf jdk-8u211-linux-x64.tar.gz
[root@ ...
Posted by Major Tom on Mon, 05 Aug 2019 11:11:31 +0200
Implementing cicd by installing Jenkins in kubernetes cluster
I. Installation of Jenkins
1. Installing Storage Server
Find a server to build an nfs server. See Ubuntu 16.04 Installation nfs > for details.
System: Ubuntu 16.04
IP: 172.18.1.13
apt install nfs-common nfs-kernel-server -y
#Configuration mount information
cat /etc/exports
/data/k8s *(rw,sync,no_root_squash)
#Add permissions to directorie ...
Posted by maxrisc on Wed, 03 Jul 2019 22:01:50 +0200