File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ def healthcheck(self):
3838 path = self .values .get ('HEALTHCHECK_URL' , '/' )
3939 timeout = int (self .values .get ('HEALTHCHECK_TIMEOUT' , 50 ))
4040 delay = int (self .values .get ('HEALTHCHECK_INITIAL_DELAY' , 50 ))
41- port = int (self .values .get ('HEALTHCHECK_PORT' , 5000 ))
4241 period_seconds = int (self .values .get ('HEALTHCHECK_PERIOD_SECONDS' , 10 ))
4342 success_threshold = int (self .values .get ('HEALTHCHECK_SUCCESS_THRESHOLD' , 1 ))
4443 failure_threshold = int (self .values .get ('HEALTHCHECK_FAILURE_THRESHOLD' , 3 ))
@@ -47,7 +46,6 @@ def healthcheck(self):
4746 'path' : path ,
4847 'timeout' : timeout ,
4948 'delay' : delay ,
50- 'port' : port ,
5149 'period_seconds' : period_seconds ,
5250 'success_threshold' : success_threshold ,
5351 'failure_threshold' : failure_threshold ,
@@ -66,7 +64,6 @@ def set_healthchecks(self):
6664
6765 # HTTP GET related
6866 self .values ['HEALTHCHECK_URL' ] = health ['path' ]
69- self .values ['HEALTHCHECK_PORT' ] = health ['port' ]
7067
7168 # Number of seconds after which the probe times out.
7269 # More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes
You can’t perform that action at this time.
0 commit comments