Closed dwbrite closed 7 months ago
I'm not certain exactly how to do this, but Unix IPC might be a good place to start? :thinking:
/proc/[pid]/fd/0
is stdin for a program.
you can create a .pid file in /var/run/
if you want to find a certain program's pid. Probable use-case would be blue-website-rs.pid
and green-website-rs.pid
I might want to create a "brite-site-orchestrator" to handle this type of thing, especially if I handle deployment here too.
This might be a non-issue if we get green-blue deployment working w/ k8s.
solved: green-blue orchestration w/ k8s and istio virtual-server
https://github.com/dwbrite/firenet/commit/f19f3ab22dcb1e77726044c2998d1a7fcdc8c9fc
Issue:
A number of features don't update until the server is stopped and restarted, reducing uptime. Specifically