forked from linuxacademy/cicd-pipeline-train-schedule-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo
39 lines (22 loc) · 1.03 KB
/
todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
install publish over ssh plugin in jenkins
add a global variable
add ssh server
add credentials (git , docker , production server )
install pass ssh plugin
generate git api and add it in the github section in jenkins global config
KUBERNETS CLUSTER SETUP :
dockerio
kublet
kubeadm
kubectl
those 4 packages must be installed then we create a config file yml
then we run kubeadm init --config filename .
next we must configure networking using flannel
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
and finally we link the master node with the rest of the nodes using the command
DEPLOY USING KUBE/JENKINS :
INSTALL CONTINIOUS DEPLOY PLUGING FOR KUBERNETES.
set up kube cred (so that jenkins login , KUBECONFIG AS KIND , get the content of the kubeconfig from the master )
kube allow us to create yaml file in order to define kube obejct
next we create train-kube.yml where we going to define our kube objects .
then we add the pipelines scripts in the jenkins file .