Skip to content

Commit 8219e21

Browse files
authored
Merge pull request #100 from fission/0.2.0
Release 0.2.0
2 parents 850d481 + 52a460f commit 8219e21

9 files changed

Lines changed: 30 additions & 26 deletions

File tree

INSTALL.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,36 @@ This document covers the installation of Fission Workflows.
44

55
### Prerequisites
66

7-
Fission Workflows requires the following to be installed on the host machine:
7+
Fission Workflows requires the following to be installed on your host machine:
88

99
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
1010
- [helm](https://github.com/kubernetes/helm)
1111

12-
Additionally, Fission Workflows requires a
13-
[Fission](https://github.com/fission/fission) deployment on your
14-
Kubernetes cluster. If you do not have a Fission deployment, follow
15-
[Fission's installation guide](http://fission.io/docs/0.3.0/install/).
12+
Additionally, Fission Workflows requires a [Fission](https://github.com/fission/fission)
13+
deployment on your Kubernetes cluster. If you do not have a Fission deployment, follow
14+
[Fission's installation guide](http://fission.io/docs/0.4.0/install/).
1615

17-
(Note that Fission Workflows requires Fission 0.3.0 or higher.)
16+
**(Note that Fission Workflows requires Fission 0.4.1 or higher, with the NATS component installed!)**
1817

1918
### Installing Fission Workflows
2019

2120
Fission Workflows is an add-on to Fission. You can install both
22-
Fission and Workflows using helm charts.
21+
Fission and Fission Workflows using helm charts.
2322

2423
Assuming you have a Kubernetes cluster, run the following commands:
2524

2625
```bash
27-
2826
# Add the Fission charts repo
2927
helm repo add fission-charts https://fission.github.io/fission-charts/
3028
helm repo update
3129

32-
# Install Fission (if you do not have a Fission deployment yet)
33-
helm install --namespace fission --set serviceType=NodePort -n fission-all fission-charts/fission-all --version 0.3.0
30+
# Install Fission
31+
# This assumes that you do not have a Fission deployment yet, and are installing on a standard Minikube deployment.
32+
# Otherwise see http://fission.io/docs/0.4.0/install/ for more detailed instructions
33+
helm install --wait -n fission-all --namespace fission --set serviceType=NodePort --set analytics=false fission-charts/fission-all --version 0.4.1
3434

3535
# Install Fission Workflows
36-
helm install fission-charts/fission-workflows
36+
helm install --wait -n fission-workflows fission-charts/fission-workflows --version 0.2.0
3737
```
3838

3939
### Creating your first workflow
@@ -63,5 +63,5 @@ fission route create --method GET --url /fortunewhale --function fortunewhale
6363
#
6464
# Invoke the workflow with an HTTP request:
6565
#
66-
curl $FISSION_ROUTER/fortunewhale
66+
curl ${FISSION_ROUTER}/fortunewhale
6767
```

build/build-env/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fission/builder
1+
FROM fission/builder:0.4.1
22

33
ADD wfcli /usr/local/bin/wfcli
44
ADD defaultBuild.sh /usr/local/bin/defaultBuild

build/bundle/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM alpine
1+
FROM alpine:3.5
22
ADD fission-workflows-bundle /

build/docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BUILD_ROOT=$(dirname $0)
99

1010
IMAGE_REPO=$1
1111
if [ -z "$IMAGE_REPO" ]; then
12-
IMAGE_TAG=fission
12+
IMAGE_REPO=fission
1313
fi
1414

1515
IMAGE_TAG=$2

build/env/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine
1+
FROM alpine:3.5
22

33
ADD fission-workflows-bundle /
44

charts/fission-workflows/Chart.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
apiVersion: v1
22
name: fission-workflows
3-
version: 0.1.3
4-
appVersion: 0.1.3
3+
version: 0.2.0
4+
appVersion: 0.2.0
55
description: Fission Workflows is a fast workflow engine for serverless functions on Kubernetes
66
keywords:
77
- fission
88
- serverless
99
- workflows
1010
- coordination
1111
- orchestration
12+
- function-as-a-service
1213
home: http://fission.io/
1314
sources:
1415
- https://github.com/fission/fission-workflows

charts/fission-workflows/templates/deployment.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Workflow Apiserver is an optional component that allows users to query the workflows API through the Fission apiserver.
12
{{ if .Values.apiserver }}
23
apiVersion: extensions/v1beta1
34
kind: Deployment
@@ -18,7 +19,7 @@ spec:
1819
imagePullPolicy: {{ .Values.pullPolicy }}
1920
command: ["/fission-workflows-bundle"]
2021
args: [
21-
# Only run apiserver components
22+
# Only run components related to accessing the API
2223
"--nats",
2324
"--api-http",
2425
"--api-workflow-invocation",
@@ -35,10 +36,12 @@ spec:
3536
- name: FNENV_FISSION_CONTROLLER
3637
value: "{{ .Values.fnenv.fission.controller }}.{{ .Values.fnenv.fission.ns }}"
3738
---
39+
# TODO remove this service once all functionality is accessible through Fission
3840
apiVersion: v1
3941
kind: Service
4042
metadata:
4143
name: workflows-apiserver
44+
namespace: {{ .Release.Namespace }}
4245
labels:
4346
svc: workflows-apiserver
4447
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
@@ -51,7 +54,7 @@ spec:
5154
svc: workflows-apiserver
5255
---
5356
{{ end }}
54-
# Workflow Engine is managed like any other environment in Fission
57+
# Workflow Engine is deployed as just another Fission environment.
5558
apiVersion: fission.io/v1
5659
kind: Environment
5760
metadata:
@@ -62,13 +65,13 @@ spec:
6265
runtime:
6366
image: "{{ .Values.envImage }}:{{.Values.tag}}"
6467
env:
65-
- name: "ES_NATS_URL"
68+
- name: ES_NATS_URL
6669
value: "nats://{{ .Values.nats.authToken }}@{{ .Values.nats.location }}.{{ .Values.fnenv.fission.ns }}:{{ .Values.nats.port }}"
67-
- name: "ES_NATS_CLUSTER"
70+
- name: ES_NATS_CLUSTER
6871
value: "{{ .Values.nats.cluster }}"
69-
- name: "FNENV_FISSION_CONTROLLER"
72+
- name: FNENV_FISSION_CONTROLLER
7073
value: "{{ .Values.fnenv.fission.controller }}.{{ .Values.fnenv.fission.ns }}"
71-
- name: "FNENV_FISSION_EXECUTOR"
74+
- name: FNENV_FISSION_EXECUTOR
7275
value: "{{ .Values.fnenv.fission.executor }}.{{ .Values.fnenv.fission.ns }}"
7376
builder:
7477
image: "{{ .Values.buildEnvImage }}:{{.Values.tag}}"

charts/fission-workflows/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ envImage: fission/workflow-env
1111
# Image of the Fission build environment for Fission Workflows
1212
buildEnvImage: fission/workflow-build-env
1313

14-
tag: 0.1.3
14+
tag: 0.2.0
1515

1616
pullPolicy: IfNotPresent
1717

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package version
22

3-
const VERSION = "0.1.3"
3+
const VERSION = "0.2.0"

0 commit comments

Comments
 (0)