/kube-cluster

This nested template deploys a VPC w/ 3AZs and a bastion host from which Kops will deploy a distributed Kubernetes cluster plus proxy dashboard and monitoring

Primary LanguageShell

Kubernetes via Bastion Host

Nested CloudFormation

This nested template deploys a VPC w/ 3AZs and a bastion host from which Kops will deploy a distributed Kubernetes gossip-cluster plus proxy dashboard and monitoring

Setup Steps

  1. Create a new bucket
  2. Create a folder "cfn-templates" and upload CF templates from this repo
  3. Create a folder "cluster-monitoring" and upload Heapster + Prometheus directories and YAML files

Installation Guide -- Ohio region ONLY

  1. Launch
  2. Click Next to proceed with the next step of the wizard.
  3. Specify a name and all parameters for the stack.
  4. Click Next to proceed with the next step of the wizard.
  5. Click Next to skip the Options step of the wizard.
  6. Check the I acknowledge that this template might cause AWS CloudFormation to create IAM resources. checkbox.
  7. Click Create to start the creation of the stack.
  8. Wait until the stack reaches the state CREATE_COMPLETE
  9. Copy Bastion Host public IP from the KubeStack outputs tab

Wait approximately 15 minutes

Visit public IP of Kubernetes-Bastion instance via RDP

Kubernetes Dashboard

Launch

Grafana

Launch

Prometheus

Launch

Cleanup cluster

From bastion as root:

  1. . ~/.bash_profile
  2. kops delete cluster --name private.cluster.k8s.local --yes
  3. Allow 5-10 minutes for teardown
  4. Delete nested master CF stack