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

HPA in Topology Sidebar #6087

Closed

Conversation

andrewballantyne
Copy link
Contributor

Built on #6039 - See the 4th Commit

Fixes:
https://issues.redhat.com/browse/ODC-4272

Analysis / Root cause:
As a user, I'd like to be able to see my HPA resource in the sidebar and not be able to change pods as the HPA will fight me

Solution Description:
Update to add a resource section for HPAs and to stop manual scaling of the pods; through kebab and scale arrows on the pod donut that is on the details tab.

Screen shots / Gifs for design review:
@openshift/team-devconsole-ux & @lwrigh

Screen Shot 2020-07-23 at 1 24 52 PM
Screen Shot 2020-07-23 at 1 25 06 PM
Screen Shot 2020-07-23 at 1 42 05 PM

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: andrewballantyne
To complete the pull request process, please assign christianvogt
You can assign the PR to them by writing /assign @christianvogt in a comment when ready.

The full list of commands accepted by this bot can be found 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

@openshift-ci-robot openshift-ci-robot added component/dev-console Related to dev-console component/shared Related to console-shared labels Jul 23, 2020
@andrewballantyne
Copy link
Contributor Author

/hold

Waiting on dependant PR #6039

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 23, 2020
@openshift-ci-robot
Copy link
Contributor

@andrewballantyne: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/frontend d7a7c39 link /test frontend
ci/prow/e2e-gcp-console d7a7c39 link /test e2e-gcp-console

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

const obj = get(data, ['current', 'obj'], null) || data.dc;
const { title, subTitle, titleComponent } = podRingLabel(obj, data.dc.kind, data?.pods);
const { title, subTitle, titleComponent } = hpaControlledScaling
? hpaPodRingLabel(obj, hpa, data?.pods)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why bother reading from the HPA? The workload should continue to have the spec and status needed to populate the pod ring.

@andrewballantyne
Copy link
Contributor Author

See #6150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/core Related to console core functionality component/dev-console Related to dev-console component/shared Related to console-shared do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants