The goal of this project is to setup Kubeless
in Minikube
and then, deploy and run some functions.
You must have installed in your machine:
- a recent version of
Apache Maven
; JDK 1.8
or later;Kubectl
(how to install here)Minikube
(how to install here)Kubeless CLI
(can be downloaded from the release page)
Open a terminal and start Minikube
by running the following command. The properties --memory
, --cpus
and --vm-driver
are optional.
minikube start --memory=8192 --cpus=4 --vm-driver='virtualbox'
In kubeless-minikube-environment
directory, run the script below to install Kubeless
in Minikube
./install-kubeless.sh
Check Pods
in kubeless
namespace
kubectl get pods --namespace kubeless
In kubeless-minikube-environment
directory, run the script below to uninstall Kubeless
./uninstall-kubeless.sh
The following command shuts down the Minikube Virtual Machine
, but preserves all cluster state and data. Starting the cluster again will restore it to it’s previous state.
minikube stop
The command shuts down and deletes the Minikube Virtual Machine
. No data or state is preserved.
minikube delete