Code Monkey home page Code Monkey logo

kube-linode's Introduction

๐Ÿณ Provision a Kubernetes / CoreOS Cluster on Linode

Bash GitHub license Gitter

Automatically provision a scalable CoreOS/Kubernetes cluster on Linode with zero configuration.

Demo

The cluster will comprise of a single Kubernetes master host with a custom number of worker nodes.

What's included

Usage

git clone https://github.com/kahkhang/kube-linode
cd kube-linode
chmod +x kube-linode.sh

Just run ./kube-linode.sh create into your console, key in your configuration, then sit back and have a โ˜•!
Settings are stored in settings.env, or you can pass them in as key-value flags as such:

./kube-linode.sh --no_of_workers=3 --api_key=12345

To increase the number of workers, modify NO_OF_WORKERS in settings.env as desired and run ./kube-linode.sh again.
Use kubectl to control the cluster (e.g. kubectl get nodes)


If you want to destroy the cluster created by kube-linode, you can run the following command:

./kube-linode.sh destroy

A prompt will be given listing all the nodes which will be destroyed upon confirmation .

Dependencies

You should have a Linode account, which you can get here. You should also have an API Key with a valid domain that uses Linode's DNS servers.

OSX: brew install jq openssl curl kubectl

Arch Linux: Follow the instructions here

Acknowledgements

This script uses Bootkube to bootstrap the initial cluster using Linode's API.

kube-linode's People

Contributors

daniellacosse avatar jamesmura avatar kahkhang avatar neersighted avatar tanhauhau avatar thefinn93 avatar whothisbeme 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.