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

Issue 10: Update cluster status #123

Merged
merged 35 commits into from
Feb 6, 2019
Merged

Conversation

Tristan1900
Copy link
Member

@Tristan1900 Tristan1900 commented Jan 28, 2019

Change log description

  • Add Conditions to Pravega cluster status.
  • When cluster is ready, the PodsReady state will be set

Purpose of the change

Fix #10

How to test the change

Tests should pass

Signed-off-by: wenqi Wenqi.Mou@emc.com

Signed-off-by: wenqi <Wenqi.Mou@emc.com>
wenqi added 2 commits January 28, 2019 14:36
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
@adrianmo adrianmo changed the title Update cluster status Issue 10: Update cluster status Jan 29, 2019
@adrianmo adrianmo added status/work-in-progress PR work is in progress; do not merge area/API Issue related to the custom resource API labels Jan 29, 2019
Copy link
Contributor

@adrianmo adrianmo left a comment

Choose a reason for hiding this comment

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

@Tristan1900 please have a look at my comment in the issue: #10 (comment)

wenqi added 2 commits January 30, 2019 20:59
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Copy link
Contributor

@adrianmo adrianmo left a comment

Choose a reason for hiding this comment

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

@Tristan1900 good job with the new status design. I've added a couple of comments inline. Also, it'd be good to have unit tests for the new status.go file.

pkg/apis/pravega/v1alpha1/status.go Outdated Show resolved Hide resolved
pkg/apis/pravega/v1alpha1/status.go Outdated Show resolved Hide resolved
pkg/apis/pravega/v1alpha1/status.go Show resolved Hide resolved
pkg/controller/pravegacluster/pravegacluster_controller.go Outdated Show resolved Hide resolved
wenqi and others added 4 commits January 31, 2019 16:16
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
wenqi and others added 9 commits February 3, 2019 20:46
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
…ravega-operator into issue-10-update-cluster-status

* 'issue-10-update-cluster-status' of github.com:pravega/pravega-operator:
  increase travis timeout
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
wenqi and others added 12 commits February 4, 2019 23:55
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Copy link
Contributor

@adrianmo adrianmo left a comment

Choose a reason for hiding this comment

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

  • LastTransitionTime and LastUpdateTime are never set.
  • Increase coverage on status.go

Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
@Tristan1900
Copy link
Member Author

LGTM! Thanks for the hard work!

adrianmo and others added 2 commits February 5, 2019 19:18
Signed-off-by: Adrián Moreno <adrian@morenomartinez.com>
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
@adrianmo adrianmo merged commit 3ab0f66 into master Feb 6, 2019
@adrianmo adrianmo deleted the issue-10-update-cluster-status branch February 6, 2019 07:14
adrianmo added a commit that referenced this pull request Feb 6, 2019
* master:
  Issue 10: Update cluster status (#123)
@adrianmo
Copy link
Contributor

adrianmo commented Feb 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API Issue related to the custom resource API status/work-in-progress PR work is in progress; do not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants