This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin Cookbook and have Ken Kousen on-line!
See this thread for details.
Win a copy of Kotlin Cookbook this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Cloud Native DevOps with Kubernetes

 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this book talk about scripting deployment of a Kubernetes cluster? For example., using Terraform scripts, I can specify a barebones k8s cluster and by the execution of this script my k8s cluster can be set up on demand on any cloud provider. does this book address this?
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Joe Harry wrote:Does this book talk about scripting deployment of a Kubernetes cluster?



Yes and no. We're less concerned in the book with provisioning Kubernetes clusters, and more concerned with what you do with them once you have them. Our recommendation is to use a managed service (such as Google Kubernetes Engine or Elastic Kubernetes Service) wherever possible, and of course Terraform providers are available to provision those, and you should definitely use them if Terraform is in your ecosystem. If a managed service isn't an option for whatever reason, we look at some of the dedicated tools for automated provisioning of Kubernetes on cloud services, such as kops.

In general, everything in the book is based around an infrastructure-as-code view of cloud operations, including Terraform, and there are some ready-to-use Terraform code examples in our GitHub repo: https://github.com/cloudnativedevops/demo
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
https://kubernetes.io/docs/setup/#production-environment is a good place to track the (growing) lists of ways to provision a k8s cluster. I agree with John that if you're already using Terraform, it probably makes sense to use that. In general I would say find a tool that more or less is meant for making a cluster that has the features you need, running on the platform you already use and supports your existing tooling/workflow VS picking one that is infinitely flexible. If you can use Terraform + GKE/EKS/AKS, I would do that. If you don't use terraform and _only_ run on AWS, I would probably just use eksctl. If you need to provision your own clusters on your own machines, I would start out with something like kubespray.
 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!