Kubernetes: Provisioning with Terraform and Kubespray

Kubernetes: Provisioning with Terraform and Kubespray

1h 34mIntermediate2023-09-20

Authors

Carlos Nunez

Carlos Nunez

Cloud and Software Consultant | Field Engineer at VMware

Course details

Kubespray is a community-driven project that provides a set of Ansible playbooks for deploying a production-ready Kubernetes cluster. It’s also an incredibly helpful tool for deploying a cluster on OpenStack because it lets you use Terraform and Ansible at the same time. In this course, cloud and software consultant Carlos Nunez provides a focused reference describing how to provision Kubernetes clusters with Terraform and Kubespray. Explore the challenges of installing Kubernetes and its prerequisites: Docker and kubectl. Along the way, Carlos shows you how to deploy Kubernetes into the cloud, including how to inspect the compute configuration; create, configure, and confirm access to Kubernetes nodes; install Kubespray; deploy a Kubernetes cluster with Kubespray; and perform smoke tests on the cluster as you go.

Skills covered

Data CentersKubernetesDevOps ToolsDatabase ManagementDevOpsOpen SourceDeep Dive (X:Y)

Concepts

Introduction

  • Provisioning Kubernetes with Terraform and Kubespray
  • What you should know
  • Configuring AWS access

Why Is Installing Kubernetes So Hard

  • Kubernetes at a glance
  • Challenges of provisioning Kubernetes clusters
  • Simplifying Kubernetes provisioning with tools

Installing Prerequisites

  • Install Docker on a Mac with Docker Desktop
  • Install Docker on Windows with Docker Desktop
  • Install Docker on Linux
  • Installing kubectl
  • Installing Terraform

Deploying Kubernetes into the Cloud with Terraform and Kubespray

  • What is Kubespray
  • Inspect the compute configuration
  • Creating and configuring the Kubernetes nodes
  • Confirming access to the Kubernetes nodes
  • Installing Kubespray
  • Deploying a Kubernetes cluster with Kubespray
  • Smoke testing the cluster
  • Performing advanced configuration
  • Cleaning up

Conclusion

  • Wrapping up
  • Choosing a strategy
  • Consider a managed Kubernetes offering
  • Consider an enterprise Kubernetes offering
40,000 Toman