Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnitedDeployment usages #124

Closed
hle2 opened this issue Oct 22, 2020 · 5 comments
Closed

UnitedDeployment usages #124

hle2 opened this issue Oct 22, 2020 · 5 comments

Comments

@hle2
Copy link

hle2 commented Oct 22, 2020

Would like to understand how UnitedDeployment can be used?

  1. How Subset used to select a group of Node (e.g. NodePool Name)? Does it define a NodePool CRD first?
  2. if need to deploy 2 deployments (with different deploymentTemplate) in same Unit, How to define the UnitedDeployment? Is there any sample for reference? Thanks!
@kadisi
Copy link
Member

kadisi commented Oct 22, 2020

@hle2 good idea,

In the edge scenario, the distribution of worker nodes is relatively scattered. There may only be one worker node at the same physical location, and there may also be multiple worker nodes at the same physical location. However, multiple worker nodes are differentiated in OS, CPU architecture or network. Therefore, from the work Node resource perspective of edge nodes, they need to be divided into different Nodepool to represent the same set of features. All under the same nodepool node should have the same label, the annotation and taint, so k8s native resources (deployment, statefulset daemonset) easy deployment.

In order to enable k8s native Deployment, Statefulset,daemonset resources to deploy intelligently according to NodePool, we abstract the concept of UnitedDeployment which is a k8s crd. In the definition of UnitedDeployment, we support deployment, Daemonset, statefulSet resources can deploy to different Nodepool in one model.

@charleszheng44 and I are working on it and will submit a proposal later.

@hle2
Copy link
Author

hle2 commented Oct 22, 2020

@kadisi, Thanks much for the comments!
BTW, Does NoodPool is also defined as a CRD? If yes, does it in github now? Thanks!

@kadisi
Copy link
Member

kadisi commented Oct 22, 2020

@kadisi, Thanks much for the comments!
BTW, Does NoodPool is also defined as a CRD? If yes, does it in github now? Thanks!

yes, NodePool is also defined as a CRD, we will later add a yurtunit-manager operator to manage both the NodePool and UnitedDeployment CRDS. At present, it is not in github. We will submit a proposal first, and we can discuss it in the community meeting. Eventually we will open source this part of the code。

@rambohe-ch
Copy link
Member

@hle2 UnitedDeployment has been released, and the repo is here: https://github.com/openyurtio/yurt-app-manager
I will close this issue because not active for more than two months. if you have any other questions about UnitedDeployment, please open a new issue.

@hle2
Copy link
Author

hle2 commented Nov 24, 2021

@rambohe-ch thanks much for the information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants