File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ kind : Deployment
2+ apiVersion : apps/v1
3+ metadata :
4+ name : mydeployment
5+ spec :
6+ replicas : 2
7+ selector :
8+ mathLabels :
9+ app : myspringbootapp
10+ template :
11+ metadata :
12+ labels :
13+ app : myspringbootapp
14+ spec :
15+ containers :
16+ - name : myspringbootapp
17+ image : vikashashoke/mydemoapplication:latest
18+ imagePullPolicy : Always
19+ ports :
20+ - containerPort : 9099
Original file line number Diff line number Diff line change 1+ pipeline {
2+
3+ agent any
4+
5+ stages{
6+
7+ stage('git checkout'){
8+
9+ steps{
10+ git branch: 'main', url: 'https://github.com/vikash-kumar01/demo-counter-app.git'
11+ }
12+ }
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ kind : kind: Service
2+ apiVersion : v1
3+ metadata :
4+ name : myservice
5+ label :
6+ app : myspringbootapp
7+ spec :
8+ selector :
9+ app : myspringbootapp
10+ type : LoadBalancer
11+ ports :
12+ - nodePort : 30036
13+ port : 80
14+ targetPort : 9099
You can’t perform that action at this time.
0 commit comments