News for hackers. Stuff that matters.
Re:Show HN: Kubernetes as a back-end for OpenFaaS by robszumski on Monday August 28, 2017 @07:06PM (#15120895)
I do this today with Terraform. If you have any existing cluster, disaster recovery is as easy as swapping the name in your tfvars, then running a new apply. [1] All new infra + kubernetes is set up. I then have a very simple bash script that is just ~30 `kubectl create` lines. I executed this when our automatic clean up script nuked my cluster due to incorrect tagging on my part. Time from monitoring critical alert to back up was under an hour.

[1]: https://coreos.com/tectonic/docs/latest/install/aws/manual-b...

Re:Show HN: Kubernetes as a back-end for OpenFaaS by hardwaresofton on Tuesday August 29, 2017 @02:24PM (#15126471)
The link you posted is to AWS -- have you ever used terraform on a bare-metal machine? I feel like I've said this at least 5 times so far, but every time I read the Terraform documentation, I get the distinct feeling it's not really for "bare metal" (that's what everyone seems to be calling a machine you actually own in someone's data center)

I really want to use Terraform, but it just doesn't look like it really wants to do the single server use case.