v6d
v6d copied to clipboard
Improve the scheduler plugin for the actual production environment
Describe your problem
The current scheduler plugin isn't enough to meet the needs of the actual production environment, we should improve the scheduler plugin to make it easy for end-users to use the vineyard's ability in the k8s environment.
What is the problem:
- In the actual production environment, users need to align an order for a workflow.
- At present, the CRD
GlobalObject
andLocalObject
are considered observed resources, and we should get the workload that produces it throughannotation
orlabel
and add ownereference for them. - There isn't a demo for users.
Todo List:
- [ ] Add some annotations for users to setup the workflow order etc.
- [ ] Add ownereference for
GlobalObject
andLocalObject
. - [ ] Containerize the current demo so that it can be deployed in the k8s cluster and used in the operator.
- [ ] Add an e2e test for the operator.
- [ ] Add user manual.
@sighingnow Could you please take a look at this?
I suggest design a tool kubectl vineyard
or vineyardctl
to interact with k8s, and to help user annotate their jobs or annotate vineyard objects.
Could you elaborate on it a bit here? If we only want to annotate an object or a job, the command kubectl annotate
is enough.