I have openstack deployed by openstack-helm. Sometimes my openstack cli is failed.

 

The error msg is:

Failed to discover available identity versions when contacting http://[redacted]:30500/v3. Attempting to parse version from URL.
Unable to establish connection to http://[redacted]:30500/v3/auth/tokens: HTTPConnectionPool(host='[redacted]', port=30500): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95da0db510>: Failed to establish a new connection: [Errno 111] Connection refused',))
 
I used nodeport instead of local domain. but I think it is not related with my issue.
 
Anyway at that time, I found that kubernetes endpoints of openstack service and mariadb were disappeared and it appeared again after 1-2 minutes.
 
How can I keep always openstack services k8s endpoints?
 
Thanks in advance.