Giter VIP home page Giter VIP logo

tf_kube_aws's Introduction

tf_kube_aws

This terraform module creates a kubernetes cluster in AWS. It assumes ignition userdata and it's designed to synergise well with tf_kube_ignition.

Input Variables

The input variables are documented in their description and it's best to refer to variables.tf.

Ouputs

  • etcd_ip_list - a list with the IP addresses of the created etcd nodes
  • cfssl_ip - the IP address of the cfssl server that manages certificates
  • master_address - the endpoint on which the kubernetes api is made available
  • etcd_security_group_id - the id of the security group to which kubernetes etcd nodes belong
  • master_security_group_id - the id of the security group to which kubernetes master nodes belong
  • worker_security_group_id - the id of the security group to which kubernetes worker nodes belong

Usage

Below is an example of how you might use this terraform module:

module "aws_cluster" {
  source = "github.com/utilitywarehouse/tf_kube_aws"

  region                         = "eu-west-1"
  cluster_name                   = "example-kube"
  cluster_subdomain              = "k8s"
  vpc_id                         = "${aws_vpc.example.id}"
  containerlinux_ami_id          = "ami-xxxxxxxxx"
  route53_zone_id                = "${aws_route53_zone.example.id}"
  route53_inaddr_arpa_zone_id    = "${aws_route53_zone.example-reverse.id}"
  private_subnet_ids             = "${aws_subnet.private.*.id}"
  public_subnet_ids              = "${aws_subnet.public.*.id}"
  key_name                       = "${aws_key_pair.example.key_name}"
  ssh_security_group_ids         = ["${aws_security_group.ssh.id}"]
  cfssl_user_data                = "${module.ignition.cfssl}"
  etcd_user_data                 = "${module.ignition.etcd}"
  master_user_data               = "${module.ignition.master}"
  worker_user_data               = "${module.ignition.worker}"
}

tf_kube_aws's People

Contributors

alkar avatar george-angel avatar hectorhuertas avatar ribbybibby avatar ffilippopoulos avatar johanbrandhorst avatar mattias- 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.