-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Switch to new compose library #63
Comments
An initial version of the library should be ready to be published once k9withabone/compose_spec_rs#1 is completed. Podlet can then switch to it as the other features (merging, interpolation, etc.) are not a requirement. |
|
I'm a bit stuck on figuring out how a service
Is it correct to use I'm not sure who the best person to ask about this is, but @cdrage, since you worked on kompose, what do you think about this? |
To be honest, we never found an answer and did not incorporate it with Kompose :( See: https://kompose.io/conversion/ There's no equivalent for it within Kubernetes. We instead just have to explain to others that your application should be built-in with retry methods / retrying if it cannot connect to something / timeout instead of having to implement depends_on in a hacky way. |
Since I haven't been able to find help for this I'm going to go with what I outlined above (using |
Actually, looking at the systemd.unit docs again, it seems I actually want |
I'm currently developing a new Rust library which does a better job of conforming to the compose-spec. The library can be found at k9withabone/compose_spec_rs. For podlet, it will replace the
docker-compose-types
library currently used.The new library will be completely documented, conform only to the compose-spec, fully parse and validate each part of compose files, and adhere to semantic versioning. That last part is especially important as I plan to turn all the conversion logic of podlet into a library so that it can be used to create a web version of podlet.
This issue is blocked until the
compose_spec
library is ready and published.The text was updated successfully, but these errors were encountered: