News for hackers. Stuff that matters.
Re:Kubernetes by Example by zimbatm on Wednesday May 31, 2017 @03:09PM (#14455087)
It's debatable. Ansible/Chef/Puppet themselves need to be bootstrapped as well.

Bash is perfectly fine if the machine can be installed with less than 100 lines of code and immutable infrastructure is being used (so no need for idempotent operations). Just make sure to add ShellCheck to the CI pipeline.

Re:Kubernetes by Example by icebraining on Wednesday May 31, 2017 @06:08PM (#14456320)
Ansible/Chef/Puppet themselves need to be bootstrapped as well.

Nope, Ansible just needs SSH access.

Re:Kubernetes by Example by Whitestrake on Wednesday May 31, 2017 @11:56PM (#14457898)
Remote hosts need Python, but you can use the raw command functionality to figure out what the remote package manager is and install Python as required.
Re:Kubernetes by Example by zimbatm on Thursday June 01, 2017 @09:49AM (#14460175)
Not when using AutoScaling Groups. Then the machine will be provisioned on boot and therefor ansible would have to be installed on the machine.
Re:Kubernetes by Example by icebraining on Thursday June 01, 2017 @01:46PM (#14462598)
No, you'd use Ansible to prepare the new image once, then you'd use that image to scale. Bootstrapping everything each time a VM is created doesn't make much sense.
Re:Kubernetes by Example by tdurden on Wednesday May 31, 2017 @10:43PM (#14457601)
> Bash is perfectly fine if the machine can be installed with less than 100 lines of code

It is always tough to predict the future; something < 100 lines can easily grow over time. It is nice to start with a tool like Chef/Ansible/Puppet which can more easily grow as the project grows vs Bash.

Re:Kubernetes by Example by zimbatm on Thursday June 01, 2017 @09:51AM (#14460187)
I agree that it's hard to predict the future, that's why I'm not trying to add unnecessary dependencies. 100 lines of code are not hard to rewrite in anything else if necessary.