File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ releases:
24
24
pullPolicy : Always
25
25
pullSecrets :
26
26
- " pull-secret"
27
- replicaCount : 2
27
+ replicaCount : 5
28
28
# Deployment configuration
29
29
deployment :
30
30
enabled : true
@@ -40,8 +40,9 @@ releases:
40
40
enabled : true
41
41
env :
42
42
# Color to deploy
43
- COLOR : " #0099ff" # Blue
43
+ # COLOR: "#0099ff" # Blue
44
44
# COLOR: "#009900" # Green
45
+ COLOR : " {{ env " COLOR" }}"
45
46
46
47
# Service endpoint
47
48
service :
@@ -79,11 +80,11 @@ releases:
79
80
path : /healthz
80
81
port : default
81
82
scheme : HTTP
82
- periodSeconds : 5
83
- initialDelaySeconds : 2
84
- timeoutSeconds : 5
83
+ periodSeconds : 3
84
+ initialDelaySeconds : 3
85
+ timeoutSeconds : 3
85
86
successThreshold : 1
86
- failureThreshold : 3
87
+ failureThreshold : 2
87
88
scheme : HTTP
88
89
89
90
# Probe that ensures service has started
@@ -92,9 +93,9 @@ releases:
92
93
path : /healthz
93
94
port : default
94
95
scheme : HTTP
95
- periodSeconds : 5
96
- initialDelaySeconds : 2
97
- timeoutSeconds : 5
96
+ periodSeconds : 3
97
+ initialDelaySeconds : 3
98
+ timeoutSeconds : 3
98
99
successThreshold : 1
99
100
failureThreshold : 2
100
101
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func main() {
24
24
http .HandleFunc ("/boom" , func (w http.ResponseWriter , r * http.Request ) {
25
25
fmt .Fprintf (w , string (boom ))
26
26
fmt .Printf ("Goodbye\n " )
27
- //die( )
27
+ os . Exit ( 0 )
28
28
})
29
29
30
30
// Dashboard
@@ -44,7 +44,3 @@ func main() {
44
44
45
45
http .ListenAndServe (":8080" , nil )
46
46
}
47
-
48
- func die () {
49
- os .Exit (3 )
50
- }
You can’t perform that action at this time.
0 commit comments