Skip to content

PaaS workflow controller and client for Deis v2

License

Notifications You must be signed in to change notification settings

technosophos/workflow

 
 

Repository files navigation

Deis Workflow v2

Build Status Go Report Card

Deis (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy and manage applications on your own servers. Deis builds on Kubernetes to provide a lightweight, Heroku-inspired workflow.

Work in Progress

Deis Graphic

Deis Workflow v2 is changing quickly. Your feedback and participation are more than welcome, but be aware that this project is considered a work in progress.

Hacking Workflow

First, install helm and boot up a kubernetes cluster. Next, add the deis repository to your chart list:

$ helm repo add deis https://github.com/deis/charts

Then, install Deis!

$ helm install deis/deis

You can then monitor their status by running

$ kubectl get pods --namespace=deis

Once this is done, you can SSH into the minion running the controller and run the following:

$ curl -sSL https://get-deis.s3.amazonaws.com/deis/workflow/220/220.1/client/deis
$ chmod 755 deis
$ sudo mv deis /bin
$ kubectl get service --namespace=deis deis-workflow
$ deis register 10.247.59.157 # or the appropriate CLUSTER_IP
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
$ eval $(ssh-agent) && ssh-add ~/.ssh/id_rsa
$ deis keys:add ~/.ssh/id_rsa.pub
$ deis create --no-remote
Creating Application... done, created madras-radiator
$ deis pull deis/example-go -a madras-radiator
Creating build... ..o

If you want to retrieve the latest client build, check the latest builds on Travis CI, notice the last build number that went green and use the following URL to retrieve the client build:

<https://get-deis.s3.amazonaws.com/deis/workflow/$BUILD_NUM/$BUILD_NUM.1/client/deis>

If you want to hack on a new feature, build the deis/workflow image and push it to a Docker registry. The $DEIS_REGISTRY environment variable must point to a registry accessible to your Kubernetes cluster. You may need to configure the Docker engines on your Kubernetes nodes to allow --insecure-registry 192.168.0.0/16 (or the appropriate address range).

$ make docker-build docker-push

You'll want to modify the deis chart to use your custom image, then run helm install on the chart.

License

Copyright 2013, 2014, 2015 Engine Yard, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

PaaS workflow controller and client for Deis v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.9%
  • Go 20.9%
  • CSS 1.5%
  • Shell 0.9%
  • HTML 0.8%
  • Makefile 0.5%
  • Other 0.5%