Skip to content

AWS based Kubernetes cluster on CoreOS with Terraform

Notifications You must be signed in to change notification settings

ovanes/kubestack-aws

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubestack AWS

Provision a Kubernetes cluster with Terraform and CoreOS on AWS. The provisioning mimics the original documentation: Manual Installation as close as possible.

Main features

  1. The script follows Kubernetes best practices and embody the "CoreOS Way"
  • Components secured with TLS
  • Individual node can reboot and the cluster will still function
  • Internal cluster DNS is available
  • Service accounts enabled
  • Cloud-provider enabled
  1. Moving parts can be customized
  • AWS region
  • Master and worker instance types
  • Master and worker disk sizes
  • Master and worker node counts
  • Kubernetes version

Requirements

Setup

  • create a file: terraform.tfvars
# aws
ssh_key_name = "<key name in AWS to be used for instance mgmt>" 
ssh_private_key_path = "<path to private key file>"
ssh_public_key = "public SSH key content"


# cluster
master_count = 5
worker_count = 6
  • create cluster
terraform plan
terraform apply
  • check nodes
kubectl get nodes

About

AWS based Kubernetes cluster on CoreOS with Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 80.2%
  • Shell 13.9%
  • Smarty 5.9%