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

Add support for extended resource definition in GCE MIG template #62

Open
wants to merge 460 commits into
base: datadog-master-8.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
460 commits
Select commit Hold shift + click to select a range
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
669f627
Azure: support node label keys having underscores
bpineau 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
690dcd1
move targetCPUPercentile into a flag
matthyx Apr 7, 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
83fe153
Introduce PdbRemainingDisruptions struct
yaroslava-serdiuk Aug 22, 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
d910668
Increase timeout for VPA `v1` e2e tests
jbartosik Aug 31, 2022
0622aaf
update vendor to v1.26.0-alpha.0
jayantjain93 Sep 1, 2022
a8773ac
feat: add support for metricRelabelings
omerlh Aug 25, 2022
5b38599
Merge pull request #5155 from jayantjain93/update-vendor-1.26.0-alpha.0
k8s-ci-robot Sep 1, 2022
29b3fa6
Update go.mod version for github.com/google/go-cmp from 0.5.6 to 0.5.8
jayantjain93 Sep 1, 2022
c5978b6
Drop redudant parameter in utilization calculation
x13n May 20, 2022
1284ecd
Extract checks for scale down eligibility
x13n Aug 23, 2022
c2a0329
Limit amount of node utilization logging
x13n Aug 31, 2022
34e3512
Merge pull request #5157 from jayantjain93/go-cmp-upgrade
k8s-ci-robot Sep 1, 2022
65e7776
Merge pull request #5151 from jbartosik/increase-timeout
k8s-ci-robot Sep 1, 2022
5e85a7d
Merge pull request #5115 from yaroslava-serdiuk/pdb
k8s-ci-robot Sep 2, 2022
f46910a
Increase timeout for VPA E2E
jbartosik Sep 2, 2022
8641dca
Merge pull request #5159 from jbartosik/increase-timeout
k8s-ci-robot Sep 5, 2022
c38cc74
Merge pull request #5124 from omerlh/patch-1
k8s-ci-robot Sep 5, 2022
f4d25df
Corrected the links for Priority in k8s API and Pod Preemption in k8s.
Shubham82 Sep 6, 2022
00fa7c2
Restrict Updater PodLister to namespace
voelzmo Sep 8, 2022
b7d68c0
Update controller-gen to latest and use go install
voelzmo Sep 8, 2022
c50c8ad
Run hack/generate-crd-yaml.sh
voelzmo Sep 8, 2022
7fc3113
Change VPA default version to 0.12.0
jbartosik Sep 9, 2022
947c670
Merge pull request #5182 from jbartosik/default012
k8s-ci-robot Sep 14, 2022
96da700
Pin controller-gen to 0.9.2
voelzmo Sep 14, 2022
cb1ba27
Merge pull request #5116 from DataDog/bp/azure-support-undescore-tags
k8s-ci-robot Sep 14, 2022
8dcd3b3
Merge pull request #5118 from x13n/scaledown
k8s-ci-robot Sep 15, 2022
6419abf
Move resource limits checking to a separate package
x13n Aug 25, 2022
2854870
Allow simulator to persist changes in cluster snapshot
x13n Aug 26, 2022
6017d85
Don't depend on IsNodeBeingDeleted implementation
x13n Sep 15, 2022
b042aae
Merge pull request #5191 from x13n/scaledown
k8s-ci-robot Sep 15, 2022
ab08e9a
Merge pull request #5131 from x13n/scaledown2
k8s-ci-robot Sep 15, 2022
540ff4e
Stop treating masters differently in scale down
x13n Aug 26, 2022
9de9e5d
CA - AWS - Instance List Update 2022-09-16
juanitomint Sep 16, 2022
b878168
fix typo
JamesClonk Sep 17, 2022
6edb3f2
Modifying taint removal logic on startup to consider all nodes instea…
fookenc Sep 19, 2022
8c6bd81
fix typo
JamesClonk Sep 20, 2022
bcc1cf3
Merge pull request #5200 from fookenc/remove-taints-on-startup
k8s-ci-robot Sep 20, 2022
e6f637b
Updated the golang version for GitHub workflow.
Shubham82 Sep 21, 2022
76a5ec8
Create GCE CloudProvider Owners file
jayantjain93 Sep 21, 2022
da8c8cf
Merge pull request #5207 from jayantjain93/patch-2
k8s-ci-robot Sep 21, 2022
30a64a7
Fix error formatting in GCE client
x13n Sep 22, 2022
eea1107
Merge pull request #5208 from x13n/patch-4
k8s-ci-robot Sep 22, 2022
65b0d78
Introduce NodeDeleterBatcher to ScaleDown actuator
yaroslava-serdiuk Jul 25, 2022
b3c6b60
Merge pull request #5060 from yaroslava-serdiuk/deleting-in-batch
k8s-ci-robot Sep 22, 2022
f1b6d4d
handle directx nodes the same as gpu nodes
Flask Sep 23, 2022
70efe28
Merge pull request #5133 from x13n/scaledown3
k8s-ci-robot Sep 23, 2022
4491403
magnum: add an option to create insecure TLS connections
antonkurbatov Sep 25, 2022
15a2afa
Merge pull request #4799 from matthyx/flags
k8s-ci-robot Sep 26, 2022
e767044
Merge pull request #5177 from voelzmo/fix/updater-podlist-namespacing
k8s-ci-robot Sep 26, 2022
28b92e7
skip instances on validation error
Freyert Sep 26, 2022
ca6ed15
Merge pull request #5178 from voelzmo/enh/update-controller-gen
k8s-ci-robot Sep 29, 2022
5c9cc27
cleanup unused constants in clusterapi provider
elmiko Sep 29, 2022
728bea6
Merge pull request #5222 from elmiko/capi-cleanup
k8s-ci-robot Sep 29, 2022
030a7f5
Update the example spec of civo cloudprovider
vishalanarase Sep 30, 2022
a99294d
Fix race condition in scale down test
yaroslava-serdiuk Sep 30, 2022
9cae42c
Merge pull request #5227 from yaroslava-serdiuk/batch-test
k8s-ci-robot Sep 30, 2022
3d9ab55
add example for multiple recommenders
matthyx Oct 3, 2022
cdf8406
Merge pull request #5226 from vishalanarase/civo-update-example-spec
k8s-ci-robot Oct 3, 2022
5417153
Merge pull request #5209 from helio/gpu-processor-directx
k8s-ci-robot Oct 3, 2022
7db0d94
Merge pull request #5205 from Shubham82/update_golang_version
k8s-ci-robot Oct 3, 2022
0973954
Add VPA E2E for recomemndation not exaclty matching pod
jbartosik Oct 3, 2022
ab75576
Add VPA E2E for recomemndation not exaclty matching pod with limit range
jbartosik Oct 4, 2022
e75a769
Remove units for default boot disk size
yaroslava-serdiuk Oct 4, 2022
078a6e0
Merge pull request #5233 from yaroslava-serdiuk/boot-disk
k8s-ci-robot Oct 4, 2022
9a92bcf
Merge pull request #5231 from matthyx/doc
k8s-ci-robot Oct 5, 2022
eded7ec
Merge pull request #5232 from jbartosik/e2e-test-admission-pod-recomm…
k8s-ci-robot Oct 5, 2022
f63315c
Merge pull request #5213 from Freyert/gce-409-skip
k8s-ci-robot Oct 5, 2022
ee09474
Merge pull request #5196 from JamesClonk/master
k8s-ci-robot Oct 5, 2022
ddf0fe0
Merge pull request #5193 from juanitomint/master
k8s-ci-robot Oct 5, 2022
c65a3a3
Merge pull request #5210 from antonkurbatov/bugfix/magnum-tls-insecure
k8s-ci-robot Oct 5, 2022
4ff4903
Merge pull request #5167 from Shubham82/Correct_Pod_Priority_and_Pree…
k8s-ci-robot Oct 6, 2022
d1f2acf
Fixed gofmt error.
Shubham82 Oct 10, 2022
e206ae2
Merge pull request #5241 from Shubham82/update-gofmt
k8s-ci-robot Oct 11, 2022
2ee8023
Don't break scale up with priority expander config
x13n Oct 11, 2022
ae9ed65
Merge pull request #5246 from x13n/priority-expander
k8s-ci-robot Oct 11, 2022
e286a95
Add support for extended resource definition in GCE MIG template
zaymat Oct 11, 2022
6bf6f50
Code Review: Do not return an error on malformed extended_resource + …
zaymat Oct 19, 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.19

