Browse Source

Change default listening address for health checks.

Currently, regardless of the version of the IP protocol used, health
check services for kuryr CNI and kuryr controller, are always listen on
0.0.0.0, which effectively means any interface. In this patch we propose
to chang that to include IPv6 address as well.

Change-Id: I96fc1033b93bd54b70c7caaa428076baf73b4207
tags/2.0.0.0rc1
Roman Dobosz 3 months ago
parent
commit
24ea73564f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      kuryr_kubernetes/cni/health.py
  2. +1
    -1
      kuryr_kubernetes/controller/managers/health.py

+ 1
- 1
kuryr_kubernetes/cni/health.py View File

@@ -152,7 +152,7 @@ class CNIHealthServer(object):
return data, httplib.OK, self.headers

def run(self):
address = '0.0.0.0'
address = '::'
try:
LOG.info('Starting CNI health check server.')
self.application.run(address, CONF.cni_health_server.port)


+ 1
- 1
kuryr_kubernetes/controller/managers/health.py View File

@@ -112,7 +112,7 @@ class HealthServer(object):
return data, httplib.OK, self.headers

def run(self):
address = '0.0.0.0'
address = '::'
try:
LOG.info('Starting health check server.')
self.application.run(address, CONF.health_server.port)


Loading…
Cancel
Save