Comments (8)
It seem that indeed you have an old version of the Kubeless UI. @sebgoa has just pushed a manifest that you can use to deploy the UI. First remove the current svc/deployments that you may have running, then just executing:
kubectl create -f https://raw.githubusercontent.com/kubeless/kubeless-ui/master/k8s.yaml
That will expose a node port in minikube so you can retrieve it:
kubectl get svc ui -n kubeless
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ui 10.0.0.151 <pending> 3000:31172/TCP 12m
and access the UI at $(minikube ip):31172
from kubeless-ui.
How are you deploying the UI ?
The easiest way is to run the UI as a k8s deployment and a svc:
kubectl create -f https://raw.githubusercontent.com/kubeless/kubeless/master/manifests/ui/ui-deployment.yaml
kubectl create -f https://raw.githubusercontent.com/kubeless/kubeless/master/manifests/ui/ui-svc.yaml
the manifests are in the kubeless/kubeless repo: https://github.com/kubeless/kubeless/tree/master/manifests/ui
from kubeless-ui.
and checking the readme in this repo, it is clearly undocumented...sorry about that
from kubeless-ui.
Yup using the same commands to deploy the UI. No worries. Once I figure out this problem, I will contribute to the documentation!
from kubeless-ui.
Are you using RBAC in your cluster ?
from kubeless-ui.
looks like there is a connection refused on 192.168.99.100 , but the UI code running inside a Pod should really be talking to localhost:8080 - which goes to the kubernetes API server thanks to a sidecar proxy-.
so I am not sure why it is talking to 192.168.99.100 :(
from kubeless-ui.
@sebgoa I am not using RBAC. I am confused by this error too
Tue, 17 Oct 2017 20:30:48 GMT app:server Error: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the API version in the data () does not match the expected API version (k8s.io/v1)","reason":"BadRequest","code":400}
Is this a thirdpartyresources API mismatch? Do I need to update minikube for this version of kubeless or something?
from kubeless-ui.
Bingo that worked. Looks like the previous manifest was pointing an incorrect ui version. Thanks @andresmgot
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
- run function gives 500 HOT 3
- 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.