-
Notifications
You must be signed in to change notification settings - Fork 866
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
Feat: need one new Trait to support HorizontalPodAutoscaler of CPU/ME… #5225
Conversation
Codecov ReportBase: 49.67% // Head: 46.56% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #5225 +/- ##
==========================================
- Coverage 49.67% 46.56% -3.12%
==========================================
Files 304 249 -55
Lines 45663 41252 -4411
==========================================
- Hits 22682 19208 -3474
+ Misses 20607 19885 -722
+ Partials 2374 2159 -215
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
a60f114
to
9cbe01e
Compare
vela-templates/definitions/usage-examples/application-with-hpa.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally lgtm, please fix CI
9cbe01e
to
29c5871
Compare
59a4320
to
11ccd1f
Compare
Done |
Please check the comment on example doc. |
Multiple versions support of the hpa is required. https://kubernetes.io/docs/reference/using-api/deprecation-guide/ |
Good catch! You can refer to context.clusterVersion for this job. \cc @StevenLeiZhang |
11ccd1f
to
2a1cdd3
Compare
The K8s doc says
so I add
is it Ok? \cc @jingliming |
I remembered the autoscaling/v2beta1 supports k8s 1.7+ version,but not sure which minimum version the autoscaling/v2beta2 supports,It might be better to add minimum version support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the example doc fixed.
…M/PodCustomMetrcs Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
2a1cdd3
to
816a68d
Compare
…M/PodCustomMetrcs (kubevela#5225) Signed-off-by: StevenLeiZhang <zhangleiic@163.com> Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
…M/PodCustomMetrcs (kubevela#5225) Signed-off-by: StevenLeiZhang <zhangleiic@163.com> Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
…M/PodCustomMetrcs
Signed-off-by: StevenLeiZhang zhangleiic@163.com
Description of your changes
Fixes #5224
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
3.go to VelaUX,Definitions->TraitDefinition->hpa, to view its details
check the uiSchema can be generated normally and parameters can be show on the panel
4.apply one Application with this Trait
6.check HPA resource can be generated normally
Special notes for your reviewer