You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
To run Helm on Kubernetes, you need to first make sure that [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) is using the right configuration context for your cluster. To check which context is being used:
60
+
To use Helm with Kubernetes, you need to first make sure that [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) is using the right configuration context for your cluster. To check which context is being used:
61
61
62
62
```bash
63
63
$ kubectl config current-context
64
64
```
65
65
66
-
If the context is correct, then you can get Helm running using just one command:
66
+
Once you've installed the Helm client on your machine and gotten Helm pointing to your Kubernetes cluster, you need to make your client aware of the `heron-charts`Helm repository, which houses the chart for Heron:
"heron-charts" has been added to your repositories
70
71
```
71
72
72
-
If the output of that command includes `Happy Helming!` then Helm is ready to go.
73
-
74
-
## Installing Heron on Kubernetes
75
-
76
-
Once you've installed the Helm client on your machine and gotten Helm running in your Kubernetes cluster, you need to make your client aware of the `heron-charts` Helm repository, which houses the chart for Heron:
"heron-charts" has been added to your repositories
76
+
$ kubectl create namespace heron
81
77
```
82
78
83
79
Now you can install the Heron package:
84
80
85
81
```bash
86
-
$ helm install heron-charts/heron
82
+
$ helm install heron-charts/heron -g -n heron
87
83
```
88
84
89
-
This will install Heron and provide the installation with a random name like `jazzy-anaconda`. To provide the installation with a name, such as `heron-kubernetes`:
85
+
This will install Heron and provide the installation in the `heron` namespace (`-n`) with a random name (`-g`) like `jazzy-anaconda`. To provide the installation with a name, such as `heron-kube`:
90
86
91
87
```bash
92
-
$ helm install heron-charts/heron \
93
-
--name heron-kubernetes
88
+
$ helm install heron-kube heron-charts/heron \
89
+
--namespace heron
94
90
```
95
91
96
92
### Specifying a platform
97
93
98
94
The default platform for running Heron on Kubernetes is [Minikube](#minikube). To specify a different platform, you can use the `--set platform=PLATFORM` flag. Here's an example:
99
95
100
96
```bash
101
-
$ helm install heron-charts/heron \
97
+
$ helm install heron-kube heron-charts/heron \
98
+
--namespace heron \
102
99
--set platform=gke
103
100
```
104
101
@@ -130,12 +127,20 @@ $ minikube start \
130
127
131
128
Once Minikube is running, you can then install Heron in one of two ways:
132
129
130
+
Create a namespace to install into:
131
+
132
+
```bash
133
+
$ kubectl create namespace heron
134
+
```
135
+
133
136
```bash
134
137
# Use the Minikube default
135
-
$ helm install heron-charts/heron
138
+
$ helm install heron-kube heron-charts/heron \
139
+
--namespace heron
136
140
137
141
# Explicitly select Minikube
138
-
$ helm install heron-charts/heron \
142
+
$ helm install heron-kube heron-charts/heron \
143
+
--namespace heron \
139
144
--set platform=minikube
140
145
```
141
146
@@ -173,29 +178,17 @@ Once the cluster has been successfully created, you'll need to install that clus
173
178
$ gcloud container clusters get-credentials heron-gke-dev-cluster # or heron-gke-prod-cluster
174
179
```
175
180
176
-
Once, the cluster is running (that could take a few minutes), you can initialize Helm on the cluster:
177
-
178
-
```bash
179
-
$ helm init
180
-
```
181
-
182
-
Then, you'll need to adjust some RBAC permissions for your cluster:
You can make Heron to use S3 to distribute the user topologies. First you need to set up a S3 bucket and configure an IAM user with enough permissions over it. Get access keys for the user. Then you can deploy Heron like this:
0 commit comments