Coder Social home page Coder Social logo

Comments (10)

silas avatar silas commented on August 19, 2024 1

See #80 (rendered template is here https://coreos-kubernetes.s3.amazonaws.com/latest/template.json)

from coreos-kubernetes.

hunter avatar hunter commented on August 19, 2024

We're working on something similar so would be good to have something standard.

From looking through the repo history there were CF templates at some point. Was there a reason for removing them?

from coreos-kubernetes.

polvi avatar polvi commented on August 19, 2024

We are actively working on a CloudFormation. Our plan is to start with a single node master that has mechanics to keep the master alive. We are starting with this because:

  1. It will be minimal cost to try out
  2. master failure does not kill the cluster, just stops scheduling
  3. Google Container Engine is single master, so we feel that is a decent baseline to track

We intend to put this CloudFormation into CoreOS, Inc, production. From there we will evaluate more complex setups. If you have a particular setup you would like to see, we would happily take your PR or work with you to create something that works.

What architecture were you planning on creating in the CloudFormation?

from coreos-kubernetes.

hunter avatar hunter commented on August 19, 2024

For us it's just a simple dev environment. A single master with 2-3 nodes.

from coreos-kubernetes.

polvi avatar polvi commented on August 19, 2024

@wolfeidau @hunter would love your feedback on this

from coreos-kubernetes.

hunter avatar hunter commented on August 19, 2024

Nice! Looks like a few improvements over one we'd hacked together. We're using spot instances for the workers but probably not something everyone would want to run.

The first thing that jumps out at me is, can the API Server URL be determined by the kube-aws-controller host's IP Attribute?

from coreos-kubernetes.

bcwaldon avatar bcwaldon commented on August 19, 2024

@hunter just landed it, please take a look in master. To answer your specific question, we currently hard-code the controller IP to 10.0.0.50, so no discovery intra-cluster is necessary. There are clear improvements to this, but it's a good starting point!

from coreos-kubernetes.

wolfeidau avatar wolfeidau commented on August 19, 2024

This is great news, I will most certainly be using it as a basis for the work I am doing.

I have been building up a cloudformation "layer cake", while following the segregation of the etcd, workers and controllers.

Main idea is to lay down the VPC, with public/private subnets, then add each component, such as etcd, workers and controllers on as a separate cloudformations. This makes it much easier to maintain and upgrade them.

see http://awsadvent.tumblr.com/post/38685647817/strategies-reusable-cfn-templates

Definitely going to dig into this template.

from coreos-kubernetes.

wolfeidau avatar wolfeidau commented on August 19, 2024

I have had a look at kube-aws tool which is now a part of this project, pretty amazing work will be pretty easy to extend it for what I want to create.

I had never considered using golang to render the aws cloudformation, but given all the things which need to be injected it makes a lot of sense.

from coreos-kubernetes.

bcwaldon avatar bcwaldon commented on August 19, 2024

@wolfeidau I swore off building CloudFormation templates by hand a while ago :)

from coreos-kubernetes.

Related Issues (20)

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.