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

OCPBUGS-1484: rebase on upstream 1.25.0 #241

Merged
merged 287 commits into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
abccd6d
Bump up civogo version
vishalanarase May 3, 2022
7f5b31b
Adding cloudprovider civo tests
vishalanarase May 3, 2022
6d67fe5
Update README.md and example secret
vishalanarase May 4, 2022
9141c56
Fix linting errors
vishalanarase May 4, 2022
6a3a722
Update owners
vishalanarase Jun 6, 2022
2c75d82
Update vendor
vishalanarase Jun 6, 2022
b026bd9
Fix node group tests
vishalanarase Jun 6, 2022
f55d8ad
Merge pull request #4921 from elmiko/event-duplication
k8s-ci-robot Jun 6, 2022
34200f6
Increase default VPA version to 0.11.0 (#4929)
jbartosik Jun 6, 2022
6cdb8da
Merge pull request #4185 from sergeyshevch/feature/ca/hetzner-firewall
k8s-ci-robot Jun 6, 2022
532f773
Add support for passing os partition size when creating nodes
Andrius521 Jun 6, 2022
2598a39
CA: fix flakiness in actuation.TestStartDeletion
towca Jun 6, 2022
98b8cc7
add drmorr to AWS OWNERS
Jun 6, 2022
5776dab
Merge pull request #4948 from towca/jtuznik/act-fix-4
k8s-ci-robot Jun 6, 2022
b979fd3
fix: examples source wrong image path and precommit trailing-whitespace
evanfreed Jun 6, 2022
4e79ff8
Fixed Typo in aws_wrapper.go
Shubham82 Jun 7, 2022
cfae011
Add level-guard to Recommender selector log statement
voelzmo Jun 7, 2022
fba0cc3
Merge pull request #4949 from airbnb/drmorr--owner
k8s-ci-robot Jun 7, 2022
a560198
Merge pull request #4952 from Shubham82/fix-typo
k8s-ci-robot Jun 7, 2022
bd70028
Remove civocloud dependencies from vendor
vishalanarase Jun 8, 2022
8647a2f
Fix boilerplate header
vishalanarase Jun 8, 2022
a35024e
Add support for passing os partition size when creating nodes
Andrius521 Jun 6, 2022
054ec9d
Merge branch 'node-partition-size' of https://github.com/Andrius521/a…
Andrius521 Jun 9, 2022
e83c8b4
Correct invalid GCE instances pricing
BigDarkClown Jun 10, 2022
80cdf9f
Adapt links to original design-proposal in README
voelzmo Jun 10, 2022
d756853
Merge branch 'node-partition-size' of https://github.com/Andrius521/a…
Andrius521 Jun 9, 2022
ecabfa2
Merge branch 'node-partition-size' of https://github.com/Andrius521/a…
Andrius521 Jun 13, 2022
1489317
Merge pull request #4959 from BigDarkClown/pricing
k8s-ci-robot Jun 13, 2022
f47f68d
Merge pull request #4960 from voelzmo/patch-1
k8s-ci-robot Jun 13, 2022
4b37532
chore: Set permissions for GitHub actions
neilnaveen Jun 14, 2022
ccd9b6b
Merge pull request #4955 from Andrius521/node-partition-size
k8s-ci-robot Jun 14, 2022
2f35f61
CA - Push Image script - Support newer docker versions
gjtempleton Jun 14, 2022
2592738
Handle gracefully empty arch in kube env.
olagacek Jun 15, 2022
9a76079
Merge pull request #4973 from olagacek/master
k8s-ci-robot Jun 15, 2022
8e83371
CA Chart - Cleanup Chart Maintainers
gjtempleton Jun 2, 2022
1369064
Use V4 instead of V3
voelzmo Jun 17, 2022
1968b7a
Merge pull request #4953 from voelzmo/fix/add-level-guard
k8s-ci-robot Jun 17, 2022
0e572a9
Sort containers before returning a recommendation
sibucan Jun 17, 2022
2644976
Add copyright in new test file
sibucan Jun 17, 2022
58b5392
CA - AWS - Move Jeffwan to emeritus approvers
gjtempleton Jun 19, 2022
686831c
Node groups plan and region define via slug
Andrius521 Jun 20, 2022
f599494
Add EstimationLimiter interface, update Estimator
MaciekPytel Jun 13, 2022
ab89141
Limit binpacking based on #new_nodes or time
MaciekPytel Jun 14, 2022
5342f18
Check if pods fit on the new node in binpacking
MaciekPytel Jun 14, 2022
d2859ee
extend proposal, add design details
Jun 20, 2022
34dfd9a
Merge pull request #4970 from MaciekPytel/estimation_limiter
k8s-ci-robot Jun 20, 2022
298beab
Merge pull request #4971 from gjtempleton/CA-Image-Push-Support-Newer…
k8s-ci-robot Jun 20, 2022
902a764
CA: GCE: Return UnknownArch from ToSystemArchitecture for invalid arc…
towca Jun 21, 2022
8037b0f
Merge pull request #4982 from towca/jtuznik/arch-fix
k8s-ci-robot Jun 21, 2022
78f9ac8
Update guide line documentation for cluster-autoscaler supported clou…
ruifaling Jun 22, 2022
8e09334
Correct the link of VPA design-proposal in README.
Shubham82 Jun 22, 2022
6ce299e
Merge pull request #4941 from gjtempleton/CA-Chart-Cleanup-Maintainers
k8s-ci-robot Jun 24, 2022
c127763
switched policy for PodDisruptionBudget from v1beta1 to v1 in time fo…
mikelo Jun 24, 2022
c9ad734
Merge pull request #4987 from Shubham82/Correct_Link
k8s-ci-robot Jun 27, 2022
abdb6df
Merge pull request #4985 from ruifaling/master
k8s-ci-robot Jun 27, 2022
5745044
Merge pull request #4990 from mikelo/issue.4285
k8s-ci-robot Jun 27, 2022
3a301db
Merge pull request #4845 from shafeeqes/fix/kubeconfig
k8s-ci-robot Jun 27, 2022
6c8898b
GCE: move fetching MachineType to MigInfoProvider
MaciekPytel Jun 27, 2022
de59b91
Merge pull request #4993 from MaciekPytel/gce_machine_types
k8s-ci-robot Jun 29, 2022
ce31d95
Update README.md
Weihrauch Jun 29, 2022
38973aa
update hcloud-go to support hetzner primary ip
glehmann Jul 1, 2022
3bde92b
public ipv4 and ipv6 configuration
glehmann Jul 1, 2022
0b19f18
Merge branch 'master' into fix/examples-documentation
Andrius521 Jul 4, 2022
af5fb07
Merge pull request #4896 from fookenc/master
k8s-ci-robot Jul 4, 2022
dd488f0
GCE: Always add boot disk annotations to templates
yaroslava-serdiuk Jul 1, 2022
042badc
Merge pull request #5004 from yaroslava-serdiuk/node-temlate-fix
k8s-ci-robot Jul 5, 2022
d433cd3
Deduplicate Migration Doc from README.
Shubham82 Jul 5, 2022
0fcbac8
Merge pull request #4728 from moolen/feature/nonroot
k8s-ci-robot Jul 6, 2022
1b98b38
Allow balancing by labels exclusively
jsravn Jun 29, 2021
c77a4ac
update cloud-provider-azure version for azure imports
gandhipr Jul 7, 2022
0c3e9d1
Merge pull request #5011 from gandhipr/bug-update-vendor-file-version
k8s-ci-robot Jul 7, 2022
f990344
Merge pull request #4134 from airbnb/es--expander-plugin-proposal
k8s-ci-robot Jul 10, 2022
01ef7c1
Merge pull request #5005 from Shubham82/deduplicate-Migration_Doc
k8s-ci-robot Jul 11, 2022
caf3558
Set container image to upstream
PhilippeChepy Jul 11, 2022
0cd5f27
Set tolerations and node selector to schedule on control-plane
PhilippeChepy Jul 11, 2022
ed1c8f8
Update deployment manifest on control-plane
PhilippeChepy Jul 12, 2022
40e950f
Add required IAM operations documentation
PhilippeChepy Jul 12, 2022
3ec69a0
Add empty line at end of file
PhilippeChepy Jul 12, 2022
6660026
Comment scale-down test delays
PhilippeChepy Jul 12, 2022
6ff006f
Initial vendoring
AustinSiu Jul 12, 2022
c37599c
Update imports and add instructions for vendored code
AustinSiu Jul 12, 2022
32f10eb
Update go.mod with new net dependency
AustinSiu Jul 12, 2022
aac78b6
Update verify scripts
AustinSiu Jul 12, 2022
036826d
chore: Documenting flags for VPA recommender & updater
gsweene2 Jul 13, 2022
86463f9
Update/Fix
gsweene2 Jul 13, 2022
9ef0bbf
Fix storage
gsweene2 Jul 13, 2022
66bfe55
Revert "Adding support for identifying nodes that have been deleted f…
x13n Jul 13, 2022
6ba8d27
CA: GCE: implement GetMachineFamily, fix IsCustomMachine
towca Jul 13, 2022
4b97a77
Merge pull request #5023 from x13n/revert-4896-master
k8s-ci-robot Jul 13, 2022
db5e2f2
Merge pull request #5024 from towca/jtuznik/families
k8s-ci-robot Jul 13, 2022
b2f1823
Get capi targetsize from cache
enxebre Jul 13, 2022
d8b9847
Merge pull request #5021 from gsweene2/vpa-document-rec-and-updater-f…
k8s-ci-robot Jul 13, 2022
9587e17
Merge pull request #5017 from PhilippeChepy/pchepy/update-cas-exoscal…
k8s-ci-robot Jul 13, 2022
2993b2e
Merge pull request #5003 from Andrius521/fix/examples-documentation
k8s-ci-robot Jul 13, 2022
c275757
Fixed the Hyperlinks of HPA.
Shubham82 Jul 14, 2022
68e4f4a
Merge pull request #4950 from AustinSiu/vendor-aws-sdk-in-cloudprovider
k8s-ci-robot Jul 15, 2022
6bc4957
Merge pull request #5027 from Shubham82/fix-HPA_Hyperlinks
k8s-ci-robot Jul 18, 2022
028584a
Merge pull request #5025 from enxebre/get-targetSize-fromcache
k8s-ci-robot Jul 18, 2022
de90a46
Implement scale from zero for clusterapi
frobware Jul 9, 2019
6efb9c9
Increase default for VPA e2e K8s dependencies to v1.24.3-rc.0
jbartosik Jun 21, 2022
f22b40e
Update K8s dependencies of VPA E2E tests
jbartosik Jun 21, 2022
82ed501
Revert "Work around VPA e2e test failures"
jbartosik Jun 21, 2022
b16ab89
Allow privilidged pods in VPA E2E
jbartosik Jun 28, 2022
226784a
Merge pull request #4983 from jbartosik/address-todo
k8s-ci-robot Jul 19, 2022
1711a4b
further improvements
Jul 21, 2022
285500e
feat(aws): reduce auto-discovery API calls
johanneswuerbach Oct 26, 2021
a6a5ed3
Update Azure instance-types
bpineau Jul 21, 2022
1c079cc
Merge pull request #5037 from DataDog/update-azure-instances-types
k8s-ci-robot Jul 22, 2022
c32800e
Bump VPA builder Go version
voelzmo Jul 22, 2022
fc0666c
Merge pull request #5039 from voelzmo/patch-2
k8s-ci-robot Jul 22, 2022
1a65fde
cleanup clusterapi scale from zero implementation
elmiko Feb 25, 2022
20c451b
Azure: effectively cache instance-types SKUs
bpineau Jul 25, 2022
55e4512
Corrected the VPA Compatibility.
Shubham82 Jul 26, 2022
12f808f
Add support for azure autodiscovery with autoscaler helm chart.
nclaeys Jul 26, 2022
b24075c
Add ClusterClass usage instructions to ClusterClass docs
killianmuldoon Jul 27, 2022
2f4385b
Merge pull request #5053 from killianmuldoon/docs/add-clusterapi-clus…
k8s-ci-robot Jul 27, 2022
c722861
fix FAQ entry for cores-total flag
elmiko Jul 28, 2022
da9d307
add metric for skipped scaling events
elmiko Jul 18, 2022
1ff8aa4
Add new error code VM_EXTERNAL_IP_ACCESS_POLICY_CONSTRAINT to GCE aut…
NastassiaM Jul 28, 2022
7eec219
Merge pull request #5057 from NastassiaM/add-new-error-code-to-gce-au…
k8s-ci-robot Jul 29, 2022
0453ed4
Merge pull request #5058 from elmiko/fix-ca-faq
k8s-ci-robot Aug 1, 2022
a1915cf
Added Hyperlink for node-group-auto-discovery flag.
Shubham82 Aug 1, 2022
8ba1853
Merge pull request #4174 from jsravn/allow-balancing-by-labels-exclus…
k8s-ci-robot Aug 1, 2022
6c16531
Merge pull request #4980 from gjtempleton/CA-AWS-Owners-Update
k8s-ci-robot Aug 1, 2022
bbcd5bd
Bump openstackmagnum/cluster-autoscaler image version.
Shubham82 Aug 3, 2022
f733654
Merge pull request #5050 from Shubham82/update_vpa_compatibility
k8s-ci-robot Aug 3, 2022
b240288
CA: GCE: add pricing for new A2 shapes and GPUs
towca Aug 3, 2022
65ede2d
Merge pull request #5070 from towca/jtuznik/a2-plus
k8s-ci-robot Aug 3, 2022
0caa325
Merge pull request #5068 from Shubham82/Upgrade_Magnum_CA_Version
k8s-ci-robot Aug 4, 2022
d2ac360
Update cluster-autoscaler-standard.yaml
iutx Aug 4, 2022
5af79cc
Update cluster-autoscaler-standard.yaml
iutx Aug 4, 2022
375df5f
delete minor unreachable code caused by log.Fatal
Abirdcfly Aug 5, 2022
1ccd6fe
Merge pull request #5074 from Abirdcfly/master
k8s-ci-robot Aug 8, 2022
6f5e4d0
Merge pull request #5064 from Shubham82/add-link_node-group-auto-disc…
k8s-ci-robot Aug 8, 2022
68638b1
Merge pull request #5071 from iutx/patch-1
k8s-ci-robot Aug 8, 2022
3e25023
Merge pull request #5059 from elmiko/skipped-scale-metric
k8s-ci-robot Aug 8, 2022
cd2efa4
Merge pull request #4852 from civo/civo-integration
k8s-ci-robot Aug 8, 2022
d53220f
Merge pull request #4424 from johanneswuerbach/ref-describe-with-tags
k8s-ci-robot Aug 8, 2022
0eb7499
Update old main README for VPA
aleksrosz Aug 8, 2022
1bbe311
Merge pull request #4999 from Weihrauch/master
k8s-ci-robot Aug 8, 2022
a09f4d9
use strings.Join to build list of names
grosser Jul 20, 2022
392f9a9
Merge pull request #5076 from aleksrosz/feature/update_readme
k8s-ci-robot Aug 8, 2022
fed54b5
Support attribute-based instance selection for AWS
AustinSiu Jan 4, 2022
7ff7b5c
Add support for LT Instance Requirements with no overrides in MIP
AustinSiu Feb 9, 2022
bfed0d6
Update and fix tests
AustinSiu Feb 9, 2022
87bbc43
Update README with IAM for new APIs
AustinSiu Feb 9, 2022
11f5c5d
Check MIP instance req overrides before LT overrides
AustinSiu Feb 22, 2022
8ac2acf
Add nil check when building tempalte with requirements, improve reada…
AustinSiu Feb 23, 2022
b79be36
Improve nil checking, some naming, replace json logic for requirement…
AustinSiu Feb 24, 2022
e0bd8f9
Add instance type nil check
AustinSiu Feb 24, 2022
923fe20
Consolidate DescribeLaunchTemplateVersions logic into one function
AustinSiu Mar 1, 2022
06ca5c8
Add testing for describing launch template data
AustinSiu Mar 1, 2022
67deeee
Fix guard on instance type overrides when requirements present
AustinSiu Mar 1, 2022
ebf2f2a
Restore previous sdk version
AustinSiu Jul 15, 2022
833c6fd
Update all imports across cloudprovider
AustinSiu Jul 19, 2022
2a45e00
add: Scaleway Cloud Provider for k8s CA
louisportay Jun 17, 2022
5027f81
fix: added comments for linter
louisportay Aug 1, 2022
ff68068
fix: header formatting
louisportay Aug 1, 2022
cf44a44
add: OWNERS file
louisportay Aug 1, 2022
10c7e2c
ignore: comment out k8s org non-member OWNERS file
louisportay Aug 9, 2022
950587b
Merge pull request #5062 from louisportay/lportay/master
k8s-ci-robot Aug 9, 2022
1038e41
Hetzner Cloud Provider: Add Owners file
LKaemmerling Aug 9, 2022
5ab3b25
Merge pull request #5001 from glehmann/hetzner-primary-ip
k8s-ci-robot Aug 9, 2022
3b54f2b
Merge pull request #5077 from hetznercloud/hcloud-add-code-owners-file
k8s-ci-robot Aug 9, 2022
c7d2f23
Cache requests to Hetzner Cloud API
maksim-paskal Jul 28, 2022
2951e36
Metrics for Hetzner API calls
maksim-paskal Jul 26, 2022
887e16c
CA: Iterate through existed node groups in AnnotationNodeInfoProvider
yaroslava-serdiuk Aug 9, 2022
6a12973
Merge pull request #5049 from maksim-paskal/hetzner-metrics
k8s-ci-robot Aug 9, 2022
23088ae
Merge pull request #5055 from maksim-paskal/cached-requests-to-Hetzne…
k8s-ci-robot Aug 9, 2022
1d9fe7c
Merge pull request #4951 from evanfreed/fix_examples_image_location
k8s-ci-robot Aug 9, 2022
07ea116
Merge pull request #5036 from grosser/grosser/join
k8s-ci-robot Aug 10, 2022
8d4875a
Merge pull request #5078 from yaroslava-serdiuk/annotation
k8s-ci-robot Aug 10, 2022
2ec7600
Merge pull request #4979 from sibucan/sort-vpa-containerRecommendations
k8s-ci-robot Aug 10, 2022
52ab8ed
Add cloud provider for Rancher with RKE2
ctrox Jun 13, 2022
1dc25c6
Merge pull request #4975 from ninech/provider-rke
k8s-ci-robot Aug 10, 2022
62c3b26
Merge pull request #4588 from AustinSiu/feature-aws-abs
k8s-ci-robot Aug 10, 2022
bb8e41f
Merge pull request #5047 from DataDog/azure-cache-sku
k8s-ci-robot Aug 11, 2022
87dba05
cluster-autoscaler: avoid goto in filterNodeGroupsByPods
grosser Aug 11, 2022
e25ee06
Merge pull request #5051 from nclaeys/feature/support-autodiscovery-a…
k8s-ci-robot Aug 12, 2022
a2a0326
Merge pull request #4967 from turrisxyz/Pinned-Dependencies-GitHub
k8s-ci-robot Aug 12, 2022
9a2f8b1
Fix error logging when waiting for GCE operation
x13n Aug 16, 2022
919fd3d
Merge pull request #5095 from x13n/patch-3
k8s-ci-robot Aug 16, 2022
4af1cfc
Improve overprovisioning termination time in FAQ
jahands Aug 17, 2022
074da58
feat: add support for service monitor annotations to helm chart
pierluigilenoci Aug 17, 2022
d7006ac
fix: fixed helm docs
pierluigilenoci Aug 17, 2022
89e523c
Export metric about result of queried VPA makes to metrics server
jbartosik Aug 17, 2022
c26bbbb
Merge pull request #5099 from pierluigilenoci/servicemonitorannotations
k8s-ci-robot Aug 17, 2022
53794f7
Merge pull request #5100 from jbartosik/metric_server_responses
k8s-ci-robot Aug 17, 2022
d22c7ac
Merge pull request #5097 from jahands/cluster-autoscaler-faq
k8s-ci-robot Aug 17, 2022
93a1ca9
Register VPA metrics client metrics
jbartosik Aug 17, 2022
f02c997
add more caching to clusterapi provider
elmiko Aug 2, 2022
ba2c17a
CA: GCE: fix custom machine type parsing
towca Aug 17, 2022
e478ee2
Merge pull request #4840 from elmiko/capi-scale-from-zero
k8s-ci-robot Aug 18, 2022
06e0a71
Merge pull request #5103 from towca/jtuznik/custom-fix
k8s-ci-robot Aug 18, 2022
68db7de
Merge pull request #5102 from jbartosik/metric_server_responses
k8s-ci-robot Aug 18, 2022
5d3ad0c
Update cluster-proportional-autoscaler version in FAQ (#5098)
jahands Aug 18, 2022
e3552bb
Merge pull request #5084 from grosser/grosser/ref
k8s-ci-robot Aug 18, 2022
66eb4e9
add kamatera cloudprovider
OriHoch Jul 24, 2022
6680596
test: use `T.Setenv` to set env vars in tests
Juneezee Aug 12, 2022
d095d8b
cluster-autoscaler aws: remove duplicated permissions
grosser Aug 18, 2022
ba9c164
update clusterapi nodegroups processor
elmiko Jun 9, 2022
90626ff
Export validateVPA to use in other places
Aug 19, 2022
b553a7a
Merge pull request #5112 from pbeschetnov/master
k8s-ci-robot Aug 22, 2022
ceb17a6
Merge pull request #5110 from elmiko/update-capi-nodeset
k8s-ci-robot Aug 22, 2022
4511ce0
Merge pull request #5101 from Kamatera/kamatera-cloudprovider
k8s-ci-robot Aug 22, 2022
f5025c2
Merge pull request #5088 from Juneezee/test/t.Setenv
k8s-ci-robot Aug 22, 2022
8b791af
Merge pull request #5108 from grosser/grosser/dupe
k8s-ci-robot Aug 23, 2022
29f2a6a
Cluster Autoscaler Update-vendor to v1.25.0-alpha.2
jayantjain93 Jul 7, 2022
5c31c33
Fix CA breaking after vendor update to v1.25.0-alpha.0 by supporting …
jayantjain93 Jul 6, 2022
4fdf24a
add support for isPVC check in basic_cluster_snapshot.go and delta_cl…
jayantjain93 Jul 7, 2022
dde246d
update golang version to 1.18.1
jayantjain93 Jul 7, 2022
a503c84
Merge pull request #5013 from jayantjain93/vendor-1.25.0
k8s-ci-robot Aug 24, 2022
322be71
Export metric_server_response like other VPA recommender metrics
jbartosik Aug 19, 2022
e089d14
update clusterapi readme
elmiko Aug 24, 2022
abcbe8f
Export client name with responses from metrics server
jbartosik Aug 24, 2022
832154b
Merge pull request #5111 from jbartosik/metric_server_responses
k8s-ci-robot Aug 25, 2022
b0ffcce
helm chart - Allow cloud config path for AWS provider
khizunov Aug 18, 2022
b718e74
Merge pull request #5105 from khizunov/allow-aws-cloud-config
k8s-ci-robot Aug 25, 2022
6a48e84
VPA release 0.12.0
jbartosik Aug 25, 2022
01e6377
Update go version to 1.18.5
voelzmo Aug 25, 2022
c1f37fa
Merge pull request #5127 from voelzmo/enh/update-vpa-go-version
k8s-ci-robot Aug 25, 2022
81d70f9
Merge pull request #5126 from jbartosik/vpa0120
k8s-ci-robot Aug 25, 2022
85955a1
Update IAM policy in AWS doc
GregoryVds Aug 25, 2022
ab2cc2f
Bump k/k dependencies to v1.25.0 together with go.mod go version.
olagacek Aug 26, 2022
500652b
Merge pull request #5123 from elmiko/update-capi-docs
k8s-ci-robot Aug 26, 2022
cca3111
Merge pull request #5129 from GregoryVds/GregoryVds-update-aws-readme
k8s-ci-robot Aug 26, 2022
f3242d8
Merge pull request #5132 from olagacek/master
k8s-ci-robot Aug 26, 2022
6d7582e
Add x13n to cluster autoscaler reviewers
x13n Aug 26, 2022
b6d53e8
fix non-deterministic kamatera cloudprovider unit test
OriHoch Aug 27, 2022
c5d2f38
Merge pull request #5137 from Kamatera/autoscaler-fix-kamatera-cloudp…
k8s-ci-robot Aug 29, 2022
dcd185d
helm chart - remove obsolete GCE cloudConfigPath usage
khizunov Aug 29, 2022
0173b72
Merge pull request #5141 from khizunov/remove-obsolete-config
k8s-ci-robot Aug 30, 2022
aa2e25f
Merge pull request #5135 from x13n/patch-3
k8s-ci-robot Aug 30, 2022
ef2d9e7
Merge pull request #4902 from ionos-cloud/PSC-2673/vpa_delete_pods_en…
k8s-ci-robot Aug 30, 2022
f6e7132
Switch VPA to K8s 1.25 and go 1.19
jbartosik Aug 30, 2022
3f7ef8e
Switch VPA e2e to K8s 1.25, go 1.19, and ginkgo v2
jbartosik Aug 30, 2022
d5d4b8a
Update go in builder
jbartosik Aug 30, 2022
035e762
Merge pull request #5149 from jbartosik/vpa-on-k-25-ginkgo-2
k8s-ci-robot Aug 30, 2022
16be4c0
CA: cut Cluster Autoscaler 1.25.0
towca Sep 2, 2022
e8d3e9b
Merge pull request #5160 from towca/cluster-autoscaler-release-1.25
k8s-ci-robot Sep 2, 2022
7cf35a3
merge upstream/cluster-autosacler-1.25.0
elmiko Sep 15, 2022
8f4ca33
UPSTREAM: <carry>: configure repository for OpenShift releases
elmiko Jul 13, 2021
c1b8c56
UPSTREAM: <carry>: Rename FailureMessage to ErrorMessage
JoelSpeed Mar 27, 2020
e6f3998
UPSTREAM: <carry>: Handle old Machine API specific machine delete ann…
JoelSpeed May 31, 2022
ad7a10a
UPSTREAM: <carry>: Have VPA ignore phantom containers named "POD"
joelsmith Jun 28, 2022
b031b6a
UPSTREAM: <carry>: Updating vertical-pod-autoscaler images to be cons…
Jul 7, 2022
5da13d4
UPSTREAM: <drop>: revert capacity annotations
elmiko Sep 15, 2022
1cd8059
UPSTREAM: <carry>: update cluster-autoscaler dockerfile
elmiko Sep 15, 2022
0b411a6
UPSTREAM: <carry>: remove deprecated go test command
elmiko Sep 16, 2022
e827295
UPSTREAM: <carry>: update os::util::list_test_packages_under
elmiko Sep 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ on:
env:
GOPATH: ${{ github.workspace }}/go

permissions:
contents: read

jobs:
test-and-verify:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.5
go-version: 1.18.1

- uses: actions/checkout@v2
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
permissions:
contents: read

jobs:
changes:
permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests
outputs:
charts: ${{ steps.filter.outputs.charts }}
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
permissions:
contents: read

jobs:
release:
permissions:
contents: write # for helm/chart-releaser-action to push chart release and create a release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.18.1
FROM golang:1.19
LABEL maintainer="Marcin Wielgus <[email protected]>"

ENV GOPATH /gopath/
Expand Down
8 changes: 1 addition & 7 deletions charts/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ engine: gotpl
home: https://github.com/kubernetes/autoscaler
icon: https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png
maintainers:
- email: [email protected]
name: yurrriq
- email: [email protected]
name: mgoodness
- email: [email protected]
name: gjtempleton
- email: [email protected]
name: sc250024
name: cluster-autoscaler
sources:
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
type: application
version: 9.18.1
version: 9.20.1
6 changes: 4 additions & 2 deletions charts/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
|-----|------|---------|-------------|
| additionalLabels | object | `{}` | Labels to add to each object of the chart. |
| affinity | object | `{}` | Affinity for pod assignment |
| autoDiscovery.clusterName | string | `nil` | Enable autodiscovery for `cloudProvider=aws`, for groups matching `autoDiscovery.tags`. Enable autodiscovery for `cloudProvider=clusterapi`, for groups matching `autoDiscovery.labels`. Enable autodiscovery for `cloudProvider=gce`, but no MIG tagging required. Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`. |
| autoDiscovery.clusterName | string | `nil` | Enable autodiscovery for `cloudProvider=aws`, for groups matching `autoDiscovery.tags`. autoDiscovery.clusterName -- Enable autodiscovery for `cloudProvider=azure`, using tags defined in https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/azure/README.md#auto-discovery-setup. Enable autodiscovery for `cloudProvider=clusterapi`, for groups matching `autoDiscovery.labels`. Enable autodiscovery for `cloudProvider=gce`, but no MIG tagging required. Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`. |
| autoDiscovery.labels | list | `[]` | Cluster-API labels to match https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/clusterapi/README.md#configuring-node-group-auto-discovery |
| autoDiscovery.roles | list | `["worker"]` | Magnum node group roles to match. |
| autoDiscovery.tags | list | `["k8s.io/cluster-autoscaler/enabled","k8s.io/cluster-autoscaler/{{ .Values.autoDiscovery.clusterName }}"]` | ASG tags to match, run through `tpl`. |
Expand All @@ -305,7 +305,7 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
| azureTenantID | string | `""` | Azure tenant where the resources are located. Required if `cloudProvider=azure` |
| azureUseManagedIdentityExtension | bool | `false` | Whether to use Azure's managed identity extension for credentials. If using MSI, ensure subscription ID, resource group, and azure AKS cluster name are set. |
| azureVMType | string | `"AKS"` | Azure VM type. |
| cloudConfigPath | string | `"/etc/gce.conf"` | Configuration file for cloud provider. |
| cloudConfigPath | string | `""` | Configuration file for cloud provider. |
| cloudProvider | string | `"aws"` | The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, `azure`, `magnum` and `clusterapi` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. `magnum` for OpenStack Magnum, `clusterapi` for Cluster API. |
| clusterAPICloudConfigPath | string | `"/etc/kubernetes/mgmt-kubeconfig"` | Path to kubeconfig for connecting to Cluster API Management Cluster, only used if `clusterAPIMode=kubeconfig-kubeconfig or incluster-kubeconfig` |
| clusterAPIConfigMapsNamespace | string | `""` | Namespace on the workload cluster to store Leader election and status configmaps |
Expand Down Expand Up @@ -356,13 +356,15 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
| resources | object | `{}` | Pod resource requests and limits. |
| securityContext | object | `{}` | [Security context for pod](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| service.annotations | object | `{}` | Annotations to add to service |
| service.create | bool | `true` | If `true`, a Service will be created. |
| service.externalIPs | list | `[]` | List of IP addresses at which the service is available. Ref: https://kubernetes.io/docs/user-guide/services/#external-ips. |
| service.labels | object | `{}` | Labels to add to service |
| service.loadBalancerIP | string | `""` | IP address to assign to load balancer (if supported). |
| service.loadBalancerSourceRanges | list | `[]` | List of IP CIDRs allowed access to load balancer (if supported). |
| service.portName | string | `"http"` | Name for service port. |
| service.servicePort | int | `8085` | Service port to expose. |
| service.type | string | `"ClusterIP"` | Type of service to create. |
| serviceMonitor.annotations | object | `{}` | Annotations to add to service monitor |
| serviceMonitor.enabled | bool | `false` | If true, creates a Prometheus Operator ServiceMonitor. |
| serviceMonitor.interval | string | `"10s"` | Interval that Prometheus scrapes Cluster Autoscaler metrics. |
| serviceMonitor.namespace | string | `"monitoring"` | Namespace which Prometheus is running in. |
Expand Down
7 changes: 7 additions & 0 deletions charts/cluster-autoscaler/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
{{- if .Values.autoDiscovery.clusterName }}
- --node-group-auto-discovery=asg:tag={{ tpl (join "," .Values.autoDiscovery.tags) . }}
{{- end }}
{{- if .Values.cloudConfigPath }}
- --cloud-config={{ .Values.cloudConfigPath }}
{{- end }}
{{- else if eq .Values.cloudProvider "gce" }}
{{- if .Values.autoscalingGroupsnamePrefix }}
{{- range .Values.autoscalingGroupsnamePrefix }}
Expand Down Expand Up @@ -91,6 +94,10 @@ spec:
{{- else if eq .Values.clusterAPIMode "single-kubeconfig"}}
- --kubeconfig={{ .Values.clusterAPIWorkloadKubeconfigPath }}
{{- end }}
{{- else if eq .Values.cloudProvider "azure" }}
{{- if .Values.autoDiscovery.clusterName }}
- --node-group-auto-discovery=label:cluster-autoscaler-enabled=true,cluster-autoscaler-name={{ .Values.autoDiscovery.clusterName }}
{{- end }}
{{- end }}
{{- if eq .Values.cloudProvider "magnum" }}
- --cloud-config={{ .Values.cloudConfigPath }}
Expand Down
4 changes: 0 additions & 4 deletions charts/cluster-autoscaler/templates/podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ spec:
- 'emptyDir'
- 'projected'
- 'downwardAPI'
{{- if eq .Values.cloudProvider "gce" }}
allowedHostPaths:
- pathPrefix: {{ .Values.cloudConfigPath }}
{{- end }}
hostNetwork: false
hostIPC: false
hostPID: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ data:
{{- if kindIs "string" .Values.expanderPriorities }}
{{ .Values.expanderPriorities | indent 4 }}
{{- else }}
{{ toYaml .Values.expanderPriorities | indent 4 }}
{{- range $k,$v := .Values.expanderPriorities }}
{{ $k | int }}:
{{- toYaml $v | nindent 6 }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
2 changes: 2 additions & 0 deletions charts/cluster-autoscaler/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.service.create }}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -35,3 +36,4 @@ spec:
selector:
{{ include "cluster-autoscaler.instance-name" . | indent 4 }}
type: "{{ .Values.service.type }}"
{{- end }}
2 changes: 2 additions & 0 deletions charts/cluster-autoscaler/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ metadata:
{{- if .Values.serviceMonitor.namespace }}
namespace: {{ .Values.serviceMonitor.namespace }}
{{- end }}
annotations:
{{ toYaml .Values.serviceMonitor.annotations | indent 4 }}
labels:
{{- range $key, $value := .Values.serviceMonitor.selector }}
{{ $key }}: {{ $value | quote }}
Expand Down
9 changes: 7 additions & 2 deletions charts/cluster-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
affinity: {}

autoDiscovery:
# cloudProviders `aws`, `gce`, `magnum` and `clusterapi` are supported by auto-discovery at this time
# cloudProviders `aws`, `gce`, `azure`, `magnum` and `clusterapi` are supported by auto-discovery at this time
# AWS: Set tags as described in https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#auto-discovery-setup

# autoDiscovery.clusterName -- Enable autodiscovery for `cloudProvider=aws`, for groups matching `autoDiscovery.tags`.
# autoDiscovery.clusterName -- Enable autodiscovery for `cloudProvider=azure`, using tags defined in https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/azure/README.md#auto-discovery-setup.
# Enable autodiscovery for `cloudProvider=clusterapi`, for groups matching `autoDiscovery.labels`.
# Enable autodiscovery for `cloudProvider=gce`, but no MIG tagging required.
# Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`.
Expand Down Expand Up @@ -124,7 +125,7 @@ clusterAPICloudConfigPath: /etc/kubernetes/mgmt-kubeconfig
clusterAPIConfigMapsNamespace: ""

# cloudConfigPath -- Configuration file for cloud provider.
cloudConfigPath: /etc/gce.conf
cloudConfigPath: ""

# cloudProvider -- The cloud provider where the autoscaler runs.
# Currently only `gce`, `aws`, `azure`, `magnum` and `clusterapi` are supported.
Expand Down Expand Up @@ -306,6 +307,8 @@ securityContext: {}
# runAsGroup: 1001

service:
# service.create -- If `true`, a Service will be created.
create: true
# service.annotations -- Annotations to add to service
annotations: {}
# service.labels -- Labels to add to service
Expand Down Expand Up @@ -339,6 +342,8 @@ serviceMonitor:
release: prometheus-operator
# serviceMonitor.path -- The path to scrape for metrics; autoscaler exposes `/metrics` (this is standard)
path: /metrics
# serviceMonitor.annotations -- Annotations to add to service monitor
annotations: {}

## Custom PrometheusRule to be defined
## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
Expand Down
3 changes: 2 additions & 1 deletion cluster-autoscaler/Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ARG BASEIMAGE=gcr.io/distroless/static:latest-amd64
ARG BASEIMAGE=gcr.io/distroless/static:nonroot-amd64
FROM $BASEIMAGE
LABEL maintainer="Marcin Wielgus <[email protected]>"

COPY cluster-autoscaler-amd64 /cluster-autoscaler
WORKDIR /
CMD ["/cluster-autoscaler"]
3 changes: 2 additions & 1 deletion cluster-autoscaler/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ARG BASEIMAGE=gcr.io/distroless/static:latest-arm64
ARG BASEIMAGE=gcr.io/distroless/static:nonroot-arm64
FROM $BASEIMAGE
LABEL maintainer="Marcin Wielgus <[email protected]>"

COPY cluster-autoscaler-arm64 /cluster-autoscaler
WORKDIR /
CMD ["/cluster-autoscaler"]
20 changes: 17 additions & 3 deletions cluster-autoscaler/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ this document:
* [How to?](#how-to)
* [I'm running cluster with nodes in multiple zones for HA purposes. Is that supported by Cluster Autoscaler?](#im-running-cluster-with-nodes-in-multiple-zones-for-ha-purposes-is-that-supported-by-cluster-autoscaler)
* [How can I monitor Cluster Autoscaler?](#how-can-i-monitor-cluster-autoscaler)
* [How can I see all the events from Cluster Autoscaler?](#how-can-i-see-all-events-from-cluster-autoscaler)
* [How can I scale my cluster to just 1 node?](#how-can-i-scale-my-cluster-to-just-1-node)
* [How can I scale a node group to 0?](#how-can-i-scale-a-node-group-to-0)
* [How can I prevent Cluster Autoscaler from scaling down a particular node?](#how-can-i-prevent-cluster-autoscaler-from-scaling-down-a-particular-node)
Expand Down Expand Up @@ -267,6 +268,16 @@ respectively under `/metrics` and `/health-check`.
Metrics are provided in Prometheus format and their detailed description is
available [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/proposals/metrics.md).

### How can I see all events from Cluster Autoscaler?

By default, the Cluster Autoscaler will deduplicate similar events that occur within a 5 minute
window. This is done to improve scalability performance where many similar events might be
triggered in a short timespan, such as when there are too many unscheduled pods.

In some cases, such as for debugging or when scalability of events is not an issue, you might
want to see all the events coming from the Cluster Autoscaler. In these scenarios you should
use the `--record-duplicated-events` command line flag.

### How can I scale my cluster to just 1 node?

Prior to version 0.6, Cluster Autoscaler was not touching nodes that were running important
Expand Down Expand Up @@ -408,6 +419,7 @@ spec:
run: overprovisioning
spec:
priorityClassName: overprovisioning
terminationGracePeriodSeconds: 0
containers:
- name: reserve-resources
image: k8s.gcr.io/pause
Expand All @@ -433,10 +445,10 @@ spec:
app: overprovisioning-autoscaler
spec:
containers:
- image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2
- image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.8.1
name: autoscaler
command:
- ./cluster-proportional-autoscaler
- /cluster-proportional-autoscaler
- --namespace=default
- --configmap=overprovisioning-autoscaler
- --default-params={"linear":{"coresPerReplica":1}}
Expand Down Expand Up @@ -720,7 +732,7 @@ The following startup parameters are supported for cluster autoscaler:
| `scale-down-candidates-pool-min-count` | Minimum number of nodes that are considered as additional non empty candidates<br>for scale down when some candidates from previous iteration are no longer valid.<br>When calculating the pool size for additional candidates we take<br>`max(#nodes * scale-down-candidates-pool-ratio, scale-down-candidates-pool-min-count)` | 50
| `scan-interval` | How often cluster is reevaluated for scale up or down | 10 seconds
| `max-nodes-total` | Maximum number of nodes in all node groups. Cluster autoscaler will not grow the cluster beyond this number. | 0
| `cores-total` | Minimum and maximum number of cores in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. | 320000
| `cores-total` | Minimum and maximum number of cores in cluster, in the format \<min>:\<max>. Cluster autoscaler will not scale the cluster beyond these numbers. | 320000
| `memory-total` | Minimum and maximum number of gigabytes of memory in cluster, in the format \<min>:\<max>. Cluster autoscaler will not scale the cluster beyond these numbers. | 6400000
| `gpu-total` | Minimum and maximum number of different GPUs in cluster, in the format <gpu_type>:\<min>:\<max>. Cluster autoscaler will not scale the cluster beyond these numbers. Can be passed multiple times. CURRENTLY THIS FLAG ONLY WORKS ON GKE. | ""
| `cloud-provider` | Cloud provider type. | gce
Expand All @@ -742,6 +754,7 @@ The following startup parameters are supported for cluster autoscaler:
| `max-failing-time` | Maximum time from last recorded successful autoscaler run before automatic restart | 15 minutes
| `balance-similar-node-groups` | Detect similar node groups and balance the number of nodes between them | false
| `balancing-ignore-label` | Define a node label that should be ignored when considering node group similarity. One label per flag occurrence. | ""
| `balancing-label` | Define a node label to use when comparing node group similarity. If set, all other comparison logic is disabled, and only labels are considered when comparing groups. One label per flag occurrence. | ""
| `node-autoprovisioning-enabled` | Should CA autoprovision node groups when needed | false
| `max-autoprovisioned-node-group-count` | The maximum number of autoprovisioned groups in the cluster | 15
| `unremovable-node-recheck-timeout` | The timeout before we check again a node that couldn't be removed before | 5 minutes
Expand All @@ -760,6 +773,7 @@ The following startup parameters are supported for cluster autoscaler:
| `daemonset-eviction-for-occupied-nodes` | Whether DaemonSet pods will be gracefully terminated from non-empty nodes | true
| `feature-gates` | A set of key=value pairs that describe feature gates for alpha/experimental features. | ""
| `cordon-node-before-terminating` | Should CA cordon nodes before terminating during downscale process | false
| `record-duplicated-events` | Enable the autoscaler to print duplicated events within a 5 minute window. | false

# Troubleshooting:

Expand Down
2 changes: 0 additions & 2 deletions cluster-autoscaler/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

approvers:
- elmiko
- alexander-demichev
- JoelSpeed
reviewers:
- enxebre
- frobware
- elmiko
- alexander-demichev
- JoelSpeed
7 changes: 7 additions & 0 deletions cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ You should also take a look at the notes and "gotchas" for your specific cloud p
* [BizflyCloud](./cloudprovider/bizflycloud/README.md)
* [Vultr](./cloudprovider/vultr/README.md)
* [TencentCloud](./cloudprovider/tencentcloud/README.md)
* [Scaleway](./cloudprovider/scaleway/README.md)
* [Rancher](./cloudprovider/rancher/README.md)
* [Kamatera](./cloudprovider/kamatera/README.md)

# Releases

Expand Down Expand Up @@ -177,3 +180,7 @@ Supported cloud providers:
* Cluster API https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/clusterapi/README.md
* Vultr https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/vultr/README.md
* TencentCloud https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/tencentcloud/README.md
* BaiduCloud https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/baiducloud/README.md
* Huawei Cloud https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/huaweicloud/README.md
* Rancher https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/rancher/README.md
* Kamatera https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/kamatera/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
defaultAdjustmentType = "TotalCapacity"
)

//autoScaling define the interface usage in alibaba-cloud-sdk-go.
// autoScaling define the interface usage in alibaba-cloud-sdk-go.
type autoScaling interface {
DescribeScalingGroups(req *ess.DescribeScalingGroupsRequest) (*ess.DescribeScalingGroupsResponse, error)
DescribeScalingConfigurations(req *ess.DescribeScalingConfigurationsRequest) (*ess.DescribeScalingConfigurationsResponse, error)
Expand Down Expand Up @@ -95,7 +95,7 @@ func getEssClient(cfg *cloudConfig) (client *ess.Client, err error) {
return
}

//autoScalingWrapper will serve as the
// autoScalingWrapper will serve as the
type autoScalingWrapper struct {
autoScaling
cfg *cloudConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ spec:
app: cluster-autoscaler
spec:
priorityClassName: system-cluster-critical
serviceAccountName: admin
serviceAccountName: cluster-autoscaler
containers:
- image: registry.cn-hangzhou.aliyuncs.com/acs/autoscaler:v1.3.1
name: cluster-autoscaler
Expand Down Expand Up @@ -162,9 +162,9 @@ spec:
key: access-key-secret
- name: REGION_ID
valueFrom:
secretKeyRef:
name: cloud-config
key: region-id
secretKeyRef:
name: cloud-config
key: region-id
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs/ca-certificates.crt
Expand Down
Loading