-
Notifications
You must be signed in to change notification settings - Fork 717
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
Autostart trial #2160
Autostart trial #2160
Conversation
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.
Not really familiar with this part of the code and I still want to do some tests but overall lgtm!
I left a comment about state consistency (not a new topic actually)
I was also wondering how to start a new trial if a user has upgraded its clusters to a new major version, which would require a call to /_license/trial_status
I guess.
Looking at the code again, I wonder if I should:
|
unless I am misunderstanding your proposal trial status is used to on the orchestration/ECK level to provide some assurance that trials cannot be restarted etc. If you mean the cluster level trial license secret then yes that could make sense
The ECK level trial is corresponding to the ECK level
How about doing none of this and doing a synchronous |
ba78514
to
de7a9b5
Compare
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.
lgtm
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.
I think almost ready to merge!
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.
LGTM 🚢
The last build failed because the LOCAL_SSD_TOTAL_GB quota was reached. |
This commit fixes two bugs:
Adds the support for the enterprise trial license:
Brings a small optimization:
Resolves #1003.
Quick recap about how trial license works. 3 controllers are involved:
trial-controller
Watches:
{"license.k8s.elastic.co/type": "enterprise-trial"}
Reconciles:
license-controller
Watches:
{"license.k8s.elastic.co/type": "enterprise"}
Reconciles:
elasticsearch-controller
Watches:
Reconciles: