Giter VIP home page Giter VIP logo

autohelm's Introduction

autohelm

Command line helper for helm. This utility adds to the functionality of Helm in multiple ways:

  • Creates a declarative syntax to manage multiple releases in one place
  • Allows installation of charts from a git commit/branch/release

Requirements

  • python >= 2.7
  • helm: installed and inited
  • $INFRASTRUCTURE_REPO

Installation

As standalone shell command

As Helm plugin

Usage

As standalone shell command

  • Usage: autohelm [OPTIONS] COMMAND [ARGS]...
  • Options: --help Show this message and exit.
  • Commands:
    • plot: Runs helm based on yaml file descriptors
    • Argument:
      • file: YAML file with description of charts to load
    • generate: Generates example file course.yml with extensive descriptions
    • version: Output autohelm version

As helm plugin

  • Usage: helm autohelm [OPTIONS] COMMAND [ARGS]...
  • Options: --help Show this message and exit.
  • Commands:
    • plot: Runs helm based on yaml file descriptors
    • Argument:
      • file: YAML file with description of charts to load
    • generate: Generates example file course.yml with extensive descriptions
    • version: Output autohelm version

Example configuration file:

namespace: kube-system #namespace to install the chart in, defaults to 'kube-system'
repository: stable #repository to download chart from, defaults to 'stable'
repositories:
  incubator:
    url: https://kubernetes-charts-incubator.storage.googleapis.com
  stable:
    url: https://kubernetes-charts.storage.googleapis.com
charts: # list of charts
# chart_name: # chart name must match 
#   version: version to install, defaults to latest. If a git repository is used, this is a branch/tag/ref.
#   repository: repository to download chart from, overrides above value
#     name: Optional, name of repository. If 'git' is used, must match the 
#     url: Optional if repository is listed above. Url of repository to add if not already included in above repositories section
#     git: Git url where chart exists. Supercedes url argument
#     path: Path where chart is in git repository
#   namespace: namespace to install chart in, overrides above value
#   values: # key-value pairs to pass in using the helm --set argument. Inspect individual charts to determine which keys are available and should be set
#     key: value 
  kubernetes-dashboard:
    version: "0.4.1"
  cluster-autoscaler:
    version: "0.2.1"
    values:
      autoscalingGroups[0].name: nodes
      autoscalingGroups[0].maxSize: 10
      autoscalingGroups[0].minSize: 1
  heapster:
    version: "0.2.1"
  datadog:
    version: "0.8.2"
    repository: stable
    values:
      datadog.apiKey: notthekey
  spotify-docker-gc:
    version: "0.1.0"
  external-dns:
    version: "0.3.0"
  fluentd-cloudwatch:
    repository:
      name: incubator
    version: "0.1.1"
  centrifugo: 
    repository:
      git: https://github.com/kubernetes/charts.git
      path: stable
    version: aaaf98b

autohelm's People

Watchers

James Cloos avatar Gabriel Abiera 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.