Kubernetes Prow Robot
b95380641f
Merge pull request #1379 from yuanchen8911/readme
...
Fix and improve the namespace filtering description in README
2024-04-18 17:55:45 -07:00
Yuan Chen
10d0ce0dfa
Fix and improve the namespace filtering description in README
2024-04-18 17:03:32 -07:00
Angelos Mimidis
2c06a33d41
helm: Allow the use of existing policy configMap ( #1376 )
...
* Allow the use of existing policy configMap.
* Update charts/descheduler/templates/configmap.yaml
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
* Remove references to unused variable and update documentation regarding deschedulerPolicy
* Add missing newLine at EOF
* Update charts/descheduler/values.yaml
* remove trailing space
---------
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
2024-04-16 20:15:51 -07:00
Julian Lawrence
4bd348d9b7
bump to go 1.22.2 ( #1374 )
...
* bump to 1.22.2 for CVE-2023-45288
* updated gofmt update/verify versions
* doc update
2024-04-09 16:21:37 -07:00
Gabriel Tiossi
82559025b1
Allow eviction of DaemonSet pods ( #1342 )
...
* feat: evictDaemonSetPods flag for evictors
* test: evictDaemonSetPods unit and e2e
* docs: evictDaemonSetPods
2024-04-09 07:47:34 -07:00
Kubernetes Prow Robot
a2c88582fa
Merge pull request #1373 from ingvagabund/bump-golangorg-x-net
...
bump(golang.org/x/net)=v0.23.0
2024-04-08 07:38:16 -07:00
Jan Chaloupka
a321a38328
bump(golang.org/x/net)=v0.23.0
2024-04-08 16:11:17 +02:00
Kubernetes Prow Robot
970b35d737
Merge pull request #1369 from fanhaouu/feat-avoid-defaultEvictorArgs-conversion-twice
...
avoid redundant type conversion of DefaultEvictorArgs parameter in DefaultEvictor
2024-04-03 18:58:17 -07:00
Kubernetes Prow Robot
364f467421
Merge pull request #1365 from ls-2018/master
...
`RemoveDuplicates`: reduce cycle times identifying duplicates
2024-04-03 18:58:10 -07:00
Amir Alavi
dd94f2ed93
use v1alpha2 api for helm chart default values ( #1139 )
2024-03-29 13:29:32 -07:00
Hao Fan
7f20b5c891
fix: avoid redundant type conversion of DefaultEvictorArgs parameters in DefaultEvictor
...
Signed-off-by: Hao Fan <hao.fan@shopee.com >
2024-03-28 15:25:42 +08:00
Kubernetes Prow Robot
e63e159c04
Merge pull request #1360 from etoster/remove-only-pods-violating-included-node-taints
...
Add argument to remove only pods violating allowlisted taints
2024-03-25 07:39:12 -07:00
etoster
b7697869f2
add argument to remove only pods violating specific node taints
2024-03-25 15:21:21 +01:00
acejilam
19ced3d630
reduce cycle times
...
Signed-off-by: acejilam <acejilam@gmail.com >
2024-03-14 22:43:20 +08:00
Kubernetes Prow Robot
82af9c6321
Merge pull request #1257 from a7i/minreplicas-evictor-threshold
...
skip eviction when replica count is below evictor `minReplicas` threshold setting
2024-03-13 06:46:54 -07:00
Amir Alavi
37df42df7c
skip eviction when replica count is below evictor minReplicas threshold setting
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-03-13 09:29:27 -04:00
Pravar Agrawal
ed1efe436f
Bump to k8s v0.30.0-alpha.3 ( #1359 )
...
* update go.mod for v0.30.0-alpha.3
* update vendor deps
* regenrate go.mod transitive dependencies
---------
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
2024-03-12 20:09:33 -07:00
Niki Manoledaki
749e81c51c
Check whether pod matches the inter-pod anti-affinity of another Pod in a given Node in NodeFit() ( #1356 )
...
* Check if Pod matches inter-pod anti-affinity of other pod on node as part of NodeFit()
* Add unit tests for checking inter-pod anti-affinity match in NodeFit()
* Export setPodAntiAffinity() helper func to test utils
* Add docs for inter-pod anti-affinity in README
* Refactor logic for inter-pod anti-affinity to use in multiple pkgs
* Move logic for finding match between pods with antiaffinity out of framework to reuse in other pkgs
* Move interpod antiaffinity funcs to pkg/utils/predicates.go
* Add unit tests for inter-pod anti-affinity check
* Test logic in GroupByNodeName
* Test NodeFit() case where pods matches inter-pod anti-affinity
* Test for inter-pod anti-affinity pods match terms, have label selector
* NodeFit inter-pod anti-affinity check returns early if affinity spec not set
2024-03-12 19:50:03 -07:00
Kubernetes Prow Robot
dc2cf723bc
Merge pull request #1362 from jackfrancis/pod-fit-logs
...
Disambiguate node fit log messages
2024-03-08 20:21:38 -08:00
Jack Francis
d7c12c5f00
Disambiguate node fit log messages
...
Signed-off-by: Jack Francis <jackfrancis@gmail.com >
2024-03-06 13:59:14 -08:00
Kubernetes Prow Robot
a5f322521e
Merge pull request #1358 from tioxy/fix_metrics_evictoptions
...
Fix node taint wrong EvictOption field
2024-03-04 05:40:44 -08:00
Gabriel Tiossi
52d226321b
fix(plugins): node taint wrong option
2024-03-03 03:28:18 +00:00
Gabriel Tiossi
bb5930eb21
Improve PodEvictor observability through EvictOptions ( #1349 )
...
* feat: profile name for pods_evicted metric
Support new label "profile" for "pods_evicted" metric to allow
understand which profiles are evicting more pods, allowing better
observability
* refactor: evictoptions improved observability
Send profile and strategy names for EvictOptions, allowing Evictors to
access observability information
* cleanup: remove unnecessary evictoption reference
* feat: evictoptions for nodeutilzation
Explicit usage of options when invoking evictPods from the helper
function from nodeutilization for both highnodeutilization and
lownodeutilization
2024-03-02 12:06:05 -08:00
Kubernetes Prow Robot
6c865fdf32
Merge pull request #1348 from a7i/amir/toomanyrestarts-initcontainer
...
fix: `RemovePodsHavingTooManyRestarts` to include `InitContainerStatuses`
2024-02-07 05:36:34 -08:00
Kubernetes Prow Robot
af1ffe7a15
Merge pull request #1346 from a7i/amir/trim-managed-fields
...
trim managedFields in shared informer factory
2024-02-07 05:17:13 -08:00
Amir Alavi
97c0044a74
fix: RemovePodsHavingTooManyRestarts to include InitContainerStatuses
...
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com >
2024-02-06 14:21:42 -05:00
Amir Alavi
c7f8670b11
trim managedFields in shared informer factory
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-02-01 09:58:44 -05:00
Kubernetes Prow Robot
99472b6223
Merge pull request #1343 from a7i/CVE-2023-48795
...
chore: update dependencies for security vulnerabilities (CVE-2023-48795)
2024-01-29 02:08:38 -08:00
Amir Alavi
492da1b8a9
chore: update dependencies for security vulnerabilities (CVE-2023-48795)
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-01-25 11:26:25 -05:00
Kubernetes Prow Robot
70f3619fad
Merge pull request #1289 from UAntBou/master
...
feat: Add support for topologySpreadConstraints
2024-01-17 05:13:05 +01:00
Kubernetes Prow Robot
0d096edbee
Merge pull request #1337 from a7i/v1alpha1-deprecate-notice
...
v1alpha1: log deprecation notice
2024-01-08 16:45:26 +01:00
dongjiang
e7980442ef
PodLifeTime: update support pods with container status and pods reason (#1330 )
...
* update support podlifetime status
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
* update verify gen
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-01-06 17:50:32 +01:00
Kubernetes Prow Robot
c2cf78a760
Merge pull request #1334 from xujihui1985/fix/correct-failed-unittest
...
fix(podlifetime): fix failed unittest
2024-01-05 20:17:55 +01:00
xujihui1985
5092595384
fix: filter pod with age greater than MaxPodLifeTimeSeconds
...
when the pod createtimestamp is greater than the current time (which is
not make sense in real life, but when doing test with such case,
it is possible), it will convert to a large number if we convert it
to uint, and though it can pass the test, but doesn't make sense.
2024-01-03 20:13:26 +08:00
Amir Alavi
d513c5d9d7
v1alpha1: log deprecation notice
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-01-02 20:41:21 -05:00
Kubernetes Prow Robot
4d47bd7f36
Merge pull request #1335 from a7i/helm-v0.29.0
...
v0.29.0: bump helm chart and update manifests/docs
v0.29.0
descheduler-helm-chart-0.29.0
2024-01-02 19:00:04 +01:00
Amir Alavi
96657caf60
v0.29.0: bump helm chart and update manifests/docs
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-01-02 09:34:34 -05:00
Kubernetes Prow Robot
3cf2c03f69
Merge pull request #1336 from dongjiang1989/update-verify-gen
...
chores(verify-gen): fix verify-gen check
2024-01-02 14:59:51 +01:00
dongjiang1989
1715f4ff81
update verify gen
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-01-02 16:11:36 +08:00
xujihui1985
ae7467fb27
fix(podlifetime): fix failed unittest
...
1. correct desired pod creation time
2023-12-28 20:54:25 +08:00
Kubernetes Prow Robot
3a631a3287
Merge pull request #1333 from a7i/CVE-2023-48795
...
`CVE-2023-48795`: bump k8s deps
2023-12-23 20:08:01 +01:00
Amir Alavi
4ee0740a13
github action: install correct go-version
2023-12-22 09:33:52 -05:00
Amir Alavi
992483d0fe
CVE-2023-48795: bump k8s deps
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-12-22 08:48:37 -05:00
Kubernetes Prow Robot
8dc250892b
Merge pull request #1322 from a7i/k8s-1.29
...
kubernetes 1.29: update deps and go-version
2023-12-22 09:53:06 +01:00
Amir Alavi
08356fc9fa
bump golangci-lint
2023-12-21 16:47:40 -05:00
Amir Alavi
e5e931d333
kubernetes 1.29: update deps and go-version
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-12-20 23:15:07 -05:00
Kubernetes Prow Robot
835c6c9fa1
Merge pull request #1318 from a7i/podlifetime-imagepullbackoff
...
`PodLifeTime`: consider pods with container status `ImagePullBackOff`
2023-12-20 19:46:03 +01:00
Amir Alavi
8a06ed32e2
PodLifeTime: consider pods with container status ImagePullBackOff
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-12-18 13:41:06 -05:00
Kubernetes Prow Robot
14b67000d6
Merge pull request #1317 from SataQiu/fix-log-20231212
...
fix: topologySpreadConstraint fields in structured logs
2023-12-15 17:14:15 +01:00
Kubernetes Prow Robot
dbfcd19713
Merge pull request #1314 from dongjiang1989/dualstack-support
...
helm: allow configuration of ipFamilyPolicy
2023-12-12 14:54:17 +01:00