Skip to content

Instantly share code, notes, and snippets.

@kmala
Last active September 16, 2016 00:46
Show Gist options
  • Save kmala/6479ebf6189debdfb6890585450f1195 to your computer and use it in GitHub Desktop.
Save kmala/6479ebf6189debdfb6890585450f1195 to your computer and use it in GitHub Desktop.

#Install

Workflow 2.3.0 and 2.4.1 can be installed using the new helm and can do the same customizations of the components/storage as helm-classic.The customizations are applied in a cleaner way than helm-classic where we had a shell script. The install process is also the same as helm-classic, you fetch a chart using helm fetch then change the default values for customizations and helm install.

##Different from helm-classic

  • Users can longer use environment variables to set values for customizations.(helm/helm#944)

#Composable

The new workflow charts are set of individual charts grouped together.Current structure is:

  • Workflow
    • builder
    • controller
    • database
    • logger
      • fluentd
      • redis
    • minio
    • monitor
      • grafana
      • influxdb
      • telegraf
    • nsqd
    • registry-token-refresher
    • registry
      • registry-proxy
    • router
    • workflow-manager

#Upgrade

Upgrades to the workflow charts works using the new helm but with certain limitations. helm upgrade just updates the pods of the deployment objects(helm/helm#1120) and hence the pods of the daemonsets and replications controller needs to be manually updated by deleting the exisitng pods.

##Different from helm-classic

  • Upgrades gonna be much simpler if user doesn't want to change the storage or registry locations. Just a helm fetch <new-version> and helm upgrade <new-version will do. For now he has to delete the pods of Rc's and daemonsets until helm fixes the issue.

#Pending Tasks

#Testing Instructions

To play with the new helm charts

helm install https://raw.githubusercontent.com/kmala/charts/helm/deis-workflow-v2.3.0.tgz --namespace=deis or

helm repo add <repo_name> https://raw.githubusercontent.com/kmala/charts/helm/
helm fetch <repo_name>/deis-workflow-v2.4.1
helm install deis-workflow-v2.4.1.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment