O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required