3 ms·
yeah but if your org has orchestration tooling built around k8s, in a way it becomes much easier to provision a DB with k8s, setup the service, routing, network
by annexrichmond 4y ago
yeah but if your org has orchestration tooling built around k8s, in a way it becomes much easier to provision a DB with k8s, setup the service, routing, networking, roles, etc than it would be in terraform. especially if you have to repeat this process in like 20 envs (stage, prod) x multiple regions
- stonogo 4y agoThis sounds dangerously close to "yeah but if the only tool you know is a hammer..."
- marcinzm 4y agoCan’t you just use this then: https://aws.amazon.com/blogs/containers/aws-controllers-for-kubernetes-ack/ https://aws.amazon.com/blogs/containers/aws-controllers-for-...
- _cenw 4y agoIf you want to use k8s as your dataplane, sure. Though I'd rather entrust that task to Crossplane. There's always a point at which running things on Kubernetes becomes worth it. RDS is an expensive service, and if you want to enable every developer to boot up a development environment, or several even, if becomes prohibitivly expensive to use one process for everything. This is also true about running any workloads on Kubernetes to begin with though, and many companies definitely would be better off with a service like ECS/FarGate/CloudRun/Fly.io. Especially if they don't need the flexibility to build their own addon metrics/secrets/logging stacks.
- moondev 4y agoIt's the same RDS though. These controllers enable you to manage the lifecycle of the exact same AWS services you get when using the AWS console or CLI. Kubernetes is the porcelain and AWS offerings are still the plumbing.
- AtlasBarfed 4y agoIf (big if,) you org orchestration supports stateful sets. Where I was the tooling was very focused on disposable api servers.