Code Monkey home page Code Monkey logo

Comments (8)

andresmgot avatar andresmgot commented on June 24, 2024 1

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.

sebgoa avatar sebgoa commented on June 24, 2024

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.

sebgoa avatar sebgoa commented on June 24, 2024

and checking the readme in this repo, it is clearly undocumented...sorry about that

from kubeless-ui.

arjunrao87 avatar arjunrao87 commented on June 24, 2024

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.

sebgoa avatar sebgoa commented on June 24, 2024

Are you using RBAC in your cluster ?

from kubeless-ui.

sebgoa avatar sebgoa commented on June 24, 2024

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.

arjunrao87 avatar arjunrao87 commented on June 24, 2024

@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.

arjunrao87 avatar arjunrao87 commented on June 24, 2024

Bingo that worked. Looks like the previous manifest was pointing an incorrect ui version. Thanks @andresmgot

from kubeless-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.