Comments (4)
I'm willing to guess that your vendor folder contains two glogs and this is causing the redefinition error i.e.
vendor/github.com/golang/glog
vendor/k8s.io/client-go/vendor/github.com/golang/glog
One quick solution might be to delete the vendor/k8s.io/client-go/vendor/github.com/golang/glog
one, rebuild, and try running it again.
from client-go.
@dongsupark if client-go doesn't include vendor/, go get
users will have a hard time. go get
will download from the master branches of the dependent repos, which may not compile with client-go. We need to make trade-off, let's discuss on #83.
from client-go.
@vklonghml maybe this is not directly related to your problem, but why would k8s.io/kubernetes/cmd/kube-apiserver/apiserver.go ended up calling client-go?
from client-go.
Yesterday I hit the same issue with error messages like "flag redefined: log_dir"
, which was not exactly easy to address.
When a go application depends on client-go, developer should either manually clean up duplicated vendors locally, (like above) or make it selectively vendor k8s.io/client-go
. Obviously the latter is a better choice in practice.
In the long term, I think client-go should not include own vendor directories on its own, like being discussed in #83.
from client-go.
Related Issues (20)
- Clientgo StreamWatcher is consuming high memory in high pod churn case HOT 3
- Remote Command Executor Re-Using Stdin/Stdout Results in Lost Data HOT 1
- how to count processorListener.pendingNotifications length HOT 1
- "allow adding indexes after informer starts" is missing in release branches HOT 2
- TypeMeta is empty on .List() resources HOT 3
- Error in Installing client-go HOT 1
- Memory leak in watcher HOT 4
- Add ability to manage labels in `resourcelock` HOT 1
- Annotate deprecated functions to allow linters to catch usage HOT 1
- The RetryWatcher received an 'Added' event for an old Pod. HOT 3
- How to cancel remote command execution? HOT 1
- why not use append instead for range
- apimachinery.ExtractInto generates diff HOT 1
- Watcher emits StatusInternalServerError when API server closes a watch gracefully with 200 HOT 3
- Why setting minWatchTimeout to only 5min
- Missing Kubernetes Labels for Nodes in GKE Cluster after Enabling Image Streaming Feature HOT 1
- support labeled events in EventRecorder interface
- Jsonpath impl does not support left match regex
- intermittent errors from client informer
- Server-Side Apply: ExtractPod should specify `UID`
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 client-go.