- 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.17.5
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.0
version: 9.21.0
7 changes: 5 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,15 +356,18 @@ 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.metricRelabelings | object | `{}` | MetricRelabelConfigs to apply to samples before ingestion. |
| serviceMonitor.namespace | string | `"monitoring"` | Namespace which Prometheus is running in. |
| serviceMonitor.path | string | `"/metrics"` | The path to scrape for metrics; autoscaler exposes `/metrics` (this is standard) |
| serviceMonitor.selector | object | `{"release":"prometheus-operator"}` | Default to kube-prometheus install (CoreOS recommended), but should be set according to Prometheus install. |
Expand Down
12 changes: 12 additions & 0 deletions charts/cluster-autoscaler/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ Return the appropriate apiVersion for podsecuritypolicy.
{{- end -}}
{{- end -}}

{{/*
Return the appropriate apiVersion for podDisruptionBudget.
*/}}
{{- define "podDisruptionBudget.apiVersion" -}}
{{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }}
{{- if semverCompare "<1.21-0" $kubeTargetVersion -}}
{{- print "policy/v1beta1" -}}
{{- else -}}
{{- print "policy/v1" -}}
{{- end -}}
{{- end -}}

{{/*
Return the service account name used by the pod.
*/}}
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
2 changes: 1 addition & 1 deletion charts/cluster-autoscaler/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.podDisruptionBudget -}}
apiVersion: policy/v1beta1
apiVersion: {{ template "podDisruptionBudget.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
labels:
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 }}
6 changes: 6 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 All @@ -18,6 +20,10 @@ spec:
- port: {{ .Values.service.portName }}
interval: {{ .Values.serviceMonitor.interval }}
path: {{ .Values.serviceMonitor.path }}
{{- if .Values.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{ tpl (toYaml .Values.serviceMonitor.metricRelabelings | indent 6) . }}
{{- end }}
namespaceSelector:
matchNames:
- {{.Release.Namespace}}
Expand Down
12 changes: 10 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,11 @@ 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: {}
## [RelabelConfig](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.RelabelConfig)
# serviceMonitor.metricRelabelings -- MetricRelabelConfigs to apply to samples before ingestion.
metricRelabelings: {}

## 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"]
Loading