coreos/tectonic-installer

Name: tectonic-installer

Owner: CoreOS

Description: Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more

Created: 2017-02-11 00:52:23.0

Updated: 2018-01-17 09:27:25.0

Pushed: 2018-01-18 22:00:05.0

Homepage:

Size: 31804

Language: HCL

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Tectonic Installer

Tectonic is built on pure-upstream Kubernetes but has an opinion on the best way to install and run a Kubernetes cluster. This project helps you install a Kubernetes cluster the “Tectonic Way”. It provides good defaults, enables install automation, and is customizable to meet your infrastructure needs.

Goals of the project:

Getting Started

To use a tested release on a supported platform, follow the links below.

To hack or modify the templates or add a new platform, use the scripts in this repo to boot and tear down clusters.

Official releases

See the official Tectonic documentation:

Hacking

These instructions can be used for the official stable platforms listed above, and for the following alpha/beta platforms:

Go and Source

Install Go if not already installed.

Then get the Tectonic Installer source code:

et github.com/coreos/tectonic-installer
(go env GOPATH)/src/github.com/coreos/tectonic-installer

Terraform

The Tectonic Installer releases include a build of Terraform. See the Tectonic Installer release notes for information about which Terraform versions are compatible.

The latest Terraform binary may not always work as Tectonic Installer, which sometimes relies on bug fixes or features not yet available in the official Terraform release.

Yarn (optional)

The Yarn JavaScript package manager is required for building the frontend code. On OS X, install using Homebrew: brew install yarn.

Common Usage

Choose your platform

First, set the PLATFORM= environment variable. This example will use PLATFORM=azure.

Initiate the Cluster Configuration

Use make to create a new directory build/<cluster-name> to hold all module references, Terraform state files, and custom variable files.

FORM=azure CLUSTER=my-cluster make localconfig

Configure Cluster

Set variables in the build/<cluster-name>/terraform.tfvars file as needed. Available variables are found in the platforms/<PLATFORM>/config.tf and platforms/<PLATFORM>/variables.tf files.

Examples for each platform can be found in the examples directory.

Terraform Lifecycle

plan, apply, and destroy are provided as make targets to ease the build directory and custom binary complexity.

FORM=azure CLUSTER=my-cluster make plan

FORM=azure CLUSTER=my-cluster make apply

FORM=azure CLUSTER=my-cluster make destroy
Tests

See tests/README.md.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.