Git Product home page Git Product logo

Comments (8)

christopherhein avatar christopherhein commented on August 9, 2024 1

@gyliu513 yea, check out the readme in https://github.com/kubernetes-sigs/cluster-api-provider-nested/tree/main/virtualcluster/experiment it's a way of doing multi-supercluster virtualcluster deployments with regards to the workload scheduling, not related to the control plane provisioning aspects.

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024 1

@gyliu513 do you feel like you've gotten the right information now and we can close this issue?

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

Yeah, to add to that…

Some other example of areas where I could see more of this is a centralized logging or metrics system so everyone didn't need to maintain their own.

All that being said there is a downside to this to consider, VC does a lot to help make the super cluster really lightweight and easily replaceable, the more you break that model the more VC get's harder and less flexible. For example if you look at the experimental namespace two tier scheduler this is continuing to focus on making the tenant cluster the owner of the data and the implementation which allows us to have N light weight pod scheduling domains if one goes down the tenant cluster can still exist and can easily transfer workloads to another cluster in the fleet.

from cluster-api-provider-nested.

gyliu513 avatar gyliu513 commented on August 9, 2024

https://github.com/kubernetes-sigs/cluster-api-provider-nested/blob/main/virtualcluster/doc/customresource-syncer.md for CRDs that we expose only the implementation at the super cluster but want tenant clusters to be able to CRUD them.

@christopherhein , thanks, this is the feature that I want. If we can expose some CRDs only on super cluster, then how about extending this to support other k8s resources :)

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

Yup, we do this as well. Some are just to create random actions for example because we don't have CAPI's ClusterResourceSet we use a "checker" within the confines as how the vc-syncer defines it to automatically make sure there is always X or Y admission webhook deployed into the tenant control plane.

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

The struggle is you have to write a lot of those extensions yourself cause of how vc syncs things you need make sure it supports that flow, we package our syncer w/ vc-syncer as a single code base but extend it to have the other custom components.

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

/kind support

from cluster-api-provider-nested.

gyliu513 avatar gyliu513 commented on August 9, 2024

For example if you look at the experimental namespace two tier scheduler this is continuing to focus on making the tenant cluster the owner of the data and the implementation which allows us to have N light weight pod scheduling domains if one goes down the tenant cluster can still exist and can easily transfer workloads to another cluster in the fleet.

@christopherhein For VC, I think there is only one scheduler in super cluster, but no in tenant cluster. Can you share more detail for what do you mean by experimental namespace two tier scheduler?

from cluster-api-provider-nested.

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.