News for hackers. Stuff that matters.
Re:Ask HN: Has anyone migrated off containerized infrastruct... by tleasure on Friday August 14, 2020 @09:07AM (#24157386)
Sometimes you have to quickly roll forward.
Re:Ask HN: Has anyone migrated off containerized infrastruct... by Raidion on Friday August 14, 2020 @09:10AM (#24157416)
Those sometimes should be super rare, and you should build testing infrastructure to prevent that from needing to happen. When you release something, you move traffic from the alb over to the new instance, if you have an issue, just move it back. If you are deploying breaking changes and don't provide yourself a stable upgrade and downgrade path, yea, you're gonna have trouble.
Re:Ask HN: Has anyone migrated off containerized infrastruct... by tashoecraft on Friday August 14, 2020 @09:33AM (#24157711)
I’ve learned to take the time and go through the normal deploy steps for any hot fix. More often then not, rushing the steps leads to longer outages, missing the actual bug, creating a new bug, etc.

Don’t cowboy it, deploy properly and you’ll be more relaxed in the long term.

Re:Ask HN: Has anyone migrated off containerized infrastruct... by tleasure on Friday August 14, 2020 @10:18AM (#24158248)
Yeah, I should have been more clear. I'm 100% for using normal deploy steps and I'm not recommending cowboy-ing updates in a container.

He was asking about using non-containerized infr though. If you can commit a code hotfix and quickly deploy the code package, you can roll forward without the slow container build/deploy.

Re:Ask HN: Has anyone migrated off containerized infrastruct... by gregorymfoster on Friday August 14, 2020 @09:14AM (#24157474)
Incidents _requiring_ rolling forward are extremely rare. In the cases you have to, just build the image and deploy to your cluster with a high max-surge configured.

If you image has correct caching, rebuilding it shouldn't take much time. Most of your time is likely spent in CI and rolling deployments, both of which you can manually skip.

Re:Ask HN: Has anyone migrated off containerized infrastruct... by PragmaticPulp on Friday August 14, 2020 @10:21AM (#24158287)
> If you image has correct caching

This is the hangup for most CI/CD systems with containers. Typical configurations (e.g. Gitlab basic setup) don't leverage any caching, so every container is built 100% from scratch, every time.

Adjusting the system to properly utilize caching and ordering your container builds in a way that the most volatile steps are as late as possible in the build will massively speed up container builds.

Re:Ask HN: Has anyone migrated off containerized infrastruct... by tantalor on Friday August 14, 2020 @09:11AM (#24157431)
Please do not.