Skip to content

wearemakery/kubestack-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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
access_key = "<access key>"
secret_key = "<secret key>"

ssh_public_key = "<ssh public key>"
ssh_private_key_path = "<path to private key file>"

# generate new discovery url: https://discovery.etcd.io/new?size=<master_count>
discovery_url = "<discovery url>"

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

About

Kubernetes cluster on CoreOS with Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published