Giter Site home page Giter Site logo

deis-workflow-gke's Introduction

Install and upgrade Deis Workflow PaaS in GKE without fuss

It allows to install Deis Workflow PaaS on to GKE with persistent Object Storage set to Google Cloud Storage and Docker Registry to gcr.io and has an option to set PostgreSQL database to off-cluster use. How to install

Clone repository:

$ git clone https://github.com/rimusz/deis-workflow-gke

Note: You need to get GCP Service Account key which has write access to GCS and GCR, so Workflow will be able to access them. Please name that file as service_account_key.json.

How it works

$ ./install_workflow_2_gke.sh
Usage: install_workflow_2_gke.sh install [eu] | upgrade [eu] | deis | helmc | cluster

You will be able:

  • install - by defautl sets Object Storage to US region, use eu flag for EU region
  • upgrade - upgrades to the latest Workflow version (you must use the same region as was for install)
  • deis - fetches the latest Workflow deis cli
  • helmc - fetches the latest Helm Classic cli
  • cluster - shows cluster GKE name

Also if you rename/copy postgres_settings.tpl file to postgres_settings, then you can set PostgreSQL database to off-cluster. As Google Cloud Platform does not have hosted Postgres, you can use compose.io hosted one, which supports GCP deployment or install it with Helm PostgreSQL chart.

What the install will do:

  • Gets GKE cluster name which is used to create GCS buckets and Helm chart
  • Downloads lastest helmc cli version
  • Downloads lastest deis cli version
  • Adds Deis Chart repository
  • Fetches latest Workflow chart
  • Sets storage to GCS
  • Sets Registry to grc.io
  • If postgres_settings file found sets PostgeSQL database to off-cluster
  • Generates chart
  • Installs Workflow
  • Shows deis-router external IP

What the upgrade will do:

  • Downloads lastest helmc cli version
  • Downloads lastest deis cli version
  • Fetches latest Workflow chart
  • Fetches current database credentials
  • Fetches builder component ssh keys
  • Sets Storage to GCS
  • Sets Registry to grc.io
  • If postgres_settings file found sets PostgeSQL database to off-cluster
  • Generates chart for the new release
  • Uninstalls old version Workflow
  • Installs new version Workflow

have fun with Deis Workflow PaaS of deploying your 12 Factor Apps !!!

Contributing

deis-workflow-gke is an open source project, released under the Apache License, Version 2.0, hence contributions and suggestions are gladly welcomed!

deis-workflow-gke's People

Contributors

rimusz avatar

Watchers

James Cloos 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.