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

Fix vulnerabilities by upgrading dependencies #690

Merged
merged 8 commits into from
Apr 29, 2024

Conversation

CatherineF-dev
Copy link
Contributor

/hold

@CatherineF-dev
Copy link
Contributor Author

Have some unit test failures, will update test codes.

@CatherineF-dev
Copy link
Contributor Author

/retest

@CatherineF-dev
Copy link
Contributor Author

/retest

@CatherineF-dev
Copy link
Contributor Author

CatherineF-dev commented Apr 25, 2024

/hold

Need to wait another dependency fix. kubernetes-sigs/custom-metrics-apiserver#171

@CatherineF-dev
Copy link
Contributor Author

Tested locally, got error

F0425 18:58:49.422639       1 openapi.go:43] Failed to build open api spec for root: cannot find model definition for k8s.io/metrics/pkg/apis/custom_metrics/v1beta1.MetricValueList. If you added a new type, you may need to add +k8s:openapi-gen=true to the package or type and run code-gen again

@CatherineF-dev
Copy link
Contributor Author

Tested it can work.

Annotations:                <none>
Namespace:                  default
Labels:                     <none>
Annotations:                <none>
CreationTimestamp:          Mon, 29 Apr 2024 17:31:33 +0000
Reference:                  Deployment/custom-metric-sd
Metrics:                    ( current / target )
  "custom-metric" on pods:  40 / 20
Min replicas:               1
Max replicas:               5
Deployment pods:            2 current / 2 desired
Conditions:
  Type            Status  Reason              Message
  ----            ------  ------              -------
  AbleToScale     True    ReadyForNewScale    recommended size matches current size
  ScalingActive   True    ValidMetricFound    the HPA was able to successfully calculate a replica count from pods metric custom-metric
  ScalingLimited  False   DesiredWithinRange  the desired count is within the acceptable range
Events:           <none>

@CatherineF-dev
Copy link
Contributor Author

Discussed offline, leonzz has LGTMed. Will merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants