You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With an example: If we don't set the REANA_DB_PORT environment variable, Kubernetes will set it as a Docker link (see more here) because (by default) there is a service called reana-db and using the Docker link naming scheme an env variable REANA_DB_PORT is created:
Disable service discovery through environment variables (see kubernetes/kubernetes#60099), remove all our dependencies on it and rely uniquely on DNS service discovery (security advantage, as we don't expose all services in user jobs).
Some occurrences of service discovery through environment variables in REANA:
Stemmed from reanahub/reana#309 (comment)
Problem
A collision between REANA-DB configuration variable for DB port and naming for service discovery through environment variables in Kubernetes.
Example
With an example: If we don't set the
REANA_DB_PORT
environment variable, Kubernetes will set it as a Docker link (see more here) because (by default) there is a service called reana-db and using the Docker link naming scheme an env variableREANA_DB_PORT
is created:Possible solution
Disable service discovery through environment variables (see kubernetes/kubernetes#60099), remove all our dependencies on it and rely uniquely on DNS service discovery (security advantage, as we don't expose all services in user jobs).
Some occurrences of service discovery through environment variables in REANA:
The text was updated successfully, but these errors were encountered: