Giter VIP home page Giter VIP logo

Comments (7)

dejavu6 avatar dejavu6 commented on July 29, 2024

请问怎么解决的,我遇到一样的问题了

from examples.

bluntWu avatar bluntWu commented on July 29, 2024

edit /etc/kubernetes/manifests/kube-apiserver.yaml
--insecuret-port=8080
--insecure-bind-address=0.0.0.0
restart

from examples.

swartz-k avatar swartz-k commented on July 29, 2024

the quickesty way, i think; file: examples/kubeedge-counter-demo/web-controller-app/utils/kubeclient.go should be edit like this

// replace this with the K8s Master IP
var KubeMaster = "https://192.68.105.207:6443"
var Kubeconfig = "/static/admin.conf"

and copy admin.conf to your container;fileexamples/kubeedge-counter-demo/web-controller-app/Dockerfile add line

COPY admin.conf /static 

the better way is get permission by clusterrole && clusterrolebinding && serviceaccount,and also i think this demo has a better way to update CR,if i will solve those problems,i will share it

from examples.

DapengLan avatar DapengLan commented on July 29, 2024

edit /etc/kubernetes/manifests/kube-apiserver.yaml
--insecuret-port=8080
--insecure-bind-address=0.0.0.0
restart

I got the issue that the port is in use by the Kube-api. any suggestions? thanks

2020/12/11 13:22:23 Get kubeConfig successfully
2020/12/11 13:22:23 Get crdClient successfully
2020/12/11 13:22:24.001 [I] http server Running on http://:8089
2020/12/11 13:22:24.001 [C] ListenAndServe: listen tcp :8089: bind: address already in use

from examples.

swartz-k avatar swartz-k commented on July 29, 2024

edit /etc/kubernetes/manifests/kube-apiserver.yaml
--insecuret-port=8080
--insecure-bind-address=0.0.0.0
restart

I got the issue that the port is in use by the Kube-api. any suggestions? thanks

2020/12/11 13:22:23 Get kubeConfig successfully
2020/12/11 13:22:23 Get crdClient successfully
2020/12/11 13:22:24.001 [I] http server Running on http://:8089
2020/12/11 13:22:24.001 [C] ListenAndServe: listen tcp :8089: bind: address already in use

maybe you should check deployment,hostNetwork: true i delete it and didn`t get error

from examples.

daixiang0 avatar daixiang0 commented on July 29, 2024

Please try the latest example to confirm this issue exists or not, it works at my env, thanks :)

If it still exists, please reopen it!

/close

from examples.

kubeedge-bot avatar kubeedge-bot commented on July 29, 2024

@daixiang0: Closing this issue.

In response to this:

Please try the latest example to confirm this issue exists or not, it works at my env, thanks :)

If it still exists, please reopen it!

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from examples.

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.