Comments (3)
Oh, it seems that it is a 1.10 change: kubernetes/kubernetes#59884 (I checked it in 1.9). Thanks for reporting this, I will update the UI.
from kubeless-ui.
Hi @sonalkr132, did you run the UI using the manifest at?:
kubectl create -f https://raw.githubusercontent.com/kubeless/kubeless-ui/master/k8s.yaml
Also, how are you accessing the UI? By default it expose a NodePort that is the one that can be used to access the service.
Finally note that both URLs are correct:
$ curl 127.0.0.1:8080/api/v1/namespaces/default/services/get-python:8080/proxy/
hello world
$ curl 127.0.0.1:8080/api/v1/proxy/namespaces/default/services/get-python:8080/
hello world
from kubeless-ui.
did you run the UI using the manifest at?:
yes, I used the same.
how are you accessing the UI?|
ui services exposes 3000 on host using NodePort as you mentioned. I am using <ui-host-ip>:3000
to access UI.
both URLs are correct:
can you please re-confirm this? I used following steps:
$ minikube start --kubernetes-version v1.10.0
$ kubectl config use-context minikube
$ export RELEASE=v0.6.0
$ kubectl create ns kubeless
$ kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-non-rbac-$RELEASE.yaml
$ cat <<EOT >> test.py
def foobar(event, context):
print event
return event['data']
EOT
$ kubeless function deploy get-python --runtime python2.7 --from-file test.py --handler test.foobar
$ kubectl proxy -p 8080 &
$ curl -L --data '{"Another": "Echo"}' \
> --header "Content-Type:application/json" \
> localhost:8080/api/v1/proxy/namespaces/default/services/get-python:8080/
{ "kind": "Status",
"apiVersion": "v1",
"metadata": { },
"status": "Failure",
"message": "the server could not find the requested resource",
"reason": "NotFound",
"details": { },
"code": 404
}
$ curl --data '{"Another": "Echo"}' --header "Content-Type:application/json" localhost:8080/api/v1/namespaces/default/services/get-python:http-function-port/proxy/
{"Another": "Echo"}
from kubeless-ui.
Related Issues (20)
- Additional Documentation HOT 1
- Want flexible root URL HOT 3
- Fix CSS for large functions name HOT 1
- Kubeless UI only has Node 6, Ruby 2.4 and Python 2.7 as possible runtimes
- Issue with basic authentication HOT 2
- Stuck in loading pods HOT 1
- Support for other namespace and other KAFKA services! HOT 4
- Can't access kubeless-ui non-localhost HOT 1
- kubeless-ui needs to enable visibility to configmap HOT 1
- new code updated on kubeless-ui doesn't take effect HOT 2
- adding deps doesn't work HOT 2
- Support offline, on-prem installs HOT 3
- AceEditor mode bug
- kubeless-ui doesnt support functions in other namespaces HOT 3
- UI not working HOT 1
- no matches for kind "Deployment" in version "extensions/v1beta1"
- UI page is not scrolling Down. HOT 2
- k8s.yaml has duplicate key. HOT 2
- UI create functions failed (connect ECONNREFUSED 127.0.0.1:8080) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubeless-ui.