4 ms·
This seems like an application/stack that didn't have a valid need for k8s in the first place. Don't just use K8s because its what people say you should do. eva
by acedTrex 4y ago
This seems like an application/stack that didn't have a valid need for k8s in the first place. Don't just use K8s because its what people say you should do. evaluate the pros and the VERY real cons and make an informed decision.
- bdcravens 4y agoThat's why we've had good results with ECS. Feels like 80% of the result for 20% of the effort, and I haven't found our use cases needing that missing 20%.
- sgarland 4y agoWith EC2 launch types, probably. Setting up ECS for Fargate with proper IaC templates/modules isn't much easier than EKS, IMO.
- bdcravens 4y agoWe use Fargate, and what we launch is tightly coupled to our application (background jobs spin down and spin up tasks via the SDK) so for now, we aren't doing anything with IaC, other than CI deployment.
- brigadier132 4y agoOn the Google cloud side, using Google cloud build with cloud run with automatic CI/CD is very straightforward. I setup automated builds and deploys for staging in 2 hours. For production I set it up to track tagged branches matching a regex.
- Aeolun 4y agoMostly because CF and CDK have spawned from the deepest pits of hell. It’s ok when using terraform, and downright pleasant when using Pulumi.
- jamesfinlayson 4y agoWhen I had to set up ECS with Fargate using CloudFormation the documentation was certainly lacking (in late 2019 I think it was). Now that it's working it's been pretty low maintenance.
- bdcravens 4y agoIt has definitely gotten better over time, but we tend to do a lot of stuff ad-hoc that finds its way into production lol, so we aren't yet relying on any infra as code.
- josevalerio 4y agoI recommend everyone take a look at ECS patterns. This is incredibly easy in $CURRENT_YEAR. Give it a dockerfile / image and CDK deploy: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs_patterns.ApplicationLoadBalancedFargateService.html https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_...
- birdyrooster 4y ago“Need” Eh, I do it because it’s awesome for a single box or thousands. Single sign on, mTLS everywhere, cert-manager, BGP or L2 VIPs to any pod, etc and I can expand horizontally as needed. It’s the best for an at home lab. I pity the people who only use Proxmox.
- klabb3 4y agoEven k3s used 500MB and 2-5% CPU for a single server node with 0 user space pods. That seems incredibly bloated to me.