GithubHelp home page GithubHelp logo

kshenk1 / terraform-cloudbees-ci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryecarrigan/terraform-cloudbees-ci

0.0 0.0 0.0 195 KB

Terraform plan for setting up Kubernetes and installing CloudBees CI for modern cloud platforms

Makefile 0.22% HCL 99.78%

terraform-cloudbees-ci's Introduction

terraform-cloudbees-ci

Terraform plan for CloudBees SDA for modern cloud platforms.

Includes roots for creating a Kubernetes cluster in EKS (other providers TBD) and configuration for installing CloudBees SDA.

Prerequisites

Tools

The following tools should be installed and available in your PATH:

  • Required
    • terraform v1.0+
  • Recommended
    • aws CLI with configured profile(s)
    • kubectl at a version matching the target Kubernetes cluster

Configuration

  1. Set up your local configuration variables.
    • Copy .auto.tfvars.example to .auto.tfvars in each Terraform root
    • Edit .auto.tfvars and provide your desired values.
  2. Set up the Terraform backend (It is recommended to configure a remote Terraform backend for each of the root plans.)
    • Each Terraform plan contains a backend.tf.example that you can copy to backend.tf (ignored by Git) and modify as needed.
    • Otherwise, Terraform will use the default local store.

Installation

The Makefile wraps Terraform with a default action of "plan". When you run the following make targets, you can set the value of ACTION to change this behavior.

EKS

  1. Prepare the EKS cluster.

    • Initialize the terraform plan.
      $ terraform init
    • (Optional) View the terraform plan. Without a provided ACTION, this will run terraform plan.
      $ terraform plan
    • Create the EKS cluster.
      $ terraform apply
  2. Install CloudBees SDA.

    • Initialize the terraform plan.
      $ terraform init
    • (Optional) View the terraform plan. Without a provided ACTION, this will run terraform plan.
      $ terraform plan
    • Create the EKS cluster.
      $ terraform apply

terraform-cloudbees-ci's People

Contributors

ryecarrigan avatar sboardwell avatar carlosrodlop avatar timhosey 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.