Comments (4)
As I had mentioned in the PR that integrated the CRD puller in the cluster controller, this is for now a very basic implementation of API resource import from external clusters, with no negociation at all in case of resource schema conflicts.
There should be some sort of schema negotiation when the same API resource is imported into a KCP logical cluster from several sources. We'll need to diff the various schemas and, when possible, finally use the least-common-denominator (LCD) of the various imported schemas. Some details of how this should be driven and managed are still to be defined and I'll let @smarterclayton complete / correct what I briefly answered here.
But to summarize: No the current behavior is not by design, and API resource import and negotiation is a key point of KCP that still needs to be fully specified & implemented.
from kcp.
For more details about CRD negotiation, see https://github.com/kcp-dev/kcp/blob/main/docs/investigations/logical-clusters.md#crd-virtualization-inheritance-and-normalization
from kcp.
Thanks @davidfestal
Expect to see the design details.
from kcp.
This should have been fixed by PR #116
from kcp.
Related Issues (20)
- epic: Kubernetes 1.28 HOT 1
- Community Meeting September 14, 2023 HOT 2
- bug: `kubectl-ws '~'` changes hostname used in kubeconfig server URL HOT 10
- Community Meeting September 28, 2023 HOT 3
- bug: leaking memory and goroutines HOT 8
- Pointer: NFD Feature request for MultiCluster environments HOT 1
- bug: no v0.21.0 image published HOT 2
- bug: High CPU and memory consumption HOT 2
- bug: Wire in dev certificate for mounts in `kcp start` HOT 2
- epic: Kubernetes 1.30
- feature: add kcp-controller-manager standalone binary
- bug: Use kcp start command HOT 1
- bug: ServiceAccount token access leak HOT 2
- bug: ws tree does not work for home clusters HOT 1
- feature: move mounts to use index
- feature: add `kubectl ws -i` HOT 2
- epic: 2024-03-25 archived PRs from TMC or out of scope
- feature: Need Documentation for KCP Installation HOT 2
- A potential risk in kcp that could lead to takeover of the clusterfeature: HOT 1
- checksum of pre built binaries didn't match at v0.24.0 HOT 4
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 kcp.