Invoking the function

The Kubeless function can be invoked through the command line or through a UI provided by Kubeless. The Kubeless UI can be provisioned by downloading the file locally and running it, or by using a Docker image and Dockerfile, or through the Kubernetes manifest that's available with the repository. For our tutorials, I will be using the Kubernetes manifest, as shown in the following code:

Currently, the UI works perfectly fine with minikube, but it might need a few tweaks if you have an RBAC cluster, or it could just work without any tweaks.
$ kubectl create -f https://raw.githubusercontent.com/kubeless/kubeless-ui/master/k8s.yamlserviceaccount "ui-acct" createdclusterrole "kubeless-ui" createdclusterrolebinding "kubeless-ui" ...

Get DevOps for Serverless Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.