-
Notifications
You must be signed in to change notification settings - Fork 41
feat: Investigate replacement for stackanetes-entrypoint #88
Comments
@alanmeadows can you elaborate a little for the general community? @PiotrProkop could make these changes happen since he has done most of this work for stackanetes. |
Currently, when trying to use the daemonset dependency, I get this:
Secondly, the config dependency is exactly what I'm looking for to template configmaps with runtime data. Kubernetes has already made it clear they do not want to support this natively, and recommend a templa-tizer init container or sidecar container. This could serve that purpose well however, I need it to do more.
|
Note that I just realized buried in that trace is an error about the POD_NAME not being specified. I will re-run tomorrow with that properly specified in the environment because in my real world scenario I believe that was specified. The nil daemonset pointer error was the same however. Specifically the goal here is for the new setup with neutron where there are several daemonsets that need to be ordered and we need to be able to depend on other daemonsets being ready: ovs-db > ovs-vswitchd > neutron-ovs-agent The finally: Neutron-ovs-agent > l3 agent |
If you have a problem with POD_NAME you need to pass following item as a env:
According to extensions, @PiotrProkop are we able to implement those functionalities? |
In future we can use AppController. Mirantis is working on integration with HELM. |
Daemonset dependency not working in init-container is just a bug which has to be resolved. I will create an issue on github and address it. When it comes to templating, we should prepare a list of missing features and resolve them one by one. If you could create issues with missing features I would appreciate. |
@alanmeadows We can start there discussion related with every improvement. I can take responsibility for resolving some issue in entrypoint. Also I made some research related with daemonset-dependency and for me it works fine but |
@alanmeadows did you get to this. i think you may have explained some of this offline. may be good to have tracked in an issue at stackanetes or here. just trying to keep up with some of our issues. |
The stackanetes-entrypoint image consistently leveraged runs into issues with DAEMONSET dependencies, and has trouble with config file dependencies. These should be documented in this issue subsequently but I do not have readily available access to tracebacks at the moment.
We either need to:
Investigate whether since its creation there is a now "standard" init container for dependency checking that is being widely used
If we continue to use it, ensure we are including it in our CI/CD pipelines we will develop and be creating issues to have the issues we encountered resolved in the upstream repository: https://github.com/stackanetes/kubernetes-entrypoint
The text was updated successfully, but these errors were encountered: