Replies: 3 comments 5 replies
-
Thanks @gguizza. I'll also share my comment here, to provide further context:
|
Beta Was this translation helpful? Give feedback.
-
It looks like the way that it is currently for containers would also be useful for non-containerized workloads. If I read into https://docs.score.dev/docs/extensions/
Why are we not putting a more generalized term like “workload” in the main spec? The corresponding CLI must transform into something usable/deployable and does encapsulate the translation mechanism. If there is additional information needed about the workload, then this can go into an extension file, like the route info for humanitec. This would provide exactly what is being asked for. A place to specify additional complexity, that is only needed for a specific runtime platform. The mechanism is already in place and we’re using it in this way - in this case, to add more depth to the DNS resource, to work in tandem with the runtime platforms ingress mechanism. This would not lead to pollution of the core spec and also not water down the mandate to reduce cognitive load as good as possible - other workloads than containers might be leaky, but they can only leak complexity into the extension file for the runtime platform. |
Beta Was this translation helpful? Give feedback.
-
Right now, score adoption is minimal and it will be a while before adopters have rolled it out to just their containerised workloads. I don't know if, after that point, the industry trend will be to migrate everything to containers (including FaaS?) or whether the next logical step might be to extend score to non-containerised workloads and truly have one yaml to rule them all. (I don't think anyone can answer this right now.) In view of this, keeping our options open and deferring commitment to the last responsible moment seems sensible. For me, this means keeping the language abstract and avoiding coupling the spec to the implementation. Edit - adding actual support is not what I would advocate for right now - just not precluding it through tight coupling to containers. |
Beta Was this translation helpful? Give feedback.
-
We deemed important bringing this public discussion happening on the Score Slack channel to a GitHub Discussion to include more contributors and team members. Pasting here the first comment, from Aaron Knauf, a community member:
Feel free to contribute to the discussion and to share your opinion.
Beta Was this translation helpful? Give feedback.
All reactions