3 ms·
You could rather easily manage this flow with ansible. K8s abstracts a lot of the pieces in your ansible plays away, but comes back at you in form of a rather c
by jordanbeiber 7y ago
You could rather easily manage this flow with ansible.
K8s abstracts a lot of the pieces in your ansible plays away, but comes back at you in form of a rather complex stack.
Say you want to host instances of this app in a DC/cloud, k8s would be more appropriate, and perhaps then it would make sense to go single node “micro-k8s” style (for single server locations), to give you a common api for managing deployments, network configuration, security etc.
Win with k8s is that once you’re tuned, a lot of “config crap” is abstracted away, basically.
But - there's a reason ansible is supported specifically through the “operators” SDK, something we use to manage seamless upgrades of a k8s deployed app:
https://github.com/operator-framework/operator-sdk/blob/master/doc/proposals/ansible-operator.md https://github.com/operator-framework/operator-sdk/blob/mast...
Edit - forgot that if meteics based autoscaling of the app is a requirement my experience is that k8s makes this a breeze. Probably not a req if using single node hosts though...