Comments (7)
请问怎么解决的,我遇到一样的问题了
from examples.
edit /etc/kubernetes/manifests/kube-apiserver.yaml
--insecuret-port=8080
--insecure-bind-address=0.0.0.0
restart
from examples.
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.
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.
edit /etc/kubernetes/manifests/kube-apiserver.yaml
--insecuret-port=8080
--insecure-bind-address=0.0.0.0
restartI 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.
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.
@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)
- kubeedge-counter-demo no working on kubeedge 1.6.2 HOT 4
- pi-counter can't run at edge HOT 1
- What is the principle of its implementation
- kubeedge -edge-ai-application
- error: unable to recognize "kubeedge-counter-model.yaml": no matches for kind "DeviceModel" in version "devices.kubeedge.io/v1alpha2" HOT 2
- kubeedge-pi-counter-784d57c5d4-d7tw7 0/1 ContainerCreating HOT 1
- error:the server could not find the requested resource (patch devices.devices.kubeedge.io counter)
- who send mqtt message to topic HOT 3
- bug: example led-raspberrypi unable to open gpio on Raspberry Pi 4 HOT 1
- Developing Vision Applications Based on Edge-Cloud Collaborative Lifelong Learning Sedna: Research on Distributed Multi-task Generative Adversarial Network Architecture and Algorithms
- Developing a demo for mobile robot navigation and capturing base on KubeEdge HOT 2
- Simulation Application of Multi-robot Collaboration HOT 12
- Implementation of an VSLAM Algorithm on KubeEdge
- Building a Robot-Oriented Intelligent Monitoring System HOT 2
- Traffic-light example: failing to build the docker image
- use kubeedge-pi-counter-app.yaml problem? HOT 3
- Receive message from downstream topic when publish message to upstream topic
- Can these examples be used normally in Kubeedge1.15 version? HOT 1
- image docker.io/kubeedge/kubeedge-pi-counter:v1.0.0 can't been pulled. HOT 1
- counter can not turn on
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 examples.