Comments (5)
My guess is that this line here is wrong and should simply be "v1". instead of version https://github.com/kubevirt/kubevirt/blame/e53b1249f073ffab068037973a914303082925c9/pkg/virt-api/api.go#L584C5-L584C37
from kube.
Happened to me too with the location comment :D
Anyhow, I initially thought that simply having Kubevirt and using Kube.rs was enough to cause this bug. But as it is only when using Dynamic discovery and it looks like a sincere oversight on KubeVirt side (vs a v1alpha3 being used in the past), I think this bug could be closed without any further action.
from kube.
IIRC from the kubevirt thread i think possibly kubevirt was confusing the version for the apiresource kind with the version of their own apigroup.
If true, then that is probably something that needs to be raised with them. Kind of surprised this works at all on the golang side.
from kube.
Unfortunately I don't seem to have access to the discord thread you mentioned. But a simple mistake seems the most plausible. I also raised it with them kubevirt/kubevirt#10899.
from kube.
That looks like a good change upstream to me. Thanks for digging into this.
discord info
The tokio discord thread is mostly just someone drive-by noticing the dynamic_watcher example did not work with kubevirt during discovery and giving a serialization error:
}, Error("invalid value: string \"v1alpha3\", expected v1", line: 3, column: 25)
Error: Error deserializing response
Caused by:
invalid value: string "v1alpha3", expected v1 at line 3 column 25
and doing some cross-referencing with kubectl -v9
without it being too fruitful.
EDIT: accidentally replied this to upstream repo 🤦
from kube.
Related Issues (20)
- missing field `certificate-authority-data` when exec credential plugins
- Release Note Sketch for 0.89.0 HOT 2
- kube::client::Body::empty() is private and cannot be used in unit tests HOT 3
- Cannot compile due to chrono issue HOT 7
- upgrade `rustls` to 0.23 and `hyper-rustls` 0.27
- release plan for 0.90 HOT 1
- Can List support sorting? HOT 2
- Improve shared streams interfaces
- Change Controller concurrency defaults based on available CPU
- Why is the schema of the api server url fixed to HTTPS,can it support configurable features? HOT 6
- Expose scheduler metrics from runtime
- Breaking api changes between minor versions of json-patch dependency HOT 3
- Reduce buffering between `watcher` and `Store` HOT 1
- Unchecked add of instant + duration is causing a panic. HOT 5
- Can't compile HOT 3
- ListMeta is required in ObjectList wrongly
- Update `json-patch` to 2.0.0 HOT 1
- Create a memory benchmark for watcher
- Use a channel for watcher Restarted instead of buffering to vec HOT 2
- Tokio Version confict with non default features that include kube-client 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 kube.