notes

 (

index

)

kubernetes on gke with terraform

kubernetes, cloud computing, google cloud platform

simple setup for just a cluster

create a cluster with terraform on gke

create an unmanaged cluster on linode

holistic organization setup

overview of cloud foundation toolkit: https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/docs/terraform.md

example:: integration of cloud foundation modules: https://github.com/terraform-google-modules/terraform-example-foundation

select modules from the cloud-foundation-fabric: https://github.com/terraform-google-modules/cloud-foundation-fabric

create a project: https://github.com/terraform-google-modules/terraform-google-project-factory

create a cluster: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine

https://www.terraform.io/docs/providers/google/guides/using%5Fgke%5Fwith%5Fterraform.html

https://github.com/terraform-google-modules/terraform-google-kubernetes-engine

https://github.com/terraform-google-modules/terraform-google-project-factory

https://www.linode.com/docs/applications/configuration-management/terraform/how-to-provision-an-unmanaged-kubernetes-cluster-using-terraform/

  • Use Terraform, the popular orchestration tool by HaschiCorp, to deploy a Kubernetes cluster on Linode. Linode’s Terraform K8s module creates a Kubernetes cluster running on the CoreOS ContainerLinux operating system. After creating a Master and worker nodes, the module connects through SSH to these instances and installs kubeadm, kubectl, and other Kubernetes binaries to /opt/bin. It also handles initializing kubeadm, joining worker nodes to the master, and configuring kubectl. For the cluster’s container networking interface, Calico is installed. Finally, a kubectl admin config file is installed to the local environment, which you can use to connect to your cluster’s API server.