3 ms·
I see, that makes more sense, thanks for the clarification. I’d still rather not have to debug arbitrary mutations to the env or file system in a production co
by theptip 5y ago
I see, that makes more sense, thanks for the clarification.
I’d still rather not have to debug arbitrary mutations to the env or file system in a production container though.
It seems to me that shelling into a prod container/VM is discouraged not because you might cause it to fail, but because you might produce undefined behavior while claiming it is healthy (more like Byzantine faults).
For example if you unset a single env var by mistake, then 1/N of your requests will potentially fail. Debugging this kind of issue is a nightmare.
Not to mention that developers can often run arbitrary SQL from a prod shell when the app is backed by a DB.
- yjftsjthsd-h 5y ago> For example if you unset a single env var by mistake, then 1/N of your requests will potentially fail. Or far worse, not fail.