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:
2424 pullPolicy : Always
2525 pullSecrets :
2626 - " pull-secret"
27- replicaCount : 2
27+ replicaCount : 5
2828 # Deployment configuration
2929 deployment :
3030 enabled : true
@@ -40,8 +40,9 @@ releases:
4040 enabled : true
4141 env :
4242 # Color to deploy
43- COLOR : " #0099ff" # Blue
43+ # COLOR: "#0099ff" # Blue
4444 # COLOR: "#009900" # Green
45+ COLOR : " {{ env " COLOR" }}"
4546
4647 # Service endpoint
4748 service :
@@ -79,11 +80,11 @@ releases:
7980 path : /healthz
8081 port : default
8182 scheme : HTTP
82- periodSeconds : 5
83- initialDelaySeconds : 2
84- timeoutSeconds : 5
83+ periodSeconds : 3
84+ initialDelaySeconds : 3
85+ timeoutSeconds : 3
8586 successThreshold : 1
86- failureThreshold : 3
87+ failureThreshold : 2
8788 scheme : HTTP
8889
8990 # Probe that ensures service has started
@@ -92,9 +93,9 @@ releases:
9293 path : /healthz
9394 port : default
9495 scheme : HTTP
95- periodSeconds : 5
96- initialDelaySeconds : 2
97- timeoutSeconds : 5
96+ periodSeconds : 3
97+ initialDelaySeconds : 3
98+ timeoutSeconds : 3
9899 successThreshold : 1
99100 failureThreshold : 2
100101
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func main() {
2424 http .HandleFunc ("/boom" , func (w http.ResponseWriter , r * http.Request ) {
2525 fmt .Fprintf (w , string (boom ))
2626 fmt .Printf ("Goodbye\n " )
27- //die( )
27+ os . Exit ( 0 )
2828 })
2929
3030 // Dashboard
@@ -44,7 +44,3 @@ func main() {
4444
4545 http .ListenAndServe (":8080" , nil )
4646}
47-
48- func die () {
49- os .Exit (3 )
50- }
You can’t perform that action at this time.
0 commit comments