flux-framework / flux-k8s

Project to manage Flux tasks needed to standardize kubernetes HPC scheduling interfaces
Apache License 2.0
21 stars 10 forks source link

Flux-Kube translation library #11

Closed milroy closed 2 years ago

milroy commented 3 years ago

This PR adds the functionality of mapping a Flux jobspec to an OpenShift template. The library takes a Flux jobspec and matches the jobspec command to a corresponding OpenShift template name. It then matches the template parameter overrides specified in the jobspec's system attributes to the overrides available in the selected template. The library returns a service, which is the selected template with the dictionary of parameter overrides.

milroy commented 2 years ago

I've addressed an issue with the commit message and applied black formatting. I think this is ready to be merged. @dongahn or @SteVwonder could you take a look?

milroy commented 2 years ago

Closing this PR as the commits were merged with PR #14.