Commit Graph

5847 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 226784a223
Merge pull request #4983 from jbartosik/address-todo
Reenable Service Account Check in VPA E2E tests
2022-07-19 05:20:06 -07:00
Joachim Bartosik b16ab89c3c Allow privilidged pods in VPA E2E
We allowed them before (it was default) but now we need to allow it explicitly:

https://groups.google.com/a/kubernetes.io/g/dev/c/BZlDyz9FK1U/m/57PgQlA4BgAJ

Long term I want to run pods without privilidge but it requeres:

- https://github.com/kubernetes/kubernetes/pull/110779 to merge
- Syncing e2e dependencies to include the merged change
- Changing tests to run pods without privilidges

To keep tests passing through removal of PodSecurityPolicy for 1.25 I want to
merge this change first and reduce pod privilidges later
2022-07-19 13:22:37 +02:00
Joachim Bartosik 82ed501f16 Revert "Work around VPA e2e test failures"
This reverts commit 0ef8307a62.
2022-07-19 13:22:37 +02:00
Joachim Bartosik f22b40eab8 Update K8s dependencies of VPA E2E tests 2022-07-19 13:22:32 +02:00
Joachim Bartosik 6efb9c9e8a Increase default for VPA e2e K8s dependencies to v1.24.3-rc.0
For #4822
2022-07-19 13:22:24 +02:00
Kubernetes Prow Robot 028584a476
Merge pull request #5025 from enxebre/get-targetSize-fromcache
Get capi targetsize from cache
2022-07-18 06:39:15 -07:00
Kubernetes Prow Robot 6bc4957a0f
Merge pull request #5027 from Shubham82/fix-HPA_Hyperlinks
Fixed the Hyperlinks of HPA.
2022-07-18 05:05:15 -07:00
Kubernetes Prow Robot 68e4f4a37a
Merge pull request #4950 from AustinSiu/vendor-aws-sdk-in-cloudprovider
Vendor aws sdk in cloudprovider
2022-07-15 04:16:25 -07:00
Shubham Kuchhal c275757343 Fixed the Hyperlinks of HPA. 2022-07-14 13:45:41 +05:30
Kubernetes Prow Robot 2993b2e833
Merge pull request #5003 from Andrius521/fix/examples-documentation
Fix/examples documentation
2022-07-13 14:22:57 -07:00
Kubernetes Prow Robot 9587e173ae
Merge pull request #5017 from PhilippeChepy/pchepy/update-cas-exoscale-documentation
exoscale provider: Update cluster autoscaler documentation
2022-07-13 14:20:56 -07:00
Kubernetes Prow Robot d8b9847739
Merge pull request #5021 from gsweene2/vpa-document-rec-and-updater-flags
chore: Document params for VPA recommender & updater (similar to CA's FAQs)
2022-07-13 14:18:57 -07:00
enxebre b2f1823c91 Get capi targetsize from cache
This ensured that access to replicas during scale down operations were never stale by accessing the API server https://github.com/kubernetes/autoscaler/issues/3104.
This honoured that behaviour while moving to unstructured client https://github.com/kubernetes/autoscaler/pull/3312.
This regressed that behaviour while trying to reduce the API server load https://github.com/kubernetes/autoscaler/pull/4443.
This put back the never stale replicas behaviour at the cost of loading back the API server https://github.com/kubernetes/autoscaler/pull/4634.

Currently on e.g a 48 minutes cluster it does 1.4k get request to the scale subresource.
This PR tries to satisfy both non stale replicas during scale down and prevent the API server from being overloaded. To achieve that it lets targetSize which is called on every autoscaling cluster state loop from come from cache.

Also note that the scale down implementation has changed https://github.com/kubernetes/autoscaler/commits/master/cluster-autoscaler/core/scaledown.
2022-07-13 20:26:44 +02:00
Kubernetes Prow Robot db5e2f2e5d
Merge pull request #5024 from towca/jtuznik/families
CA: GCE: implement GetMachineFamily, fix IsCustomMachine
2022-07-13 02:59:37 -07:00
Kubernetes Prow Robot 4b97a775f0
Merge pull request #5023 from x13n/revert-4896-master
Revert "Adding support for identifying nodes that have been deleted from cloud provider that are still registered within Kubernetes"
2022-07-13 02:13:36 -07:00
Kuba Tużnik 6ba8d27abf CA: GCE: implement GetMachineFamily, fix IsCustomMachine
IsCustomMachine didn't take machine types with family prefix
(e.g. n2-custom-2-2816) into account.
2022-07-13 10:57:28 +02:00
Daniel Kłobuszewski 66bfe55077
Revert "Adding support for identifying nodes that have been deleted from cloud provider that are still registered within Kubernetes" 2022-07-13 10:08:03 +02:00
Garrett Sweeney 9ef0bbffa5 Fix storage 2022-07-13 01:44:39 -04:00
Garrett Sweeney 86463f9bb3 Update/Fix 2022-07-13 01:39:20 -04:00
Garrett Sweeney 036826dfab chore: Documenting flags for VPA recommender & updater 2022-07-13 01:23:25 -04:00
Austin Siu aac78b61b8 Update verify scripts 2022-07-12 17:53:22 -05:00
Austin Siu 32f10ebff5 Update go.mod with new net dependency 2022-07-12 17:53:21 -05:00
Austin Siu c37599cbe0 Update imports and add instructions for vendored code 2022-07-12 17:53:20 -05:00
Austin Siu 6ff006f4d9 Initial vendoring 2022-07-12 17:53:13 -05:00
Philippe Chepy 66600266f2 Comment scale-down test delays 2022-07-12 09:42:17 +02:00
Philippe Chepy 3ec69a0cd6 Add empty line at end of file 2022-07-12 09:31:29 +02:00
Philippe Chepy 40e950fb4d Add required IAM operations documentation 2022-07-12 09:25:50 +02:00
Philippe Chepy ed1c8f8a9a Update deployment manifest on control-plane 2022-07-12 09:24:52 +02:00
Philippe Chepy 0cd5f2763f Set tolerations and node selector to schedule on control-plane 2022-07-11 15:18:28 +02:00
Philippe Chepy caf35587a0 Set container image to upstream 2022-07-11 15:12:42 +02:00
Kubernetes Prow Robot 01ef7c1737
Merge pull request #5005 from Shubham82/deduplicate-Migration_Doc
Deduplicate Migration Doc from README.
2022-07-11 02:49:49 -07:00
Kubernetes Prow Robot f990344b6c
Merge pull request #4134 from airbnb/es--expander-plugin-proposal
CA expander plugin proposal
2022-07-10 13:57:47 -07:00
Kubernetes Prow Robot 0c3e9d15d1
Merge pull request #5011 from gandhipr/bug-update-vendor-file-version
update cloud-provider-azure version for azure imports
2022-07-06 19:29:33 -07:00
Prachi Gandhi c77a4aca08 update cloud-provider-azure version for azure imports 2022-07-06 17:19:46 -07:00
Kubernetes Prow Robot 0fcbac8a8f
Merge pull request #4728 from moolen/feature/nonroot
feat: use non-root user for base-image
2022-07-05 18:09:20 -07:00
Shubham Kuchhal d433cd3662 Deduplicate Migration Doc from README. 2022-07-05 16:19:53 +05:30
Kubernetes Prow Robot 042badcc37
Merge pull request #5004 from yaroslava-serdiuk/node-temlate-fix
GCE: Always add boot disk annotations to templates
2022-07-05 03:04:47 -07:00
Yaroslava Serdiuk dd488f0d6e GCE: Always add boot disk annotations to templates 2022-07-04 17:20:07 +00:00
Kubernetes Prow Robot af5fb0722b
Merge pull request #4896 from fookenc/master
Adding support for identifying nodes that have been deleted from cloud provider that are still registered within Kubernetes
2022-07-04 05:13:24 -07:00
Andrius521 0b19f1841a Merge branch 'master' into fix/examples-documentation 2022-07-04 09:25:29 +03:00
Kubernetes Prow Robot de59b91dc4
Merge pull request #4993 from MaciekPytel/gce_machine_types
GCE: move fetching MachineType to MigInfoProvider
2022-06-29 07:26:06 -07:00
Maciek Pytel 6c8898b944 GCE: move fetching MachineType to MigInfoProvider
This allows more consistent error handling with other GCE API calls.
Also removed caching errors for MachineType API in cache.go, since
it was never never used anyway and it's inconsistent with error handling
for other APIs.
2022-06-29 15:44:45 +02:00
Kubernetes Prow Robot 3a301dbcbd
Merge pull request #4845 from shafeeqes/fix/kubeconfig
Fix a bug in admission-controller while using an external kubeconfig
2022-06-27 06:46:59 -07:00
Kubernetes Prow Robot 5745044ddf
Merge pull request #4990 from mikelo/issue.4285
switched policy for PodDisruptionBudget from v1beta1 to v1 in time for 1.25
2022-06-27 05:50:59 -07:00
Kubernetes Prow Robot abdb6dfaf0
Merge pull request #4985 from ruifaling/master
Update documentation for cluster-autoscaler supported cloud providers
2022-06-27 03:53:00 -07:00
Kubernetes Prow Robot c9ad734a63
Merge pull request #4987 from Shubham82/Correct_Link
Correct the Hyperlink of VPA design-proposal in README.
2022-06-27 03:30:58 -07:00
mikelo c127763a45 switched policy for PodDisruptionBudget from v1beta1 to v1 in time for 1.25 2022-06-24 19:13:03 +02:00
Kubernetes Prow Robot 6ce299ed36
Merge pull request #4941 from gjtempleton/CA-Chart-Cleanup-Maintainers
CA Chart - Cleanup Chart Maintainers
2022-06-24 02:34:58 -07:00
Shubham Kuchhal 8e09334680 Correct the link of VPA design-proposal in README. 2022-06-22 17:40:41 +05:30
ruifaling 78f9ac8d38 Update guide line documentation for cluster-autoscaler supported cloud providers 2022-06-22 11:07:21 +08:00