Git Product home page Git Product logo

Comments (12)

christopherhein avatar christopherhein commented on August 9, 2024 1

Thanks @kfox1111, yeah. I was taking a look at that recently as it was shared on the SCL mailing list. Looks like a neat implementation. I like that it's orchestrated with kubeadm at parts even though the templating is done upfront.

We currently have a similar approach which is backed by a controller that we're in essence reimplementing the API in this project. https://github.com/kubernetes-sigs/multi-tenancy/tree/master/incubator/virtualcluster

Probably useful to share things between these two projects.

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

@salaxander @Fei-Guo @weiling61 @charleszheng44

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

Please add more Goals/Non-Goals for CAPN

from cluster-api-provider-nested.

charleszheng44 avatar charleszheng44 commented on August 9, 2024

Though manging Etcd is not our goal, to increase the development velocity, can we implement a basic NestedEtcd controller that creates in-mem Etcds for NestedControlPlanes? In the future, we can make CAPN compatible to some third-party Etcd-operators.

from cluster-api-provider-nested.

enxebre avatar enxebre commented on August 9, 2024

Some high level goals I'd like to include:

  • To reinforce responsibility boundaries between cluster provider and cluster consumer / Service plane vs data plane.
  • To shift content out of consumer-visible (kubeconfig) cluster data plane to service control plane. Externalizes etcd, kube-{apiserver|controller}, scheduler, auth, identity to management cluster.
  • To reduce cost per cluster by deploying control planes as pods to the management cluster rather than target traditional virtual/physical/infrastructure hosts.
  • To enable heterogeneous architectures for data plane compute nodes. E.g Virtual nodes (as in https://github.com/kubernetes-sigs/multi-tenancy/tree/master/incubator/virtualcluster) vs virtual/physical/infrastructure hosts.

cc @ironcladlou @csrwng

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

Though manging Etcd is not our goal, to increase the development velocity, can we implement a basic NestedEtcd controller that creates in-mem Etcds for NestedControlPlanes? In the future, we can make CAPN compatible to some third-party Etcd-operators.

Yes, agree @charleszheng44.

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

@enxebre these are great and I agree should be added.

One thing, with "reduce cost per cluster"? I'm concerned that might be all dependent on where the control planes are provided. At least w.r.t physical "$". Am I misinterpreting what you mean?

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

/kind design

from cluster-api-provider-nested.

kfox1111 avatar kfox1111 commented on August 9, 2024

I wonder if this helm chart might help with an initial bootstrapping implementation:
https://github.com/kvaps/kubernetes-in-kubernetes/tree/master/deploy/helm/kubernetes

It is pretty easy to map crd values to a helm chart values file and deploy that way. This can allow iterating with the api to get it right much more quickly then trying to write it from scratch in something like go. Once the api is nailed down, then it can potentially be replaced by a go operator that does the templating itself?

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

/milestone v0.1.0

from cluster-api-provider-nested.

christopherhein avatar christopherhein commented on August 9, 2024

/close

from cluster-api-provider-nested.

k8s-ci-robot avatar k8s-ci-robot commented on August 9, 2024

@christopherhein: Closing this issue.

In response to this:

/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 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.