GithubHelp home page GithubHelp logo

ckulka / kubernetes-aws Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 4.0 18 KB

(Deprecated as AWS EKS has been released) CloudFormation template for Kubernetes

License: MIT License

aws cloudformation cloudformation-template kubernetes-cluster kubernetes k8s cloud

kubernetes-aws's Introduction

Kubernetes CloudFormation Template

This repository contains CloudFormation templates for Kubernetes clusters on AWS.

Deprecated: since AWS EKS (https://aws.amazon.com/eks/) has now been released, consider this template to be deprecated.

Single Master Cluster

The single-master-kubernetes.yaml CloudFormation template creates a Kubernetes cluster with a single master node. The peristent files of the master node are stored on EFS.

The current setup requires exactly two subnets for the cluster to be deployed to.

During the initial cluster initialisation with kubeadm, this template also deploys the Flannel (Github) overlay network as well as Traefik (Github) as ingress controller.

Input & Output Parameters

The template has several parameters, the most important ones are

  • VPC & Subnets
  • Versions for Docker, Kubernetes, Flannel and Traefik
  • Instance Types for the master and node instances

The template's output is the load balanced URL for the cluster.

Resources

The following list only outlines the most important resources.

  • Network Load Balancer
    • Routes HTTP(S) traffic to the nodes
    • Routes Kubernetes API (6443) requests to the master
  • Cluster Master
    • EFS
    • Autoscaling Group
    • Launch Configuration
    • Security Group
    • IAM Instance Role
  • Cluster Node
    • Autoscaling Group
    • Launch Configuration
    • Security Group
    • IAM Instance Role

TODO

  • Delete root volume on instance termination
  • Master failover testing

kubernetes-aws's People

Contributors

ckulka avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.