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
Copy file name to clipboardExpand all lines: docs/openfaas-pro/dashboard.md
+8-46Lines changed: 8 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,7 @@ To access the dashboard run the following, whenever you need it:
224
224
```bash
225
225
kubectl port-forward \
226
226
-n openfaas \
227
-
svc/dashboard 8081:8080
227
+
service/dashboard 8081:8080
228
228
```
229
229
230
230
The username is `admin` and the password is the same one used for `faas-cli login`.
@@ -233,56 +233,18 @@ Then access the URL via `http://127.0.0.1:8081`
233
233
234
234
### Expose your dashboard on the Internet
235
235
236
-
Once deployed, you can leave your dashboard private, and access it via port-forwarding, or create a Public Ingress record to access it over the Internet.
236
+
The Helm chart has instructions for exposing both the gateway and the dashboard over the Internet using Let's Encrypt and cert-manager. You can also create your your custom Ingress record or Istio Gateway, the dashboard is available at `http://dashboard.openfaas:8080` within the cluster.
237
237
238
-
There two three options for Public Ingress:
238
+
See also: [TLS for OpenFaaS](/reference/tls/)
239
239
240
-
* Kubernetes Ingress Controller
241
-
* Istio Gateway/VirtualService.
240
+
### Access OpenFaaS over TLS from your local machine
242
241
243
-
If your cluster does not have a public IP, but you still want to access the dashboard over the Internet, we have included notes on how [inlets.dev](https://inlets.dev) can help.
242
+
When working locally, you will not have a public IP address available. You can use an inlets tunnel to access your OpenFaaS gateway and dashboard over TLS.
244
243
245
-
Assuming you already have a Let's Encrypt Issuer and are using ingress-nginx, you could use the following example:
244
+
Set up the tunnel using these steps: [inlets automated HTTP server](https://docs.inlets.dev/tutorial/automated-http-server/), then apply the below YAML for the tunnel client, to expose both the gateway and the dashboard.
TLS is mandatory, and you'll use your OpenFaaS password to log in with your browser.
284
-
285
-
A much simpler alternative for local testing and development is to set up an inlets VM in HTTPS mode: [inlets automated HTTP server](https://docs.inlets.dev/tutorial/automated-http-server/).
246
+
* Edit the `token`, `license`, and `url` fields as per the output from link above.
247
+
* Then update the values for `upstream`to match the domain names you're using for the gateway and dashboard, make sure you've created DNS A or CNAME records to point to the tunnel server.
0 commit comments