kubernetes - Containers reconfiguration in real-time -


i have faced following case , haven't found clear answer me.

preconditions:

  • i have kubernetes cluster
  • there options related application (for example debug_level=error)
  • there pods running , each of them uses configuration (env, mount path or cli args)
  • later need change value of option (the same 'debug_level' error -> debug)

the q is: how should notify pods configuration has changed?

earlier send hup signal exact process directly or call systemctl reload app.service

what best practices use-case?

thanks.

i think achieve using sidecar containers. sidecar container monitor changes in configuration , send signal appropiate process. more info here: http://blog.kubernetes.io/2015/06/the-distributed-system-toolkit-patterns.html


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -