|
1 | 1 | # Installing Deis Workflow on Amazon Web Services |
2 | 2 |
|
3 | | -## Check Your Setup |
4 | | - |
5 | | -First check that the `helm` command is available and the version is v2.1.0 or newer. |
6 | | - |
7 | | -``` |
8 | | -$ helm version |
9 | | -Client: &version.Version{SemVer:"v2.1.0", GitCommit:"b7b648456ba15d3d190bb84b36a4bc9c41067cf3", GitTreeState:"clean"} |
10 | | -Server: &version.Version{SemVer:"v2.1.0", GitCommit:"b7b648456ba15d3d190bb84b36a4bc9c41067cf3", GitTreeState:"clean"} |
11 | | -``` |
12 | | - |
13 | | -Ensure the `kubectl` client is installed and can connect to your Kubernetes cluster. |
14 | | - |
15 | | -## Add the Deis Chart Repository |
16 | | - |
17 | | -The Deis Chart Repository contains everything you need to install Workflow onto your Kubernetes |
18 | | -cluster, with a single `helm install deis/workflow --namespace deis` command. |
19 | | - |
20 | | -Run the following command to add this repository to Helm: |
21 | | - |
22 | | -``` |
23 | | -$ helm repo add deis https://charts.deis.com/workflow |
24 | | -``` |
25 | | - |
26 | | -## Install Deis Workflow |
27 | | - |
28 | | -Now that Helm is installed and the repository has been added, install Workflow by running: |
29 | | - |
30 | | -``` |
31 | | -$ helm install deis/workflow --namespace deis |
32 | | -``` |
33 | | - |
34 | | -Helm will install a variety of Kubernetes resources in the `deis` namespace. |
35 | | -Wait for the pods that Helm launched to be ready. Monitor their status by running: |
36 | | - |
37 | | -``` |
38 | | -$ kubectl --namespace=deis get pods |
39 | | -``` |
40 | | - |
41 | | -If it's preferred to have `kubectl` automatically update as the pod states change, run (type Ctrl-C to stop the watch): |
42 | | - |
43 | | -``` |
44 | | -$ kubectl --namespace=deis get pods -w |
45 | | -``` |
46 | | - |
47 | | -Depending on the order in which the Workflow components initialize, some pods may restart. This is common during the |
48 | | -installation: if a component's dependencies are not yet available, that component will exit and Kubernetes will |
49 | | -automatically restart it. |
50 | | - |
51 | | -Here, it can be seen that the controller, builder and registry all took a few loops before they were able to start: |
52 | | - |
53 | | -``` |
54 | | -$ kubectl --namespace=deis get pods |
55 | | -NAME READY STATUS RESTARTS AGE |
56 | | -deis-builder-hy3xv 1/1 Running 5 5m |
57 | | -deis-controller-g3cu8 1/1 Running 5 5m |
58 | | -deis-database-rad1o 1/1 Running 0 5m |
59 | | -deis-logger-fluentd-1v8uk 1/1 Running 0 5m |
60 | | -deis-logger-fluentd-esm60 1/1 Running 0 5m |
61 | | -deis-logger-sm8b3 1/1 Running 0 5m |
62 | | -deis-minio-4ww3t 1/1 Running 0 5m |
63 | | -deis-registry-asozo 1/1 Running 1 5m |
64 | | -deis-router-k1ond 1/1 Running 0 5m |
65 | | -deis-workflow-manager-68nu6 1/1 Running 0 5m |
66 | | -``` |
67 | | - |
68 | | -Once all of the pods are in the `READY` state, Deis Workflow is up and running! |
| 3 | +{!install-workflow.md!} |
69 | 4 |
|
70 | 5 | ## Configure your AWS Load Balancer |
71 | 6 |
|
@@ -104,5 +39,3 @@ $ aws elb modify-load-balancer-attributes \ |
104 | 39 | abce0d48217d311e69a470643b4d9062 |
105 | 40 | CONNECTIONSETTINGS 1200 |
106 | 41 | ``` |
107 | | - |
108 | | -Next, [configure dns](dns.md) so you can register your first user and deploy an application. |
0 commit comments