File tree 2 files changed +0
-58
lines changed
buildSrc/src/test/resources/project_customizer/common/src/main/bash/k8s
2 files changed +0
-58
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,3 @@ apiVersion: extensions/v1beta1
2
2
kind : Deployment
3
3
metadata :
4
4
name : {{appName}}
5
- spec :
6
- replicas : 1 # tells deployment to run 2 pods matching the template
7
- template : # create pods using pod definition in this template
8
- metadata :
9
- labels :
10
- name : {{appName}}
11
- spec :
12
- containers :
13
- - name : {{appName}}
14
- image : {{eurekaImg}}
15
- ports :
16
- - containerPort : 8761
17
- env :
18
- - name : PORT
19
- value : " 8761"
20
- - name : eureka_client_serviceUrl_defaultZone
21
- value : " http://{{appUrl}}:8761/eureka/"
22
- livenessProbe :
23
- httpGet :
24
- path : /health
25
- port : 8761
26
- initialDelaySeconds : 30
27
- periodSeconds : 3
28
- readinessProbe :
29
- httpGet :
30
- path : /health
31
- port : 8761
32
- initialDelaySeconds : 30
33
- periodSeconds : 3
Original file line number Diff line number Diff line change @@ -2,32 +2,3 @@ apiVersion: extensions/v1beta1
2
2
kind : Deployment
3
3
metadata :
4
4
name : {{appName}}
5
- spec :
6
- replicas : 1 # tells deployment to run 2 pods matching the template
7
- template : # create pods using pod definition in this template
8
- metadata :
9
- labels :
10
- name : {{appName}}
11
- spec :
12
- containers :
13
- - name : {{appName}}
14
- image : {{eurekaImg}}
15
- ports :
16
- - containerPort : 8761
17
- env :
18
- - name : PORT
19
- value : " 8761"
20
- - name : eureka_client_serviceUrl_defaultZone
21
- value : " http://{{appUrl}}:8761/eureka/"
22
- livenessProbe :
23
- httpGet :
24
- path : /health
25
- port : 8761
26
- initialDelaySeconds : 30
27
- periodSeconds : 3
28
- readinessProbe :
29
- httpGet :
30
- path : /health
31
- port : 8761
32
- initialDelaySeconds : 30
33
- periodSeconds : 3
You can’t perform that action at this time.
0 commit comments