FNNDSC/pfcon

Make Host Names Configurable

mamurak opened this issue · 6 comments

The host names of the third party services (swift, pman, pfioh) are currently hardcoded. Since these names are generally dependent on the particular runtime environment, changing them should not require rebuilding the service. (Side note: The current host names are not compliant with Kubernetes.)

AC: Please make the host names of third party services configurable using environment variables.

Note: For compatibility sake, it makes sense to make the host names settings optional, using the current host names as default values.

Go/no-go decision pending.

@mamurak Why is this ticket in the "pending to do" status? What blocks it?

@junaruga It was unclear whether adapting the current pfcon makes sense as it's currently being rewritten. However, I'm preparing a pull request right now as the adaptation is rather small.

@mamurak OK, thanks for the work!

I don't know how much would be out of scope, but it would be important for swift_service and the remote service names themselves configurable.

'host': {

We are moving torward a vision of "one pfcon per remote" (cc @jbernal0019)

Fixed by the new Flask-based pfcon .