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

Add Status Conditions to CR #3503

Merged
merged 11 commits into from
Aug 31, 2021
Merged

Add Status Conditions to CR #3503

merged 11 commits into from
Aug 31, 2021

Conversation

ukclivecox
Copy link
Contributor

@ukclivecox ukclivecox commented Aug 23, 2021

What this PR does / why we need it:

  • Adds Status conditions to CR
  • Update executor and operator golang to 1.16
  • Update k8s libraries to 1.21 compatible

You can do use kubectl like:

kubectl wait --for condition=ready --timeout=300s sdep --all -n seldon

Which issue(s) this PR fixes:

Fixes #3265

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ukclivecox ukclivecox changed the title Add Status Conditions to CR WIP: Add Status Conditions to CR Aug 23, 2021
@axsaucedo
Copy link
Contributor

/test integration

@ukclivecox ukclivecox changed the title WIP: Add Status Conditions to CR Add Status Conditions to CR Aug 24, 2021
@ukclivecox ukclivecox requested a review from axsaucedo August 24, 2021 18:23
Copy link
Contributor

@axsaucedo axsaucedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - I did a first pass, I was thinkign it would be great to add documentation (including in upgrading.md), and perhaps a couple new integration tests that could check some of the specific status (like HPA and Keda - although the latter may be more fiddly so could be left for later)

@@ -1072,6 +1072,18 @@ func (r *SeldonDeploymentReconciler) createIstioServices(components *components,
}
}

if ready {
var reason string
if len(components.virtualServices) > 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this wouldn't we need to add the exact number of services, just in case for example if there's a new canary/shadow added and the virtualservice needs to be created for it

@@ -96,7 +96,7 @@
{
"data": {
"text/plain": [
"'1.9.0-dev'"
"'1.10.0-dev'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems this is not pointing to 1.11.0-dev

@axsaucedo
Copy link
Contributor

/test integration

@axsaucedo
Copy link
Contributor

/test notebooks

@axsaucedo
Copy link
Contributor

/test integation

@axsaucedo
Copy link
Contributor

/test notebooks

1 similar comment
@ukclivecox
Copy link
Contributor Author

/test notebooks

@ukclivecox
Copy link
Contributor Author

/test integration

@ukclivecox
Copy link
Contributor Author

/test integration

@ukclivecox
Copy link
Contributor Author

/test notebooks

@ukclivecox
Copy link
Contributor Author

/test notebooks

@axsaucedo
Copy link
Contributor

/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@seldondev seldondev merged commit 6295730 into SeldonIO:master Aug 31, 2021
stephen37 pushed a commit to stephen37/seldon-core that referenced this pull request Dec 21, 2021
* Upgrade to 0.20 k8s librarues and Go 1.16

* Add initial status conditions for sdeps

* finish conditions

* update licenses

* add status conditions to test

* update notebooks and dockerfiles

* update convert script to increase time after a kubectl wait condition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add conditions for SeldonDeployments
3 participants