-
Notifications
You must be signed in to change notification settings - Fork 42
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
added SupervisorSpec CRD #61
Conversation
@applike-ss IMHO you can add your PR into the workflow design here . For batch, supervisor, sql we plan to have a single controller which can support all of them. |
I've added my example here: 342a330 |
If i get your CR and code right, then your change is for one-time tasks while mine is for supervisor specs, so long-running stateful tasks. Is this correct? What do you mean with adding my PR into the workflow design "there"? Do you mean i should adjust my PR description to match the structure of yours? |
@applike-ss thank you. This PR is really helpful, and looking at the CR we are very much aligned. Lets sync on druid-operator slack for faster iteration. |
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this and the below unnecessary comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does exist for the druid spec types as well, should i remove those too?
@applike-ss Are you up to finishing this? This PR can be useful. |
There's no doubt i would like to finish it up, but i will need to schedule this with my lead. I'm doing this within business hours. |
I am currently really packed with work and will not be able to finish this in the upcoming month(s). EDIT: I will get time to work on this in the upcoming weeks for some time. |
FYI: i am proceeding with this PR. Currently setting up my test env and trying to get my PR back into a working state as some things have changed meanwhile |
036b9b3
to
9a5ae43
Compare
@applike-ss i would like to discuss the design with you. Please schedule a call on my calendly anytime. I would want to have some core changes in the spec definition. |
IDK if it makes sense to sync currently. |
we have ingestion controller now. feel free to contribute to it. |
Fixes druid-io/druid-operator#313
Description
We're currently managing our supervisor specs as json files, however that does not seem to be ideal - especially in a Infrastructure as Code world where having it applied should only be one command away.
To make our Supervisor specs available for IaC tools, i have crafted this change-set to allow creating SupervisorSpec CRs and apply them to the cluster in the defined state.
This is my first try to hack some support of any kind into an operator in kubernetes, so there may be some things done plain wrong and wrong terminology used in code.
This Change was done in a hackathon under time pressure, so please bear with me as the code will not be perfect.
Let me know what you think anyways.
I'll rebase this at some point, for now i just wanted to make sure to create this PR.
This PR has:
Key changed/added files in this PR
helm-install-druid-operator
make job for easier one-shot installs (may be removed before merge)