kubeless icon indicating copy to clipboard operation
kubeless copied to clipboard

ERR_ACCESS_DENIED calling hello example

Open chershma opened this issue 4 years ago • 1 comments

Hey

just installed kubeless on my minikube (minikube version: v0.34.1)

I deployed the hello example and have the function running, but calling it fails with an access denied

kubeless function call hello --data 'Hello world!'

html page response:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ERROR: The requested URL could not be retrieved</title>
...
</head><body id="ERR_ACCESS_DENIED">
<div id="titles">
<h1>ERROR</h1>
h2>The requested

this is also reproduced with a demo-python example.

I see the hello pod is started and so are the kubeless controller. I can also ssh into another pod I have and activate the hello pod: curl 10.100.76.81:8080/hello --data 'hi you' which returns 'hi you' but, I cant use kubeless cli for this.

  • Kubernetes version (v1.13.3):
  • Kubeless version (v1.0.6-dirty):
  • Cloud provider or physical cluster: this is a minikube on my VM

I added RBAC permissive setting, so eliminate cluster permissions, but its still failing

chershma avatar Jun 10 '20 06:06 chershma

it seems that you are using an old version of Minikube, can you try with a newer version?

Also, it's not clear to me why you are getting an error as a HTML page, are you using the Kubeless UI or something like that?

andresmgot avatar Jun 10 '20 08:06 andresmgot