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

[Merged by Bors] - feat: Set explicit resources on all containers #249

Closed
wants to merge 16 commits into from

Conversation

razvan
Copy link
Member

@razvan razvan commented Jun 6, 2023

Description

Part of: stackabletech/issues#394

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Reviewer

Acceptance

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

@sbernauer sbernauer changed the title Smoke tests with resource quotas feat: Set explicit resources on all containers Jun 28, 2023
@razvan razvan self-assigned this Jun 29, 2023
@razvan razvan marked this pull request as ready for review June 30, 2023 09:02
@razvan razvan requested a review from a team June 30, 2023 09:02
@razvan
Copy link
Member Author

razvan commented Jun 30, 2023

Tests almost pass. Will retry the resources test:

--- FAIL: kuttl (1055.12s)
    --- FAIL: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/spark-examples_openshift-true_spark-3.4.0-stackable0.0.0-dev (82.57s)
        --- PASS: kuttl/harness/spark-ny-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (186.31s)
        --- PASS: kuttl/harness/pyspark-ny-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (147.56s)
        --- PASS: kuttl/harness/logging_openshift-true_spark-3.4.0-stackable0.0.0-dev_ny-tlc-report-0.1.0 (444.98s)
        --- PASS: kuttl/harness/spark-history-server_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (287.87s)
        --- PASS: kuttl/harness/spark-pi-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (107.96s)
        --- PASS: kuttl/harness/spark-pi-private-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (118.64s)
        --- FAIL: kuttl/harness/resources_openshift-true_spark-3.4.0-stackable0.0.0-dev (257.08s)
        --- PASS: kuttl/harness/smoke_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (197.46s)
        --- PASS: kuttl/harness/pyspark-ny-public-s3-image_openshift-true_spark-3.4.0-stackable0.0.0-dev_ny-tlc-report-0.1.0 (150.53s)
FAIL

@razvan
Copy link
Member Author

razvan commented Jun 30, 2023

Resources test now green too:

--- PASS: kuttl (107.98s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/resources_openshift-true_spark-3.4.0-stackable0.0.0-dev (96.07s)
PASS

Copy link
Contributor

@Maleware Maleware left a comment

Choose a reason for hiding this comment

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

LGTM! Didn't test it, Docker is currently not working -.-

rust/crd/src/history.rs Show resolved Hide resolved
@razvan
Copy link
Member Author

razvan commented Jun 30, 2023

All tests pass:

--- PASS: kuttl (949.01s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/spark-ny-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (178.71s)
        --- PASS: kuttl/harness/smoke_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (195.18s)
        --- PASS: kuttl/harness/logging_openshift-true_spark-3.4.0-stackable0.0.0-dev_ny-tlc-report-0.1.0 (446.77s)
        --- PASS: kuttl/harness/spark-examples_openshift-true_spark-3.4.0-stackable0.0.0-dev (80.38s)
        --- PASS: kuttl/harness/resources_openshift-true_spark-3.4.0-stackable0.0.0-dev (100.90s)
        --- PASS: kuttl/harness/spark-history-server_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (298.60s)
        --- PASS: kuttl/harness/pyspark-ny-public-s3-image_openshift-true_spark-3.4.0-stackable0.0.0-dev_ny-tlc-report-0.1.0 (147.50s)
        --- PASS: kuttl/harness/spark-pi-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (115.56s)
        --- PASS: kuttl/harness/spark-pi-private-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (113.23s)
        --- PASS: kuttl/harness/pyspark-ny-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (149.03s)
PASS

@razvan razvan requested a review from Maleware June 30, 2023 10:37
Copy link
Contributor

@Maleware Maleware left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

LGTM % ratio comments

rust/crd/src/lib.rs Show resolved Hide resolved
rust/crd/src/lib.rs Show resolved Hide resolved
rust/crd/src/history.rs Show resolved Hide resolved
@razvan razvan requested a review from sbernauer July 3, 2023 08:03
@sbernauer
Copy link
Member

Please also update the docs (and maybe kuttl tests) to the new default values.
BTW there are rust test failures

Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

LGTM when kuttl tests pass

@razvan
Copy link
Member Author

razvan commented Jul 3, 2023

--- PASS: kuttl (967.88s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/spark-examples_openshift-true_spark-3.4.0-stackable0.0.0-dev (83.53s)
        --- PASS: kuttl/harness/smoke_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (206.75s)
        --- PASS: kuttl/harness/spark-ny-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (182.25s)
        --- PASS: kuttl/harness/pyspark-ny-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (143.34s)
        --- PASS: kuttl/harness/spark-history-server_openshift-true_spark-3.4.0-stackable0.0.0-dev_s3-use-tls-true (297.30s)
        --- PASS: kuttl/harness/resources_openshift-true_spark-3.4.0-stackable0.0.0-dev (100.99s)
        --- PASS: kuttl/harness/spark-pi-public-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (120.84s)
        --- PASS: kuttl/harness/logging_openshift-true_spark-3.4.0-stackable0.0.0-dev_ny-tlc-report-0.1.0 (451.95s)
        --- PASS: kuttl/harness/spark-pi-private-s3_openshift-true_spark-3.4.0-stackable0.0.0-dev (120.39s)
        --- PASS: kuttl/harness/pyspark-ny-public-s3-image_openshift-true_spark-3.4.0-stackable0.0.0-dev_ny-tlc-report-0.1.0 (153.78s)
PASS

@razvan
Copy link
Member Author

razvan commented Jul 3, 2023

bors merge

bors bot pushed a commit that referenced this pull request Jul 3, 2023
@bors
Copy link

bors bot commented Jul 3, 2023

Pull request successfully merged into main.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat: Set explicit resources on all containers [Merged by Bors] - feat: Set explicit resources on all containers Jul 3, 2023
@bors bors bot closed this Jul 3, 2023
@bors bors bot deleted the feat/resource-quotas branch July 3, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants