# Assuming the following is installed and available # - minikube installed and started # - helm installed # - OpenWhisk CLI, wsk, installed (not configured) # - git clone https://github.com/apache/openwhisk-deploy-kube.git # # Clean up: In case you have a previously failed install, remove it from the cluster with the following line # kubectl delete namespace openwhisk # Create a namespace to deploy into kubectl create namespace openwhisk # Label all nodes as available to for OpenWhisk workloads kubectl label nodes --all openwhisk-role=invoker --overwrite # Install OpenWhisk, without persistence and turn off event provides you will not use anyway helm install openwhisk-deploy-kube/helm/openwhisk --namespace openwhisk --set k8s.persistence.enabled=false --set whisk.ingress.apiHostName=$(minikube ip) --set providers.alarm.enabled=false --set providers.cloudant.enabled=false --set providers.kafka.enabled=false --set persistence.explicitStorageClass=standard --generate-name # Setup the wsk CLI to point to the cluster API wsk property set --apihost $(minikube ip):31001 # Set the auth key (you find it in the file 'values.yaml' in the helm chart for OpenWhisk. It is on line 68, under auth.system) wsk property set --auth 789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP # # Wait for a really long time, until the pod 'openwhisk-*******-install-packages' Pod is in the Completed state # # This should then work # wsk -i list