Kubernetes: Provisioning with Terraform and kOps

Kubernetes: Provisioning with Terraform and kOps

1h 22mIntermediate2023-09-20

Authors

Carlos Nunez

Carlos Nunez

Cloud and Software Consultant | Field Engineer at VMware

Course details

kOps is one of the easiest and most effective ways to get a Kubernetes cluster up and running. It can generate Terraform configurations, too, which can then be applied with the terraform plan and terraform apply tools. In this course, cloud and software consultant Carlos Nunez provides a focused reference describing how to provision and manage Kubernetes clusters with the integrated power of Terraform and kOps. Explore the challenges of installing Kubernetes and its prerequisites: Docker, kubectl, and Terraform. Along the way, Carlos gives detailed instructions for deploying Kubernetes into the cloud, including how to define AWS resources with Terraform, prepare AWS for kOps, correctly install kOps, create a cluster with kOps, apply the cluster configuration file for kOps, and perform smoke tests for quality assurance.

Skills covered

Data CentersKubernetesDevOps ToolsDatabase ManagementDevOpsOpen SourceDeep Dive (X:Y)

Concepts

Introduction

  • Provisioning Kubernetes with Terraform and kOps
  • 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 kOps

  • What is kOps
  • Defining prerequisite AWS resources with Terraform
  • Preparing AWS for kOps
  • Installing kOps
  • Creating the cluster with kOps
  • Applying the cluster configuration file with kOps
  • Smoke testing the cluster
  • Cleaning up

Conclusion

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