You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it seems that this program is used to be bundled with an other program (like nginx) which then can be reloaded etc. via the shell exec command.
In my case i'd like to run the rancher-gen in an sidekick container and then notifying the "main" container every time if there are changes in the template, but this is currently not possible.
So i thought it would be great if the rancher-api is included in this program so rancher-gen is possible to send the notify-cmd or check-cmd over the rancher-api to the desired containers (multi-host capable).
In our fork @emcniece and I are currently working to enable notification support depending on an container label so rancher-gen would be able to execute its notify/check-cmd on each container with the specified label.
Currently we have 3 options to achieve the notification over rancher-api:
rancher-gen and rancher-api are running in its own containers and rancher-gen uses the -privileged function to execute the command on rancher-api which then send the command to the provided containers
rancher-api is directly loaded into rancher-gen and running the commands "directly?"
Maybe we can use something like go-plugin (rpc) to implement an plugin system into rancher-gen and rancher-api is than a plugin which can be dynamically loaded into rancher-gen
I hope you understand what i mean and it would be great if you can give us your feedback.
The text was updated successfully, but these errors were encountered:
Hi Jan,
Currently it seems that this program is used to be bundled with an other program (like nginx) which then can be reloaded etc. via the shell exec command.
In my case i'd like to run the rancher-gen in an sidekick container and then notifying the "main" container every time if there are changes in the template, but this is currently not possible.
So i thought it would be great if the rancher-api is included in this program so rancher-gen is possible to send the notify-cmd or check-cmd over the rancher-api to the desired containers (multi-host capable).
In our fork @emcniece and I are currently working to enable notification support depending on an container label so rancher-gen would be able to execute its notify/check-cmd on each container with the specified label.
Currently we have 3 options to achieve the notification over rancher-api:
I hope you understand what i mean and it would be great if you can give us your feedback.
The text was updated successfully, but these errors were encountered: