Commit Graph

6626 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 90c05f4a93
Merge pull request #5719 from ashaltu/master
Cluster Autoscaler: GCE: add pricing info for G2
2023-05-02 03:48:11 -07:00
Abduselam Shaltu a5ccd81408 Fix spacing issues. 2023-05-01 14:00:09 -07:00
Kubernetes Prow Robot 999d4f96f3
Merge pull request #5717 from streamnsight/feature/use-workload-identity
OCI cloud provider workload identity implementation
2023-05-01 13:56:12 -07:00
Emmanuel Leroy bba880872d Implement Workload Identity auth method 2023-05-01 12:52:19 -07:00
Emmanuel Leroy e6afdf1a45 upgrade OCI SDK from v55 to v65 2023-05-01 12:51:12 -07:00
Abduselam Shaltu f1b4ba677a
Update gce_price_info.go 2023-05-01 12:13:00 -07:00
Abduselam Shaltu 53496998ce Cluster Autoscaler: GCE: add pricing info for G2 2023-05-01 12:05:16 -07:00
Kubernetes Prow Robot f87dbe5fc6
Merge pull request #5715 from kisieland/revert-estimator-expansion
Revert "Add new method 'ReachedLimit' to EstimationLimiter"
2023-04-28 02:04:17 -07:00
Daniel Gutowski 4930cf3742 Revert commit 3ad77e8341
This was meant to be used as a signal that the estimation
did consider all of the pods, but x13n pointed out that
other k8s primitives may also limit it so the best option
is to compare a list of estimated pods.
2023-04-27 06:04:11 -07:00
Kubernetes Prow Robot 8099d0db86
Merge pull request #5713 from jayantjain93/pod-group-processor
Binpacking Estimator pod priority
2023-04-27 05:46:15 -07:00
Jayant Jain 9624e7d11f Binpacking Estimator pod orderer
Refactor the Binpacking estimator by making the pod sort extendable by moving the logic into decreasing_pod_orderer.go
Cleanup sorting logic/structs from binpacking_estimator.go
2023-04-27 12:16:03 +00:00
Kubernetes Prow Robot 5ad85b3523
Merge pull request #5694 from kisieland/limiter-expand
Add new method 'ReachedLimit' to EstimationLimiter
2023-04-26 12:50:14 -07:00
Kubernetes Prow Robot fe10c53f9a
Merge pull request #5696 from kisieland/orchestrator-update-expansion-build
Extract 'SchedulablePods' method in orchestrator.
2023-04-26 12:48:14 -07:00
Kubernetes Prow Robot 12b1dbd751
Merge pull request #5706 from kisieland/skipped-reasons-abtract-max-resources
Add a dedicated struct for the MaxResourceLimitReached Reasons
2023-04-26 10:34:14 -07:00
Kubernetes Prow Robot ccf44dece1
Merge pull request #5697 from aleskandro/fix-capi-build-generic-labels
Fix the buildTemplateLabels method for the ClusterApi provider
2023-04-26 06:16:13 -07:00
Daniel Gutowski 7fecbcf28e Extract 'SchedulablePods' method in orchestrator.
This simplifies the 'ComputeExpansionOption' and allows
us to use defer to revert the ClusterSnapshot rather than calling it
explicitly on each exit from the method.
2023-04-26 03:18:54 -07:00
aleskandro 398ffaf82f Fix the buildTemplateLabels method for the ClusterApi provider
The joinStringMaps call in the buildTemplateLabels method of the clusterApi provider should not overwrite any custom labels with the generic ones returned by buildGenericLabels()
2023-04-26 10:37:13 +02:00
Kubernetes Prow Robot 0142a57730
Merge pull request #5548 from DataDog/azure-fast-backoff
Azure: Fast nodegroup backoff on failed provisioning
2023-04-25 14:36:16 -07:00
Kubernetes Prow Robot 512621fc51
Merge pull request #5577 from trungng92/add-oke-cloud-provider
OCI: Enhance oci implementation to include oci node pools
2023-04-25 07:30:16 -07:00
dom.bozzuto 066315cfa2 Add detection for VMs that fail provisioning to backoff that nodegroup sooner
When Azure fails to provision a node for a nodegroup due to an instance capacity issue ((Zonal)AllocationFailed) or other reason, the VMSS size increase is still reflected but the new instance gets the status `ProvisioningStateFailed`. This now bubbles up the error to the `cloudprovider.Instance`, where it can be used by in `clusterstate` to put the nodegroup into backoff sooner.
2023-04-24 13:56:30 -04:00
Daniel Gutowski 62d3c5b7b3 Add a dedicated struct for the MaxResourceLimitReached Reasons
This allows us to get the list of missing resources from the
skipped reaons object, without computing it one more time.
2023-04-24 05:47:38 -07:00
Kubernetes Prow Robot 240ac79eed
Merge pull request #5340 from maximrub/master
Support RRSA auth in AliCloud
2023-04-24 04:53:01 -07:00
Maxim Rubchinsky d00e56a0a9
cr fixes
Signed-off-by: Maxim Rubchinsky <maxim.rubchinsky@wiz.io>
2023-04-24 12:57:07 +03:00
Maxim Rubchinsky 5ad2edd831
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Co-authored-by: Huang Huang <mozillazg101@gmail.com>
2023-04-24 12:47:24 +03:00
Maxim Rubchinsky acd12d1160
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Co-authored-by: Huang Huang <mozillazg101@gmail.com>
2023-04-24 12:38:10 +03:00
Maxim Rubchinsky 64c83429c3
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Co-authored-by: Huang Huang <mozillazg101@gmail.com>
2023-04-24 12:37:40 +03:00
Maxim Rubchinsky 6e3bdda31a
Update cluster-autoscaler/cloudprovider/alicloud/alicloud_cloud_config.go
Co-authored-by: Huang Huang <mozillazg101@gmail.com>
2023-04-24 12:36:48 +03:00
Kubernetes Prow Robot 4aee897330
Merge pull request #5602 from manishsat/flex-support-without-newtype
Adding VMSS Flex support in Azure AutoScaler
2023-04-21 15:39:12 -07:00
Manish Satwani ed45027583 renaming func to to align what is does. 2023-04-21 15:03:30 -07:00
Manish Satwani a99da16658 Incorporated comments 2023-04-20 15:36:21 -07:00
Kubernetes Prow Robot 299c963722
Merge pull request #5659 from BigDarkClown/fix-pls
Sanitize taints before scheduling DSs on template node infos
2023-04-19 07:59:12 -07:00
Bartłomiej Wróblewski 9604756004 Sanitize taints before scheduling DSs on template node infos 2023-04-19 14:23:42 +00:00
Bartłomiej Wróblewski b8d40fdd3c Add status taints option to template creation 2023-04-19 13:55:38 +00:00
Kubernetes Prow Robot 71b489f5ae
Merge pull request #5649 from morshielt/csr
Move MaxNodeProvisionTime to NodeGroupAutoscalingOptions
2023-04-19 02:40:46 -07:00
Maria Oparka ca088d26c2 Move MaxNodeProvisionTime to NodeGroupAutoscalingOptions 2023-04-19 11:08:20 +02:00
Kubernetes Prow Robot 5c3f8102d6
Merge pull request #5665 from olagacek/master
Limit refresh rate of GCE MIG instances.
2023-04-18 08:02:59 -07:00
Kubernetes Prow Robot cb9748c074
Merge pull request #5138 from olemarkus/aws-provider
Use cloud-provider-aws instead of legacy-cloud-providers/aws
2023-04-18 07:04:58 -07:00
Aleksandra Gacek 656f1919a8 Limit refresh rate of GCE MIG instances. 2023-04-18 15:08:06 +02:00
Daniel Gutowski 3ad77e8341 Add new method 'ReachedLimit' to EstimationLimiter
This method will allow CA to check if any the limiter
blocked addition of any new Node.
2023-04-18 00:54:47 -07:00
Kubernetes Prow Robot 1009797f55
Merge pull request #5594 from vadasambar/feat/3947/ignore-some-local-storage-volumes
feat: add annotation to ignore local storage volume during scale down
2023-04-17 02:16:44 -07:00
vadasambar b663f138a4 feat: add annotation to ignore local storage volume during scale down
- this is so that scale down is not blocked on local storage volume
- for pods where it is okay to ignore local storage volume
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

fix: tests failing
- there was a problem in the logic
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

test: add unit test for `IgnoreLocalStorageVolumeKey`
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

refactor: use `IgnoreLocalStorageVolumeKey`  in tests instead of hardcoding the annotation
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

fix: wording for test name
- `pod with EmptyDir but IgnoreLocalStorageVolumeKey annotation` -> `pod with EmptyDir and IgnoreLocalStorageVolumeKey annotation`
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

fix: simulator drain tests failing
- set local storage vol name (required)
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

refactor: add support for multiple vals in `safe-to-evict-local-volume` annotation
- add more unit tests
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

refactor: rename ignore local vol key `safe-to-evict-local-volume` -> `safe-to-evict-local-volumes`
- abtract code to process annotation into a separate fn
- shorten name for test cases
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

docs: update FAQ with info about `safe-to-evict-local-volumes` annotation
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

docs: add the FAQ for `safe-to-evict-local-volumes` annotation
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

docs: fix formatting for `safe-to-evict-local-volumes` in FAQ
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

docs: format the `safe-to-evict-local-volumes` as a bullet
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

docs: fix `Unless` -> `unless` to make it consistent with other lines
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

test: add an extra test for mismatching local vol value in annotation
Signed-off-by: vadasambar <surajrbanakar@gmail.com>

docs: make the wording clearer
- for `safe-to-evict-local-volumes` annotation
Signed-off-by: vadasambar <surajrbanakar@gmail.com>
2023-04-17 09:53:19 +05:30
Maxim Rubchinsky b939234539
headers
Signed-off-by: Maxim Rubchinsky <maxim.rubchinsky@wiz.io>
2023-04-16 15:22:45 +03:00
Maxim Rubchinsky e006291891
oidc clients tests
Signed-off-by: Maxim Rubchinsky <maxim.rubchinsky@wiz.io>
2023-04-15 23:36:58 +03:00
Maxim Rubchinsky bdeb613463
Merge remote-tracking branch 'upstream/master' 2023-04-15 21:55:16 +03:00
Ole Markus With c16d2591da Removing redundant misspell install command 2023-04-15 10:23:00 +02:00
Ole Markus With 500ea2a8d0 Use go install instead of go get 2023-04-15 10:23:00 +02:00
Ole Markus With 489e37cd36 Bump golang to 1.20 2023-04-15 10:15:52 +02:00
Ole Markus With 9613f30b93 Use cloud-provider-aws instead of legacy-cloud-providers/aws 2023-04-13 17:46:14 +02:00
Kubernetes Prow Robot d8336cca37
Merge pull request #5671 from x13n/pluggable-drain
Allow custom checks on whether or not a pod can be drained.
2023-04-13 08:44:40 -07:00
Daniel Kłobuszewski 1df765754e Allow custom checks on whether or not a pod can be drained. 2023-04-13 17:00:04 +02:00