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
If you wish to use the OpenFaaS Pro dashboard, [you must run the steps to "Create a signing key"](https://docs.openfaas.com/openfaas-pro/dashboard/#installation) before installing the Helm chart.
@@ -114,9 +115,10 @@ Now deploy OpenFaaS from the helm chart repo:
You can also review recommended Pro values in [values-pro.yaml](values-pro.yaml)
@@ -154,10 +157,11 @@ If you are working on a patch for the helm chart, you can deploy it directly fro
154
157
You can run the following command from within the `faas-netes` folder, not the chart's folder.
155
158
156
159
```sh
157
-
helm upgrade openfaas --install chart/openfaas \
158
-
--namespace openfaas \
159
-
-f ./chart/openfaas/values.yaml \
160
-
-f ./chart/openfaas/values-pro.yaml
160
+
helm upgrade openfaas \
161
+
--install chart/openfaas \
162
+
--namespace openfaas \
163
+
-f ./chart/openfaas/values.yaml \
164
+
-f ./chart/openfaas/values-pro.yaml
161
165
```
162
166
163
167
In the example above, I'm overlaying two additional YAML files for settings for the chart.
@@ -216,15 +220,6 @@ In addition:
216
220
* Set the `imagePullPolicy` to `IfNotPresent` so that the `kubelet` only pulls images which are not already available
217
221
* Explore alternatives such as not scaling to absolute zero, and using async calls which do not show the cold start
218
222
219
-
#### httpProbe vs. execProbe
220
-
221
-
A note on health-checking probes for functions:
222
-
223
-
* httpProbe - (`default`) most efficient. (compatible with Istio >= 1.1.5)
224
-
* execProbe - least efficient option, but compatible with Istio < 1.1.5
225
-
226
-
Use `--set faasnetes.httpProbe=true/false` to toggle between http / exec probes.
227
-
228
223
### Verify the installation
229
224
230
225
Once all the services are up and running, log into your gateway using the OpenFaaS CLI. This will cache your credentials into your `~/.openfaas/config.yml` file.
@@ -351,23 +346,22 @@ If you use a service mesh like Linkerd or Istio in your cluster, then you should
351
346
352
347
### Istio mTLS
353
348
354
-
To install OpenFaaS with Istio mTLS pass `--set istio.mtls=true` and disable the HTTP probes:
349
+
Istio requires OpenFaaS Pro to function correctly.
350
+
351
+
To install OpenFaaS Pro with Istio mTLS pass `--set istio.mtls=true` and disable the HTTP probes:
355
352
356
353
```sh
357
354
helm upgrade openfaas --install chart/openfaas \
358
355
--namespace openfaas \
359
-
--set basic_auth=true \
356
+
--set openfaasPro=true \
360
357
--set exposeServices=false \
361
-
--set faasnetes.httpProbe=false \
362
-
--set httpProbe=false \
363
358
--set gateway.directFunctions=true \
359
+
--set gateway.probeFunctions=true \
364
360
--set istio.mtls=true
365
361
```
366
362
367
363
The above command will enable mTLS for the openfaas control plane services and functions excluding NATS.
368
364
369
-
> Note that the above instructions were tested on GKE 1.13 and Istio 1.2
| `faasnetes.livenessProbe.initialDelaySeconds` | Number of seconds after the container has started before [probe](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) is initiated | `2` |
0 commit comments