forked from Sonal0409/23MayDevOps_NOTES
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject Steps
More file actions
128 lines (57 loc) · 1.35 KB
/
Copy pathproject Steps
File metadata and controls
128 lines (57 loc) · 1.35 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Create a document
title-- devops project -1
Write introcdution to project in your words
tools:
git
docker
jenkins ansible
Repo: code base
https://github.com/Sonal0409/DevOpsClassCodes.git
Solution:
*************
Step1: git hub repo
screenshot
Step 2:
create a job - jenkins for continous build
package --> addressbook.war
Step3:
Install ansible
screenshots
ansible playbook -- install docker on a slave
create docker image -- dockerfile
container
***************************
Project 2:
********
Create a document
title-- devops project -1
Write introcdution to project in your words
tools:
git
docker
jenkins ansible
kube
monitoring
Repo: code base
https://github.com/Sonal0409/DevOpsClassCodes.git
Solution:
*************
Step1: git hub repo
screenshot
Step 2:
create a job - jenkins for continous build
package --> addressbook.war
Step3:
Install ansible
screenshots
ansible playbook -- install docker on a slave
create docker image -- dockerfile
Step 4: set up kube - GCP
Ansible playbook --> kube master(slave)
kubectl create -f https://raw.githubusercontent.com/Sonal0409/DevOps_ClassNotes/master/CICD%20pipeline/kubedeployment.yml
pods will be deployed
Step5: manually deploy prometheus in your cluster
take screenshot
granfan monitoring also
Step 6: implement autoscalling
take screenshot and paste