Kubernetes Prow Robot
5ce857b3fd
Merge pull request #1680 from a7i/amir/helm-0.33
...
v0.33.0: bump helm chart
2025-05-04 09:43:56 -07:00
Amir Alavi
1f4d20dd6b
v0.33.0: bump helm chart
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2025-05-04 12:17:05 -04:00
Kubernetes Prow Robot
75d9800baf
Merge pull request #1674 from meroupatate/patch-1
...
Remove reference to obsolete deschedulerPolicy fields in chart values
2025-05-03 17:23:56 -07:00
Kubernetes Prow Robot
045fbb6a04
Merge pull request #1678 from a7i/v0.33.0-docs-manifests
...
[v0.33.0] update docs and manifests
2025-05-02 18:35:59 -07:00
Kubernetes Prow Robot
035849c721
Merge pull request #1679 from kubernetes-sigs/dependabot/go_modules/github.com/golang/glog-1.2.4
...
chore(deps): bump github.com/golang/glog from 1.2.2 to 1.2.4
2025-05-01 20:03:55 -07:00
dependabot[bot]
a3ca3093e5
chore(deps): bump github.com/golang/glog from 1.2.2 to 1.2.4
...
Bumps [github.com/golang/glog](https://github.com/golang/glog ) from 1.2.2 to 1.2.4.
- [Release notes](https://github.com/golang/glog/releases )
- [Commits](https://github.com/golang/glog/compare/v1.2.2...v1.2.4 )
---
updated-dependencies:
- dependency-name: github.com/golang/glog
dependency-version: 1.2.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-02 02:23:03 +00:00
Kubernetes Prow Robot
ee376e12ac
Merge pull request #1672 from googs1025/add_miss_doc
...
add miss evictDaemonSetPods param in README.md
2025-05-01 19:17:57 -07:00
Amir Alavi
4750dc19e6
[v0.33.0] update docs and manifests
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2025-05-01 22:06:04 -04:00
googs1025
6bf75bedef
add miss evictDaemonSetPods param in README.md
...
Signed-off-by: googs1025 <googs1025@gmail.com >
2025-05-01 08:45:59 +08:00
Kubernetes Prow Robot
2b450c15b8
Merge pull request #1676 from sanposhiho/email-address-mailing-list
...
fix: update the mailing list address
2025-04-30 11:23:55 -07:00
Kensei Nakada
2a27d1be90
fix: update the mailing list address
2025-04-30 17:40:53 +02:00
Kubernetes Prow Robot
6e1832b1af
Merge pull request #1675 from dongjiang1989/update-k8s-v1.33
...
chore: Bump to official kubernetes v0.33.0 deps
2025-04-30 08:19:59 -07:00
dongjiang
a249c9baf0
update k8s to v1.33
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-04-30 22:07:02 +08:00
Alice Zhen
96652f3c28
Remove reference to invalid deschedulerPolicy fields in chart values
...
Since the removal of v1alpha1 descheduler config type https://github.com/kubernetes-sigs/descheduler/pull/1482 , some values are now obsolete
2025-04-25 12:36:13 +02:00
Kubernetes Prow Robot
6e9622bf41
Merge pull request #1667 from ricardomaraschini/update-owners
...
chore: update owners to add me as reviewer
2025-04-16 04:05:07 -07:00
Ricardo Maraschini
f66804396e
chore: update owners to add me as reviewer
...
adding myself as a reviewer.
2025-04-16 11:20:11 +02:00
tspearconquest
3a5c651136
Move values.yaml comment about defining your own configmap to a NOTES.txt output instead ( #1582 )
...
* Move values.yaml comment about defining your own configmap to a NOTES.txt output instead
Signed-off-by: Thomas D. Spear <81998567+tspearconquest@users.noreply.github.com >
* Stop a blank line from being rendered when leader election is not enabled
Signed-off-by: Thomas D. Spear <81998567+tspearconquest@users.noreply.github.com >
* Remove 'default' from the language of the new note
Signed-off-by: Thomas D. Spear <81998567+tspearconquest@users.noreply.github.com >
---------
Signed-off-by: Thomas D. Spear <81998567+tspearconquest@users.noreply.github.com >
2025-04-14 08:25:06 -07:00
Kubernetes Prow Robot
68207da9c8
Merge pull request #1663 from ricardomaraschini/strict-pod-eviction
...
feat: introduce strict eviction policy
2025-04-10 01:30:46 -07:00
Ricardo Maraschini
35a7178df6
feat: introduce strict eviction policy
...
with strict eviction policy the descheduler only evict pods if the pod
contains a request for the given threshold. for example, if using a
threshold for an extended resource called `example.com/gpu` only pods
who request such a resource will be evicted.
2025-04-09 16:48:32 +02:00
Kubernetes Prow Robot
cca28f7bbe
Merge pull request #1651 from freedomchurl/readme-metric-update
...
docs: add histogram metric README.md
2025-04-07 04:48:40 -07:00
Kubernetes Prow Robot
38b1f5c1a8
Merge pull request #1661 from ingvagabund/e2e-TestLowNodeUtilizationKubernetesMetrics-set-the-right-cpu
...
TestLowNodeUtilizationKubernetesMetrics: set the right -cpu value for the cpu stressor
2025-04-07 02:20:38 -07:00
Jan Chaloupka
c2ed7eb575
TestLowNodeUtilizationKubernetesMetrics: set the right -cpu value for the cpu stressor
2025-04-07 10:49:04 +02:00
Kubernetes Prow Robot
17b90969cf
Merge pull request #1629 from googs1025/fix_sortDomains
...
fix removepodsviolatingtopologyspreadconstraint plugin sort logic
2025-03-28 09:06:44 -07:00
Kubernetes Prow Robot
2cce60dc2b
Merge pull request #1657 from ricardomaraschini/log
...
chore: log average and assessed thresholds
2025-03-28 06:52:40 -07:00
googs1025
b4b203cc60
chore: add unit test for sortDomains func
2025-03-28 20:58:54 +08:00
googs1025
59d1d5d1b9
making isEvictable and hasSelectorOrAffinity invoked only once
...
Signed-off-by: googs1025 <googs1025@gmail.com >
2025-03-28 20:57:02 +08:00
Ricardo Maraschini
98e6ed6587
chore: log average and assessed thresholds
...
when calculating the average an applying the deviations it would be nice
to also see the assessed values.
this commit makes the descheduler logs these values when using level 3.
2025-03-28 10:16:20 +01:00
googs1025
4548723dea
fix(removepodsviolatingtopologyspreadconstraint): fix removepodsviolatingtopologyspreadconstraint plugin sort logic
...
Signed-off-by: googs1025 <googs1025@gmail.com >
2025-03-27 23:49:45 +08:00
Kubernetes Prow Robot
7542cac9d0
Merge pull request #1654 from googs1025/add_reviewer
...
nominate googs1025 for descheduler reviewers
2025-03-24 02:16:35 -07:00
googs1025
8871272d35
nominate googs1025 for descheduler reviewers
2025-03-24 10:16:08 +08:00
Kubernetes Prow Robot
a31a3b5e85
Merge pull request #1580 from tspearconquest/docs/add_cmdOptions_details_to_readme
...
Mention cmdOptions.dry-run in the helm chart readme
2025-03-23 18:22:32 -07:00
Kubernetes Prow Robot
9b9ae9a3be
Merge pull request #1650 from ingvagabund/nodeutilization-deviation-skip-nodes-without-extended-resource
...
[nodeutilization]: skip nodes without extended resource when computing the average utilization
2025-03-20 05:58:31 -07:00
Jan Chaloupka
c22d773200
[nodeutilization] test nodes without extended resource when computing the average utilization
2025-03-20 13:22:28 +01:00
Kubernetes Prow Robot
9ba0f9b410
Merge pull request #1653 from ricardomaraschini/new-classifier
...
feat: move classifier to its own package
2025-03-20 05:20:31 -07:00
Ricardo Maraschini
95a631f6a5
feat: move classifier to its own package
...
move the classifier to its own package. introduces a generic way of
classifying usages against thresholds.
2025-03-20 11:02:47 +01:00
Kubernetes Prow Robot
89535b9b9b
Merge pull request #1649 from ricardomaraschini/normalizer
...
feat: refactoring thresholds and usage assessment
2025-03-20 02:34:31 -07:00
Ricardo Maraschini
54d0a22ad1
chore: comment the code and simplify some things
...
this commit comments the low and high utilization plugins. this also
simplifies a little bit where it was possible without affecting too
much.
2025-03-20 10:06:45 +01:00
Ricardo Maraschini
87ba84b2ad
feat: refactoring thresholds and usage assessment
...
this commit refactors the thresholds and usage assessment for the node
utilization plugins. both high and low plugins are affected by this
change.
2025-03-19 17:38:41 +01:00
Kubernetes Prow Robot
b300faece0
Merge pull request #1652 from ingvagabund/nodeutili-refactor
...
[nodeutilization]: produce node utilization of resources that are listed in the list of resources
2025-03-19 05:58:30 -07:00
Jan Chaloupka
04ebdbee32
[nodeutilization]: produce node utilization of resources that are listed in the list of resources
2025-03-19 12:35:19 +01:00
LeeCheol
bda785f7dc
add histogram metric docs
2025-03-18 17:37:02 +09:00
Kubernetes Prow Robot
6ab73d6ac5
Merge pull request #1533 from ingvagabund/node-utilization-util-snapshot
...
[lownodeutilization]: Actual utilization: integration with Prometheus
2025-03-17 08:53:49 -07:00
Jan Chaloupka
e283c31030
[nodeutilization]: prometheus usage client with prometheus metrics
2025-03-17 16:25:17 +01:00
Jan Chaloupka
aed345994f
Update vendor for prometheus deps
2025-03-14 10:26:00 +01:00
Kubernetes Prow Robot
be4abe1727
Merge pull request #1614 from ingvagabund/nodeutilization-metrics-source
...
[nodeutilization]: allow to set a metrics source as a string so it can be later extended for exclusive configuration
2025-03-14 01:57:47 -07:00
Jan Chaloupka
e14b86eb8c
[nodeutilization]: allow to set a metrics source as a string so it can be later extended for exclusive configuration
2025-03-13 18:00:27 +01:00
Kubernetes Prow Robot
a4d6119bcd
Merge pull request #1645 from ingvagabund/nodeutilization-refactoring
...
nodeutilization: make the node classification more generic
2025-03-13 03:21:46 -07:00
Jan Chaloupka
57bb31de78
nodeutilization: make the classification more generic
2025-03-12 15:02:22 +01:00
Kubernetes Prow Robot
17d9b152a2
Merge pull request #1644 from ingvagabund/nodeutilization-arg-validation
...
nodeutilization: invoke ValidateLowNodeUtilizationArgs instead of validateLowNodeUtilizationThresholds to make the test more generic
2025-03-12 01:53:46 -07:00
Jan Chaloupka
b935c7d82c
nodeutilization: invoke ValidateLowNodeUtilizationArgs instead of validateLowNodeUtilizationThresholds to make the test more generic
2025-03-11 10:04:39 +01:00
Kubernetes Prow Robot
b8e3c0bba3
Merge pull request #1642 from ingvagabund/unconstrainedevictions
...
lownodeutilization: evictionLimits to limit the evictions per plugin
2025-03-10 08:43:47 -07:00
Jan Chaloupka
5bf11813e6
lownodeutilization: evictionLimits to limit the evictions per plugin
...
In some cases it might be usefull to limit how many evictions per a
domain can be performed. To avoid burning the whole per descheduling
cycle budget. Limiting the number of evictions per node is a
prerequisite for evicting pods whose usage can't be easily subtracted
from overall node resource usage to predict the final usage. E.g. when a
pod is evicted due to high PSI pressure which takes into account many
factors which can be fully captured by the current predictive resource
model.
2025-03-07 15:31:02 +01:00
Kubernetes Prow Robot
d883c8a9e1
Merge pull request #1640 from ingvagabund/referenced-resource-list
...
ReferencedResourceList: alias for map[v1.ResourceName]*resource.Quantity to avoid the type definition duplication
2025-03-07 05:05:46 -08:00
Jan Chaloupka
50dd3b8971
ReferencedResourceList: alias for map[v1.ResourceName]*resource.Quantity to avoid the type definition duplication
2025-03-07 13:13:00 +01:00
Kubernetes Prow Robot
fd9f2b4614
Merge pull request #1637 from googs1025/chore/fix
...
chore: add setDefaultEvictor return an error
2025-03-05 00:47:45 -08:00
googs1025
655ab516c7
chore: add error handle for setDefaultEvictor func
2025-02-26 22:34:57 +08:00
googs1025
0d5301ead2
chore: add continue for GetNodeWeightGivenPodPreferredAffinity func
2025-02-25 09:26:02 +08:00
Kubernetes Prow Robot
d97f1c9057
Merge pull request #1636 from ricardomaraschini/plugin-sample
...
chore: add descheduler plugin example
2025-02-24 10:40:31 -08:00
Ricardo Maraschini
57a04aae9f
chore: add descheduler plugin example
...
This commit adds a sample plugin implementation as follow:
This directory provides an example plugin for the Kubernetes Descheduler,
demonstrating how to evict pods based on custom criteria. The plugin targets
pods based on:
* **Name Regex:** Pods matching a specified regular expression.
* **Age:** Pods older than a defined duration.
* **Namespace:** Pods within or outside a given list of namespaces (inclusion
or exclusion).
To incorporate this plugin into your Descheduler build, you must register it
within the Descheduler's plugin registry. Follow these steps:
1. **Register the Plugin:**
* Modify the `pkg/descheduler/setupplugins.go` file.
* Add the following registration line to the end of the
`RegisterDefaultPlugins()` function:
```go
pluginregistry.Register(
example.PluginName,
example.New,
&example.Example{},
&example.ExampleArgs{},
example.ValidateExampleArgs,
example.SetDefaults_Example,
registry,
)
```
2. **Generate Code:**
* If you modify the plugin's code, execute `make gen` before rebuilding the
Descheduler. This ensures generated code is up-to-date.
3. **Rebuild the Descheduler:**
* Build the descheduler with your changes.
Configure the plugin's behavior using the Descheduler's policy configuration.
Here's an example:
```yaml
apiVersion: descheduler/v1alpha2
kind: DeschedulerPolicy
profiles:
- name: LifecycleAndUtilization
plugins:
deschedule:
enabled:
- Example
pluginConfig:
- name: Example
args:
regex: ^descheduler-test.*$
maxAge: 3m
namespaces:
include:
- default
```
- `regex: ^descheduler-test.*$`: Evicts pods whose names match the regular
expression `^descheduler-test.*$`.
- `maxAge: 3m`: Evicts pods older than 3 minutes.
- `namespaces.include: - default`: Evicts pods within the default namespace.
This configuration will cause the plugin to evict pods that meet all three
criteria: matching the `regex`, exceeding the `maxAge`, and residing in the
specified namespace.
2025-02-24 18:36:13 +01:00
Kubernetes Prow Robot
f3abaf48ae
Merge pull request #1632 from jandai/master
...
PodMatchNodeSelector: Replaced PodMatchNodeSelector implementation wi…
2025-02-18 07:00:27 -08:00
Jandai
88af72b907
PodMatchNodeSelector: Replaced PodMatchNodeSelector implementation with k8s.io/component-helpers to reduce code size and optimize
2025-02-16 16:48:21 +08:00
Kubernetes Prow Robot
fa3fb4e954
Merge pull request #1612 from LukeCarrier/fix-otel-tracing
...
tracing: test for and address semconv/SDK version conflicts
2025-01-24 11:09:23 -08:00
Luke Carrier
d5b609b34a
tracing: bump otel semconv to 1.26
...
Fix:
E0122 20:09:35.824338 267288 tracing.go:130] "failed to create traceable resource" err=<
1 errors occurred detecting resource:
* conflicting Schema URL: https://opentelemetry.io/schemas/1.24.0 and https://opentelemetry.io/schemas/1.26.0
>
E0122 20:09:35.824366 267288 server.go:108] "failed to create tracer provider" err=<
1 errors occurred detecting resource:
* conflicting Schema URL: https://opentelemetry.io/schemas/1.24.0 and https://opentelemetry.io/schemas/1.26.0
>
2025-01-22 21:14:04 +00:00
Luke Carrier
9c6604fc51
tracing: test for semconv/SDK version conflicts
2025-01-22 21:12:09 +00:00
Kubernetes Prow Robot
1a49e116df
Merge pull request #1599 from linuxmaniac/vseva/1597
...
charts: add needed perms if metricsCollector is enabled
2025-01-10 05:54:31 -08:00
Victor Seva
4775db9e2f
charts: add needed perms if metricsCollector is enabled
2025-01-10 11:58:56 +01:00
Kubernetes Prow Robot
52d5d6398c
Merge pull request #1606 from googs1025/revise/e2e_test_for_flake
...
flake: rollback gracePeriod for evict pod in e2e test
2025-01-09 08:06:32 -08:00
googs1025
6100c914b4
fix: rollback gracePeriod for evict pod in e2e test
2025-01-09 22:29:05 +08:00
Kubernetes Prow Robot
0b3c022c32
Merge pull request #1596 from linuxmaniac/vseva/1595
...
charts: add missing permission for policy
2025-01-07 18:48:29 +01:00
Kubernetes Prow Robot
335c698b38
Merge pull request #1538 from googs1025/feature/grace_period_seconds
...
feature(descheduler): add grace_period_seconds for DeschedulerPolicy
2025-01-07 10:42:30 +01:00
Kubernetes Prow Robot
e39ae80628
Merge pull request #1602 from googs1025/chore/ut_test
...
chore: add ignorePvcPods param in default evictor filter unit test
2025-01-07 09:12:29 +01:00
googs1025
3440abfa41
chore: add ignorePvcPods flag in default evictor filter unit test
2025-01-07 15:27:28 +08:00
googs1025
e6d0caa1bc
feature(descheduler): add grace_period_seconds for DeschedulerPolicy
2025-01-07 10:16:47 +08:00
Kubernetes Prow Robot
e085610bfd
Merge pull request #1578 from googs1025/readme/update
...
chore: update README.md for DeschedulerPolicy
2025-01-06 13:38:16 +01:00
googs1025
03246d6843
chore: update README.md for DeschedulerPolicy
2025-01-06 20:08:35 +08:00
Victor Seva
5a201a32d9
charts: add missing permission for policy at ClusterRole
...
fixes 1595
2025-01-03 12:35:21 +01:00
Kubernetes Prow Robot
fc484030b9
Merge pull request #1591 from a7i/CVE-2024-45337
...
bump x/net and x/crypto deps for CVE-2024-45337 and CVE-2024-45338
2025-01-03 00:54:15 +01:00
Kubernetes Prow Robot
8e6be70ff9
Merge pull request #1592 from a7i/chart-image
...
[release v0.32.0] bump chart and images
2025-01-03 00:26:13 +01:00
Kubernetes Prow Robot
d536cf8ed0
Merge pull request #1593 from a7i/license-2025
...
update license to year 2025
2025-01-02 22:54:15 +01:00
Amir Alavi
48aede9fde
update license to year 2025
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2025-01-02 13:36:59 -05:00
Amir Alavi
bd5b95dbf9
[release v0.32.0] bump chart and images
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2025-01-02 13:31:18 -05:00
Amir Alavi
c02c889734
chore: update license (2024 to 2025)
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2025-01-02 10:07:49 -05:00
Amir Alavi
ca7afd60b9
bump x/net and x/crypto deps for CVE-2024-45337 and CVE-2024-45338
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2025-01-02 09:54:11 -05:00
Kubernetes Prow Robot
71726c8c85
Merge pull request #1588 from a7i/docs-1.32
...
[release v0.32] update docs/readme
2024-12-30 06:48:13 +01:00
Amir Alavi
32e29973d8
[release v0.32] update docs/readme
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-12-29 23:19:16 -06:00
Kubernetes Prow Robot
d0fd115747
Merge pull request #1587 from a7i/k8s-1.32
...
[release v0.32] update kubernetes kind version to 1.32
2024-12-29 17:42:12 +01:00
Amir Alavi
da65808f77
[release v0.32] update kubernetes kind version to 1.32
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-12-27 12:07:32 -06:00
Thomas D. Spear
7369b1291e
Mention cmdOptions.dry-run
...
Signed-off-by: Thomas D. Spear <81998567+tspearconquest@users.noreply.github.com >
2024-12-18 10:26:45 -06:00
Kubernetes Prow Robot
29ff28cbb5
Merge pull request #1536 from googs1025/test
...
feature(eviction): add event when EvictPod failed
2024-12-17 13:18:53 +01:00
Kubernetes Prow Robot
d653537ee6
Merge pull request #1575 from a7i/bump-k8s-1.32
...
bump to official kubernetes v0.32.0 deps
2024-12-17 11:17:00 +01:00
Kubernetes Prow Robot
c3b9c97827
Merge pull request #1564 from pipo02mix/improve-defaults
...
Improve chart default values
2024-12-17 11:16:53 +01:00
Kubernetes Prow Robot
75c5c75e13
Merge pull request #1576 from seanmalloy/bump-kind-0.26.0
...
Bump kind to v0.26.0
2024-12-17 10:38:52 +01:00
Sean Malloy
b66b5d35f0
Bump kind to v0.26.0
...
The new kind version defaults to k8s v1.32.0 version when creating
new clusters.
2024-12-16 22:28:54 -06:00
Kubernetes Prow Robot
5c3a3bdcf1
Merge pull request #1573 from icloudnote/charts
...
Fixed the issue when successfulJobsHistoryLimit and failedJobsHistoryLimit variables are 0.
2024-12-14 19:32:42 +01:00
Kubernetes Prow Robot
46fa370ede
Merge pull request #1570 from felipewnp/patch-1
...
docs: Removing deschedulerPolicy.strategies since it does not exist
2024-12-14 19:02:44 +01:00
Amir Alavi
4e8c7e6702
bump to official kubernetes v0.32.0 deps
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-12-13 20:03:43 -06:00
changjun
bc6323611b
Fixed the issue when successfulJobsHistoryLimit and failedJobsHistoryLimit variables are 0.
2024-12-11 21:44:01 +08:00
Kubernetes Prow Robot
51a004c848
Merge pull request #1569 from a7i/bump-v0.32.0-rc.2
...
bump to kubernetes v0.32.0-rc.2
2024-12-11 06:48:02 +00:00
Kubernetes Prow Robot
44bde42b63
Merge pull request #1572 from seanmalloy/golangci-lint-verbose
...
Enable golangci-lint Verbose Output
2024-12-11 02:52:02 +00:00
googs1025
bbffb830b9
feature(eviction): add event when EvictPod failed
2024-12-07 19:38:20 +08:00
Sean Malloy
73fecfb7c4
Enable golangci-lint Verbose Output
...
The golangci-lint tool gets stuck for a variety of reasons when
running in Prow CI. Enabling verbose output in an attempt to make
debugging easier.
ref: https://golangci-lint.run/contributing/debug/
2024-12-06 22:44:28 -06:00
Amir Alavi
f4c3fdf418
bump to kubernetes v0.32.0-rc.2
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-12-06 16:25:40 -05:00
Kubernetes Prow Robot
2c11481856
Merge pull request #1571 from seanmalloy/bump-golangci-lint-timeout
...
Bump golangci-lint timeout from 2m to 5m
2024-12-06 19:38:01 +00:00
Sean Malloy
e6deb65299
Bump golangci-lint timeout from 2m to 5m
...
Sometimes golangci-lint timesout when running in CI. Bump the timeout
from 2 minutes to 5 minutes to reduce flakey CI failures.
ref: https://golangci-lint.run/usage/configuration/#run-configurationhttps://golangci-lint.run/usage/configuration/#run-configuration
2024-12-06 13:03:40 -06:00
felipewnp
677c6a60ce
docs: Removing deschedulerPolicy.strategies since it does not exist
...
Since the parameter strategies don't exist anywhere in the code or docs, I'm removing it from the chart readme as a possible option.
It just makes things more confusing.
2024-12-06 12:49:43 -03:00
Kubernetes Prow Robot
a2fd3aa1eb
Merge pull request #1568 from seanmalloy/bump-kind-v0.25.0
...
Bump kind version to v0.25.0
2024-12-06 09:34:01 +00:00
Sean Malloy
697ecc79e4
Bump kind version to v0.25.0
2024-12-05 22:32:46 -06:00
Kubernetes Prow Robot
e619ec6c41
Merge pull request #1567 from seanmalloy/golangci-lint-bump-1.62.2
...
Bump golangci-lint to 1.62.2
2024-12-05 14:12:01 +00:00
Sean Malloy
be9e971cda
Bump golangci-lint to 1.62.2
2024-12-04 16:02:41 -06:00
Kubernetes Prow Robot
a8e14ec14d
Merge pull request #1565 from seanmalloy/go-bump-1.23.3
...
Bump to Go 1.23.3
2024-12-04 16:45:02 +00:00
Sean Malloy
00b6e3528f
Bump to Go 1.23.3
...
The k/k repo was bumped to Go 1.23.3. See below PR for reference.
https://github.com/kubernetes/kubernetes/pull/128852
2024-12-03 22:58:23 -06:00
pipo02mix
18e3d17c29
Improve chart default values
2024-12-03 14:42:14 +01:00
Kubernetes Prow Robot
a962cca90d
Merge pull request #1555 from ingvagabund/actual-utilization-kubernetes-metrics
...
Use actual node resource utilization by consuming kubernetes metrics
2024-11-20 13:58:54 +00:00
Jan Chaloupka
6567f01e86
[nodeutilization]: actual usage client through kubernetes metrics
2024-11-20 14:30:46 +01:00
Jan Chaloupka
c86416612e
go mod tidy/vendor k8s.io/metrics
2024-11-19 16:08:14 +01:00
Kubernetes Prow Robot
a4c09bf560
Merge pull request #1466 from ingvagabund/eviction-in-background-code
...
Introduce RequestEviction feature for evicting pods in background (KEP-1397)
2024-11-19 14:54:54 +00:00
Jan Chaloupka
7d4ec60e2d
bump(vendor)
2024-11-19 15:28:49 +01:00
Jan Chaloupka
3a1a3ff9d8
Introduce RequestEviction feature for evicting pods in background
...
When the feature is enabled each pod with descheduler.alpha.kubernetes.io/request-evict-only
annotation will have the eviction API error examined for a specific
error code/reason and message. If matched eviction of such a pod will be interpreted
as initiation of an eviction in background.
2024-11-19 15:28:37 +01:00
Kubernetes Prow Robot
343ebb9ff9
Merge pull request #1545 from ingvagabund/node-utilization-refactoring-III
...
nodeutilization: separate code responsible for requested resource extraction into a dedicated usage client
2024-11-15 14:34:53 +00:00
Jan Chaloupka
d1c64c48cd
nodeutilization: separate code responsible for requested resource extraction into a dedicated usage client
...
Turning a usage client into an interface allows to implement other kinds
of usage clients like actual usage or prometheus based resource
collection.
2024-11-15 11:23:49 +01:00
Kubernetes Prow Robot
7b1178be9f
Merge pull request #1551 from ingvagabund/bump-golangci-lint
...
bump(golangci-lint)=v1.62.0
2024-11-14 15:32:51 +00:00
Kubernetes Prow Robot
23a6d26209
Merge pull request #1549 from ingvagabund/usageKeysAndValues
...
nodeutilization: usage2KeysAndValues for constructing a key:value list for InfoS printing resource usage
2024-11-14 14:30:52 +00:00
Jan Chaloupka
cd408dd785
bump(golangci-lint)=v1.62.0
2024-11-14 15:03:03 +01:00
Jan Chaloupka
9950b8a55d
nodeutilization: usage2KeysAndValues for constructing a key:value list for InfoS printing resource usage
2024-11-14 14:15:26 +01:00
Jan Chaloupka
f115e780d8
Define EvictionsInBackground feature gate
2024-11-14 13:29:59 +01:00
Kubernetes Prow Robot
af8a7445a4
Merge pull request #1544 from ingvagabund/node-utilization-refactoring-II
...
nodeutilization: evictPodsFromSourceNodes: iterate through existing resources
2024-11-13 22:00:47 +00:00
Kubernetes Prow Robot
5ba11e09c7
Merge pull request #1543 from ingvagabund/node-utilization-refactoring-I
...
nodeutilization: NodeUtilization: make pod utilization extraction configurable
2024-11-13 21:34:47 +00:00
Kubernetes Prow Robot
d41981644a
Merge pull request #1546 from ingvagabund/sortNodesByUsage-extended
...
sortNodesByUsage: drop extended resources as they are already counted in
2024-11-13 20:50:47 +00:00
Jan Chaloupka
67d3d52de8
sortNodesByUsage: drop extended resources as they are already counted in
2024-11-13 21:31:02 +01:00
Jan Chaloupka
e9f43856a9
nodeutilization: iterate through existing resources
2024-11-13 15:31:48 +01:00
Jan Chaloupka
e655a7eb27
nodeutilization: NodeUtilization: make pod utilization extraction configurable
2024-11-13 14:21:32 +01:00
Kubernetes Prow Robot
da52983b27
Merge pull request #1542 from ingvagabund/descheduler-server-apply
...
DeschedulerServer: new Apply function for applying configuration
2024-11-13 13:10:47 +00:00
Kubernetes Prow Robot
1e48cfe6f8
Merge pull request #1541 from ingvagabund/sortNodesByUsage-dont-hardcode-resource-names
...
Update nodes sorting function to respect available resources
2024-11-13 12:46:46 +00:00
Jan Chaloupka
fb4b8746ec
Move RunE code under Run
2024-11-12 15:46:12 +01:00
Jan Chaloupka
269f16cf73
DeschedulerServer: new Apply function for applying configuration
2024-11-12 15:43:14 +01:00
Jan Chaloupka
7eeb07d96a
Update nodes sorting function to respect available resources
2024-11-11 16:26:56 +01:00
Kubernetes Prow Robot
a18425a18d
Merge pull request #1539 from sagar-18/patch-1
...
Update Dockerfile - GoLang v 1.22.7 FIX - CVE-2024-34156, CVE-2024-34155 and CVE-2024-34158
2024-11-05 07:47:29 +00:00
Sagar Chauhan
0c552b667f
Update Dockerfile - GoLang v 1.22.7 FIX - CVE-2024-34156
...
FIX - CVE-2024-34156
2024-10-31 21:27:06 +05:30
Simon Scharf
ef0c2c1c47
add ignorePodsWithoutPDB option ( #1529 )
...
* add ignoreNonPDBPods option
* take2
* add test
* poddisruptionbudgets are now used by defaultevictor plugin
* add poddisruptionbudgets to rbac
* review comments
* don't use GetPodPodDisruptionBudgets
* review comment, don't hide error
2024-10-15 21:21:04 +01:00
Kubernetes Prow Robot
7696f00518
Merge pull request #1532 from ingvagabund/node-utilization-refactoring
...
Node utilization refactoring
2024-10-14 20:10:22 +01:00
Jan Chaloupka
89bd188a35
hnu: move static code from Balance under plugin constructor
2024-10-11 16:49:23 +02:00
Jan Chaloupka
e3c41d6ea6
lnu: move static code from Balance under plugin constructor
2024-10-11 16:37:53 +02:00
Jan Chaloupka
e0ff750fa7
Move default LNU threshold setting under setDefaultForLNUThresholds
2024-10-11 16:31:37 +02:00
Kubernetes Prow Robot
b07be078c3
Merge pull request #1527 from ingvagabund/e2e-buildTestDeployment
...
test: construct e2e deployments through buildTestDeployment
2024-10-08 19:34:23 +01:00
Simon Scharf
22d9230a67
Make sure dry runs sees all the resources a normal run would do ( #1526 )
...
* generic resource handling, so that dry run has all the expected resource types and objects
* simpler code and better names
* fix imports
2024-10-04 12:20:28 +01:00
Jan Chaloupka
3e6166666b
test: construct e2e deployments through buildTestDeployment
2024-10-01 15:23:44 +02:00
Kubernetes Prow Robot
e1e537de95
Merge pull request #1522 from fanhaouu/e2e-leaderelection
...
[LeaderElection] e2e: build a descheduler image and run the descheduler as a pod
2024-10-01 08:23:53 +01:00
Kubernetes Prow Robot
8e762d2585
Merge pull request #1523 from fanhaouu/e2e-topologyspreadconstraint
...
[TopologySpreadConstraint] e2e: build a descheduler image and run the descheduler as a pod
2024-09-30 20:37:32 +01:00
Kubernetes Prow Robot
042fef7c91
Merge pull request #1521 from fanhaouu/e2e-failedpods
...
[FailedPods] e2e: build a descheduler image and run the descheduler as a pod
2024-09-30 20:37:24 +01:00
Kubernetes Prow Robot
2c033a1f6d
Merge pull request #1520 from fanhaouu/e2e-duplicatepods
...
[DuplicatePods] e2e: build a descheduler image and run the descheduler as a pod
2024-09-30 20:02:04 +01:00
Hao Fan
e0a8c77d0e
e2e: DuplicatePods: build a descheduler image and run the descheduler as a pod
2024-09-23 19:37:56 +08:00
Hao Fan
05ce561a06
e2e: FailedPods: build a descheduler image and run the descheduler as a pod
2024-09-23 19:36:53 +08:00
Hao Fan
8b6a67535f
remove policy_leaderelection yaml file
2024-09-23 19:36:01 +08:00
Hao Fan
347a08a11a
add update lease permission
2024-09-23 19:36:01 +08:00
Hao Fan
0ac05f6ea3
e2e: LeaderElection: build a descheduler image and run the descheduler as a pod
2024-09-23 19:35:33 +08:00
Hao Fan
af495e65f7
e2e: TopologySpreadConstraint: build a descheduler image and run the descheduler as a pod
2024-09-23 19:33:59 +08:00
Kubernetes Prow Robot
18ef69584e
Merge pull request #1517 from fanhaouu/e2e-common-method
...
[e2e] abstract common methods
2024-09-20 09:31:33 +01:00
Hao Fan
d25cba08a9
[e2e] abstract common methods
2024-09-19 21:51:11 +08:00
Kubernetes Prow Robot
8b0744c5b2
Merge pull request #1514 from a7i/amir/gha-perms
...
fix: github action Release Charts to have write permissions
2024-09-09 22:15:57 +01:00
Amir Alavi
6e30321989
fix: github action Release Charts to have write permissions
2024-09-09 16:56:11 -04:00
Kubernetes Prow Robot
b094acb572
Merge pull request #1512 from a7i/bump-helm
...
descheduler v0.31.0: bump helm chart
2024-09-09 21:48:34 +01:00
Kubernetes Prow Robot
9f15e02245
Merge pull request #1513 from a7i/amir/bump-golangci
...
chore: bump golangci-lint to latest
2024-09-09 20:35:09 +01:00
Amir Alavi
3bf40c830a
chore: bump golangci-lint to latest
2024-09-09 14:53:15 -04:00
Kubernetes Prow Robot
c9c03ee536
Merge pull request #1511 from a7i/bump-kustomize
...
descheduler v0.31.0: bump kustomize files
2024-09-09 19:42:43 +01:00
Amir Alavi
f19a297d64
bump kustomize files
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-09-09 14:22:02 -04:00
Amir Alavi
2c005600cc
descheduler v0.31.0: bump helm chart
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-09-09 14:20:56 -04:00
Kubernetes Prow Robot
b35e93ec7a
Merge pull request #1510 from Juneezee/chore/yaml
...
chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml`
2024-09-09 10:08:27 +01:00
Kubernetes Prow Robot
4d6a0f1c0e
Merge pull request #1508 from fanhaouu/fix-run-e2e-tests-bug
...
[e2e] no test timeouts, produce the same image tag as in production
2024-09-09 09:22:27 +01:00
Kubernetes Prow Robot
73432b788c
Merge pull request #1506 from a7i/docs-v0.31
...
descheduler v0.31: update docs and manifests
2024-09-09 09:02:28 +01:00
Eng Zer Jun
33868c44df
chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2024-09-08 23:48:16 +08:00
Amir Alavi
4989cc3b6c
descheduler v0.31: update docs and manifests
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-09-05 19:00:41 -04:00
Hao Fan
ab6a3ca2d6
avoid e2e test timeout
2024-09-04 01:26:30 +08:00
Hao Fan
fdd69106a3
modify IMAGE_TAG to fix the version parsing issue
2024-09-04 01:26:20 +08:00
Kubernetes Prow Robot
0f1890e5cd
Merge pull request #1480 from ingvagabund/omitempty-for-plugin-args
...
Plugin args: tag arguments with omitempty to reduce the marshalled json size
2024-09-02 12:00:56 +01:00
Kubernetes Prow Robot
ed6a133449
Merge pull request #1507 from bendikp/make-security-context-conditional
...
feat(helm): make securityContext conditional in Deployment and CronJob
2024-09-02 11:42:56 +01:00
Bendik Paulsrud
0b505946bf
feat(helm): make securityContext conditional in Deployment and CronJob
2024-08-30 08:29:51 +02:00
Kubernetes Prow Robot
dbe4423749
Merge pull request #1504 from a7i/k8s-1.31-e2e
...
descheduler v0.31: update e2e test versions
2024-08-29 11:42:29 +01:00
Kubernetes Prow Robot
a300009b5d
Merge pull request #1505 from a7i/python-eol
...
chore: upgrade python EOL and action versions
2024-08-29 10:02:29 +01:00
Amir Alavi
9fa48cd97e
chore: upgrade python EOL and action versions
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-08-28 23:24:36 -04:00
Amir Alavi
0cf1fc906e
descheduler v0.31: update e2e test versions
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-08-28 23:04:59 -04:00
Kubernetes Prow Robot
4e4c5f79fb
Merge pull request #1496 from a7i/k8s-1.30
...
bump k8s.io libs to v0.31.0
2024-08-15 12:47:53 -07:00
Kubernetes Prow Robot
8abb3509f9
Merge pull request #1498 from ingvagabund/readme-drop-v1alpha-descheduling-policy-mention
...
README: drop v1alpha1 descheduler policy mention
2024-08-15 07:29:18 -07:00
Jan Chaloupka
3eece465fb
README: drop v1alpha1 descheduler policy mention
2024-08-15 15:08:11 +02:00
Amir Alavi
33a747096b
bump k8s.io libs to v0.31.0
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-08-14 14:51:32 -04:00
Kubernetes Prow Robot
f6fe8fd0bd
Merge pull request #1485 from ingvagabund/simplify-TestPodEvictorReset
...
[unit test]: simplify test pod evictor reset
2024-08-14 02:18:43 -07:00
Jan Chaloupka
29c0a90998
TestPodEvictorReset: replace duplicates strategy with node taints to simplify the testing
2024-08-14 11:00:20 +02:00
Kubernetes Prow Robot
640b675e86
Merge pull request #1484 from ingvagabund/test-descheduling-limits
...
[unit test]: test descheduling limits
2024-08-14 01:53:04 -07:00
Kubernetes Prow Robot
c0c26e762b
Merge pull request #1483 from ingvagabund/dedup-framework-init
...
tests: de-duplicate framework handle initialization
2024-08-14 01:20:26 -07:00
Jan Chaloupka
91e5e06b5f
[unit test]: test descheduling limits
2024-08-14 10:15:58 +02:00
Kubernetes Prow Robot
df7791fafa
Merge pull request #1482 from ingvagabund/drop-v1alpha1
...
Remove descheduler/v1alpha1 type
2024-08-13 19:14:43 -07:00
Jan Chaloupka
cbade38d23
[tests] de-duplicate framework handle initialization
2024-08-12 17:05:30 +02:00
Jan Chaloupka
1e0b1a9840
Remove descheduler/v1alpha1 type
2024-08-09 09:49:59 +02:00
Jan Chaloupka
cb0c1b660d
Plugin args: tag arguments with omitempty to reduce the marshalled json size
2024-08-06 15:20:18 +02:00
Kubernetes Prow Robot
daaa3a277e
Merge pull request #1479 from sklirg/feat/container-oci-annotation-source
...
docs: Provide OCI annotation for where to find image sources
2024-08-05 17:48:51 -07:00
Håkon Solbjørg
683cd7f794
docs: Provide OCI annotation for where to find image sources
...
Add a label for the OCI annotation for image source, as per
https://github.com/opencontainers/image-spec/blob/main/annotations.md
2024-08-05 17:35:13 +02:00
Kubernetes Prow Robot
2189fe4479
Merge pull request #1474 from ingvagabund/e2e-build-and-run-descheduler-image
...
[TestTooManyRestarts] e2e: build a descheduler image and run the descheduler as a pod
2024-08-04 11:58:38 -07:00
Jan Chaloupka
e4c361d902
e2e: build a descheduler image and run the descheduler as a pod
2024-08-04 12:06:01 +02:00
Kubernetes Prow Robot
de7cec0640
Merge pull request #1476 from shahar-h/go-1.22.5
...
bump go to 1.22.5
2024-08-03 08:34:37 -07:00
Shahar Harari
48690989da
bump go to 1.22.5
...
Signed-off-by: Shahar Harari <shahar.harari@sap.com >
2024-07-30 08:24:34 +03:00
Kubernetes Prow Robot
601f213b4f
Merge pull request #1469 from ingvagabund/e2e-fix-leaderelection
...
e2e: TestLeaderElection: delete the lease and increase the retry period
2024-07-29 20:01:28 -07:00
Kubernetes Prow Robot
8e70190c8a
Merge pull request #1430 from a7i/fix-minor-ver-parse
...
fix: minor version parsing in version compatibility check
2024-07-29 19:41:17 -07:00
Amir Alavi
a3146a1705
fix: minor version parsing in version compatibility check
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-07-28 11:44:12 -04:00
Victor Gonzalez
55a0812ae6
skip eviction when pod creation time is below minPodAge threshold setting ( #1475 )
...
* skip eviction when pod creation time is below minPodAge threshold setting
In the default initialization phase of the descheduler, add a new
constraint to not evict pods that creation time is below minPodAge
threshold.
Added value:
- Avoid crazy pod movement when the autoscaler scales up and down.
- Avoid evicting pods when they are warming up.
- Decreases the overall cost of eviction as no pod will be evicted
before doing significant amount of work.
- Guard against scheduling. Descheduling loops in situations where
the descheduler has a different node fit logic from scheduler,
like not considering topology spread constraints.
* Use *time.Duration instead of uint for MinPodAge type
* Remove '(in minutes)' from default evictor configuration table
* make fmt
* Add explicit name for Duration field
* Use Duration.String()
2024-07-26 05:59:21 -07:00
Kubernetes Prow Robot
f3569b5fe2
Merge pull request #1354 from ingvagabund/evictions-in-background
...
KEP-1397: descheduler integration with evacuation API as an alternative to eviction API
2024-07-24 11:47:35 -07:00
Jan Chaloupka
d2bd573cdb
e2e: TestLeaderElection: delete the lease and increase the retry period
...
In some random cases none of the deschedulers acquires a lease.
Making the test fail.
2024-07-22 17:24:56 +02:00
Kubernetes Prow Robot
95ef2bbec3
Merge pull request #1471 from ingvagabund/e2e-duplicates
...
e2e: TestRemoveDuplicates: limit the tested namespace
2024-07-21 08:55:18 -07:00
Kubernetes Prow Robot
355cff67c1
Merge pull request #1472 from ingvagabund/e2e-run-descheduler-from-top-instead-of-a-plugin
...
e2e: TestTooManyRestarts: run descheduler as a whole instead of a single plugin
2024-07-20 12:18:55 -07:00
Kubernetes Prow Robot
9220a1c009
Merge pull request #1473 from ingvagabund/bump-golangci-lint
...
bump(github.com/golangci/golangci-lint)=v1.59.1
2024-07-20 11:46:36 -07:00
Jan Chaloupka
b60a3fcfeb
bump(github.com/golangci/golangci-lint)=v1.59.1
2024-07-19 12:54:25 +02:00
Jan Chaloupka
ab467a5dd2
e2e: TestTooManyRestarts: run descheduler as a whole instead of a single plugin
2024-07-19 11:10:19 +02:00
Jan Chaloupka
f66efaf8db
e2e: TestRemoveDuplicates: limit the tested namespace
...
RemoveDuplicates is namespaced scope. Limiting the namespace will avoid
unexpected evictions from other namespaces.
2024-07-19 09:25:20 +02:00
Kubernetes Prow Robot
0c9750cc7f
Merge pull request #1468 from adammw/adammw/podlifetime-initcontainerstatus
...
feat: add init and ephemeral container checks to PodLifeTime
2024-07-17 06:09:07 -07:00
Adam Malcontenti-Wilson
f23967a88e
feat: add init and ephemeral container checks to PodLifeTime
2024-07-17 14:36:35 +10:00
Kubernetes Prow Robot
a6e75fe0bd
Merge pull request #1467 from a7i/helm-unittest
...
helm unit tests
2024-07-15 23:39:10 -07:00
Amir Alavi
9b5026314f
helm unit tests
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-07-15 14:45:31 -04:00
Kubernetes Prow Robot
c56a408b2c
Merge pull request #1443 from a7i/amir/leader-election-namespace-typo
...
fix: helm leader-election typo to `resourceNamespace`
2024-07-14 09:21:10 -07:00
Amir Alavi
fc1b54318f
fix: helm leader-election typo to resourceNamespace
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-07-13 11:46:23 -04:00
Kubernetes Prow Robot
da862a5698
Merge pull request #1444 from ternbusty/feature/namespace-override
...
feat: Add namespace override settings in Helm Chart
2024-07-11 20:19:22 -07:00
Kubernetes Prow Robot
eb6c325553
Merge pull request #1464 from eminaktas/update-pointer-to-ptr
...
refactor: replace k8s.io/utils/pointer with k8s.io/utils/ptr
2024-07-11 07:42:58 -07:00
Emin Aktas
f8e128d862
refactor: replace k8s.io/utils/pointer with k8s.io/utils/ptr
...
Signed-off-by: Emin Aktas <eminaktas34@gmail.com >
2024-07-11 11:36:34 +03:00
Kubernetes Prow Robot
a2a45db6de
Merge pull request #1463 from zhifei92/update-readme
...
Update README about maxNoOfPodsToEvictTotal
2024-07-11 01:31:47 -07:00
zhifei92
d8084e8b39
update README about maxNoOfPodsToEvictTotal
2024-07-11 16:05:36 +08:00
Kubernetes Prow Robot
b614c8bc7c
Merge pull request #1458 from ingvagabund/pod-evictor-thread-safe
...
pod evictor: make it thread safe
2024-07-10 04:48:26 -07:00
Kubernetes Prow Robot
9b41edd382
Merge pull request #1460 from ingvagabund/context
...
descheduler_test.go: initDescheduler: pass a new ctx with cancel inst…
2024-07-09 11:24:11 -07:00
Jan Chaloupka
bc60a058ef
pod evictor: make it thread safe
...
Currently, all the plugins are run in a sequence.
No plugin executes evictions in parallel within.
Yet, there's no guarantee a future plugin (e.g. a custom one)
will not attemp to evict pods in parallel.
2024-07-09 12:39:08 +02:00
Kubernetes Prow Robot
546a39e88c
Merge pull request #1451 from zhifei92/support-total-pods-limit
...
The descheduler supports limiting the total number of pods evicted per rescheduling cycle
2024-07-09 03:35:17 -07:00
zhifei92
578086ca8e
refactor: optimize error descriptions
2024-07-09 17:14:34 +08:00
Jan Chaloupka
ea2eeccff4
descheduler_test.go: initDescheduler: pass a new ctx with cancel instead of returning a cancel
2024-07-09 09:19:59 +02:00
Kubernetes Prow Robot
d0695abea9
Merge pull request #1459 from ingvagabund/descheduler-test-refactoring
...
descheduler_test.go refactoring
2024-07-08 23:39:16 -07:00
zhifei92
e60f525ec6
feat: support MaxNoOfPodsToEvictTotal
2024-07-09 14:00:27 +08:00
Jan Chaloupka
3362fec7b0
Define initDescheduler for further use
...
Can be used by other tests executing individual descheduling cycle
explicitly.
2024-07-08 17:28:51 +02:00
Jan Chaloupka
f240648df2
Set OwnerReferences through GetReplicaSetOwnerRefList
2024-07-08 17:10:07 +02:00
Jan Chaloupka
a818c01832
Use v1alpha2 descheduling policy
2024-07-08 17:04:53 +02:00
Jan Chaloupka
44b59f9b1d
initPluginRegistry as a single way to register all plugins in testing
2024-07-08 16:55:27 +02:00
Kubernetes Prow Robot
9d16c28f43
Merge pull request #1456 from ingvagabund/limit-exceeded-to-error
...
PodEvictor: turn an exceeded limit into an error
2024-07-08 06:25:06 -07:00
Kubernetes Prow Robot
f8afd679ed
Merge pull request #1457 from googs1025/refactor_method
...
fix: add info for error return
2024-07-07 11:10:32 -07:00
googs1025
db0df6c6ca
fix: add info for error return
2024-07-07 21:16:52 +08:00
Jan Chaloupka
18d0e4a540
PodEvictor: turn an exceeded limit into an error
...
When checking for node limit getting exceeded the pod eviction
never fails. Thus, ignoring the metric reporting when a pod fails
to be evicted due to node limit constrains.
The error also allows plugin to react on other limits getting
exceeded. E.g. the limit on the number of pods evicted per namespace.
2024-07-06 20:14:43 +02:00
Kubernetes Prow Robot
7657345079
Merge pull request #1452 from a7i/defaultevictor-reinit
...
fix: indexer cache error when default evictor is re-initialized
2024-07-06 04:30:53 -07:00
Kubernetes Prow Robot
d1118354c9
Merge pull request #1455 from a7i/amir/pod-evictor-options
...
feat: pod evictor options
2024-07-06 03:00:53 -07:00
Amir Alavi
e26f6429a2
feat: pod evictor options
2024-07-05 21:40:55 -04:00
Kubernetes Prow Robot
686417b6de
Merge pull request #1454 from ingvagabund/generate-uuid-for-test-pods
...
test: generate uid when building a pod
2024-07-04 01:19:59 -07:00
Jan Chaloupka
287d1b1573
test: generate uid when building a pod
...
UID is an integral part of every pod.
Even though we don't test for UID in any of the existing test cases,
future test cases might rely on it.
2024-07-02 14:30:42 +02:00
Amir Alavi
7ab36daaec
fix: indexer cache error when default evictor is re-initialized
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-06-28 00:34:55 -04:00
Kubernetes Prow Robot
f2be3fd414
Merge pull request #1436 from fanhaouu/feat-return-node-fit-error
...
return node fit error in advance
2024-06-27 10:54:41 -07:00
Kubernetes Prow Robot
9eefbf05cb
Merge pull request #1450 from googs1025/refactor
...
refactor: PodMatchNodeSelector method
2024-06-27 10:05:17 -07:00
googs1025
cfa6845a19
refactor: PodMatchNodeSelector method
2024-06-27 22:10:41 +08:00
Hao Fan
8a2b2eb37c
return node fit error in advance
2024-06-26 17:18:32 +08:00
Kubernetes Prow Robot
972d28108a
Merge pull request #1447 from ingvagabund/refactorings
...
PodEvictor: refactoring and preparation for eviction requests
2024-06-25 01:08:44 -07:00
Kubernetes Prow Robot
f294d953a3
Merge pull request #1445 from zhifei92/fix-unit-test
...
Unit-test: add necessary ownerRef to the pod.
2024-06-25 00:15:40 -07:00
Kubernetes Prow Robot
85837b1063
Merge pull request #1446 from googs1025/fix_filter
...
fix: return the unmatched cases first
2024-06-24 23:53:40 -07:00
Jan Chaloupka
fadef326ff
TestPodEvictorReset: check the dry mode evicts duplicated pods
2024-06-23 20:30:36 +02:00
Jan Chaloupka
f5060adcd1
Move fake client from the cachedClient function
...
Remove the fakeClient from cachedClient function so a different
fakeClient can be injected for testing purposes
2024-06-23 19:59:46 +02:00
Jan Chaloupka
75880226c0
Set up the pod evictor only once
...
Currently, the pod evictor is created during each descheduling cycle
to reset the internal counters and the fake client (in case a dry run is
configured). Instead, create the pod evictor once and reset only what's
needed. So later on the pod evictor can be extended with e.g. a cache
keeping the track of eviction requests that are still in progress and
required more than a single descheduling cycle to complete.
2024-06-23 19:24:27 +02:00
Jan Chaloupka
0901cb18bf
NewPodEvictor: drop nodes parameter
2024-06-22 15:08:00 +02:00
googs1025
6fdee47cbc
fix: return the unmatched cases first, then perform the eviction
2024-06-22 18:16:40 +08:00
zhifei92
ae15fed7e7
fix(unit-test): add necessary ownerRef to the pod.
2024-06-21 19:12:40 +08:00
ternbusty
ebae217631
add namespaceOverride setting to README
2024-06-21 05:43:17 +09:00
ternbusty
d7178984df
modify to use descheduler.namespace setting
2024-06-21 05:29:27 +09:00
ternbusty
2253e9816c
add namespaceOverride Setting
2024-06-21 05:28:34 +09:00
Kubernetes Prow Robot
cdbd101eae
Merge pull request #1438 from googs1025/clean_up_nodelister
...
chore: cleanup duplicated code
2024-06-20 07:07:16 -07:00
Kubernetes Prow Robot
15551bb834
Merge pull request #1431 from a7i/automated-cherry-pick-of-#1427-upstream-master
...
Automated cherry pick of #1427 : helm: upgrade to v0.30.1
2024-06-20 07:07:09 -07:00
Kubernetes Prow Robot
bdaff92c10
Merge pull request #1441 from googs1025/e2e_test
...
refactor some methods in e2e test
2024-06-20 05:20:16 -07:00
googs1025
9fea59821f
refactor e2e test
2024-06-18 22:48:53 +08:00
Kubernetes Prow Robot
2df11f837a
Merge pull request #1439 from googs1025/add_ut
...
add validation ut
2024-06-17 23:49:47 -07:00
googs1025
0e2478ac41
add validation ut
2024-06-13 11:56:33 +08:00
googs1025
ec33490314
chore: cleanup duplicated code
2024-06-12 08:56:13 +08:00
Kubernetes Prow Robot
1c8ae64726
Merge pull request #1435 from fanhaouu/feat-return-pod-qos
...
return pod qos in advance
2024-06-10 19:38:05 -07:00
Hao Fan
fd7fcbddfe
return pod qos in advance
2024-06-10 00:22:17 +08:00
Kubernetes Prow Robot
69e5c5a1ef
Merge pull request #1433 from a7i/CVE-2024-24790
...
bump go to 1.22.4 for CVE-2024-24790 and CVE-2024-24789
2024-06-09 05:34:07 -07:00
Amir Alavi
8f1102b547
bump go to 1.22.4 for CVE-2024-24790 and CVE-2024-24789
2024-06-09 07:37:01 -04:00
Kubernetes Prow Robot
9a57a37cc0
Merge pull request #1432 from a7i/go-versions
...
chore: reduce repetition of go versions
2024-06-09 00:44:23 -07:00
Amir Alavi
1dd21ba507
use jq to parse go version per pr feedback
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-06-08 18:25:56 -04:00
Amir Alavi
2ae79bee64
chore: reduce repetition of go versions
...
when we cut a new release of descheduler, we have to update the go version in multiple places
which presents an opportunity to miss updating one.
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-06-08 12:52:34 -04:00
Amir Alavi
32065f0caa
helm: upgrade to v0.30.1
2024-06-08 11:19:20 -04:00
Kubernetes Prow Robot
8714397ba6
Merge pull request #1429 from damemi/bump-otel-schema
...
Bump otel semconv to 1.24
2024-06-06 09:37:29 -07:00
Mike Dame
47cc875fe8
Don't crash if failing to create tracer provider
2024-06-06 15:57:58 +00:00
Mike Dame
d699454d5e
Bump otel semconv to 1.24
2024-06-06 13:05:55 +00:00
Jan Chaloupka
a889e57768
Address review comments
2024-06-05 14:18:42 +02:00
Kubernetes Prow Robot
748495a022
Merge pull request #1395 from fanhaouu/fix-check-pod-anti-affinity
...
fix the issue that the pod anti-filtering rules are not taking effect
2024-06-03 05:04:34 -07:00
Hao Fan
c80556fc91
fix the issue that the pod anti-filtering rules are not taking effect
2024-06-02 18:58:57 +08:00
Kubernetes Prow Robot
17af29afe4
Merge pull request #1416 from googs1025/use_cmd_context
...
use cmd context instead of using context.Background()
2024-05-28 16:55:20 -07:00
googs1025
8be82b008c
use cmd context instead of using context.Background()
2024-05-28 20:50:55 +08:00
Kubernetes Prow Robot
fc01793949
Merge pull request #1413 from duplabe/readme-toc-location-fix
...
fix TOC location in Readme
2024-05-22 00:21:24 -07:00
balazs.benyo
22dfa5d559
fix TOC location in Readme
2024-05-22 08:21:23 +02:00
Kubernetes Prow Robot
4b8e2076e9
Merge pull request #1412 from duplabe/helm-fix-default-descheduler-policy
...
fix helm's default deschedulerPolicy
2024-05-21 13:12:11 -07:00
Kubernetes Prow Robot
1c1b1a7207
Merge pull request #1390 from omerap12/helm_chart_allow_falsey_value
...
Helm chart - allow 'falsey' value in cmdOption
2024-05-21 12:32:53 -07:00
balazs.benyo
2675dbedef
fix helm's default deschedulerPolicy
2024-05-21 20:47:59 +02:00
Kubernetes Prow Robot
77a0693e0c
Merge pull request #1378 from hanyouqing/youqing/fix-the-replica-type-for-the-helm-chart
...
Fix the replicas value type for the descheduler helm-chart
2024-05-20 18:18:29 -07:00
Kubernetes Prow Robot
79990946eb
Merge pull request #1405 from a7i/kustomize-image-tags
...
[release 1.30] update kustomize image tags and helm versions
2024-05-20 06:36:42 -07:00
Amir Alavi
4671199be7
upgrade helm chart to v0.30.0
2024-05-20 07:23:30 -04:00
Kubernetes Prow Robot
a82fc7b4e4
Merge pull request #1408 from a7i/amir/bump-go-1.22.3
...
bump to to 1.22.3 to address CVE-2024-24788
2024-05-19 19:56:17 -07:00
Amir Alavi
2ac072e5da
bump to to 1.22.3 to address CVE-2024-24788
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-05-19 20:27:28 -04:00
Amir Alavi
ee5bc6991d
[release 1.30] update kustomize image tags
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-05-18 21:05:44 -04:00
Kubernetes Prow Robot
0ec8581964
Merge pull request #1400 from a7i/kube-1.30
...
[release 1.30] upgrade kubernetes version and docs
2024-05-18 13:29:22 -07:00
Amir Alavi
2f7544344b
bump golangci lint to v1.58.1
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-05-18 10:23:38 -04:00
Amir Alavi
b08f1fa8b5
fix: code-gen scripts to use new flags
...
in recent kubernetes 1.30, the code-gen flags were changed. --output-file-base -> --output-file based on 144141734d \#diff-beaa4412ca0edb2451061daa9570ce25858ec41951938fc60f17e2370462ad8e
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2024-05-18 10:01:23 -04:00
Amir Alavi
fca4a0970f
[release 1.30] upgrade kubernetes version and docs
...
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com >
2024-05-14 14:17:34 -04:00
Jan Chaloupka
b1c6e24f93
KEP-1397: descheduler integration with evacuation API as an alternative to eviction API
2024-05-14 13:42:42 +02:00
Kubernetes Prow Robot
fda4c96937
Merge pull request #1396 from ingvagabund/keps-framework-update-diagram
...
KEP-753: Descheduling framework: update diagram
2024-05-13 06:03:17 -07:00
Jan Chaloupka
3ef05e9e7f
KEP-753: Descheduling framework: update diagram
...
Update the profiles to reflect only Deschedule and Balance plugins are
run and the order of first Deschedule of all profiles then Balance of
all profiles.
2024-05-11 19:25:43 +02:00
Kubernetes Prow Robot
4bbafe7c19
Merge pull request #1372 from ingvagabund/kep-descheduling-framework
...
753 - Descheduling framework
2024-05-10 20:37:58 -07:00
Omer Aplatony
9f5fc14410
Fixed options without value
2024-05-08 17:42:40 +03:00
Youqing Han
b2bb8272af
Convert the replicas value to int for comparision
2024-05-08 11:41:10 +08:00
Omer Aplatony
149a4c11c4
Added speaces
2024-05-03 17:37:32 +03:00
Omer Aplatony
2ce9d46b8c
allow 'falsey' value in cmdOption
2024-05-03 14:39:37 +03:00
Kubernetes Prow Robot
77ec804529
Merge pull request #1381 from yuanchen8911/exitcode
...
Add an extra parameter ExitCode to RemoveFailedPods
2024-05-02 20:27:52 -07:00
Yuan Chen
25b9edae3c
Add an extra parameter ExitCode to RemoveFailedPod
...
Update README.md
Fix README and test files
Update README
Address a7i's comments
Update README
2024-05-02 17:11:50 -07:00
Jan Chaloupka
8da68695e1
753 - Descheduling framework
2024-04-28 18:52:10 +02:00
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
Youqing Han
667df9b606
Fix the replicas type for the helm-chart
2024-04-18 12:05:14 +08: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
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
SataQiu
f598b8909a
fix a bug where the structured log is not displayed correctly
2023-12-12 16:45:50 +08:00
dongjiang1989
e6c9dfa05d
allow configuration of ipFamilyPolicy
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2023-12-10 09:47:54 +08:00
Victor Gonzalez
f0f7ebbe9a
helm: ability to specify security context for pod ( #1311 )
...
* helm: ability to specify security context for pod
* Update charts/descheduler/templates/cronjob.yaml
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
* Update charts/descheduler/templates/deployment.yaml
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
---------
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
2023-12-05 04:40:39 +01:00
Kubernetes Prow Robot
4d37ec91a2
Merge pull request #1305 from a7i/helm-v0.28.1-master
...
release v0.28.1: bump helm chart and images
2023-11-28 18:13:52 +01:00
Amir Alavi
0286871a56
release v0.28.1: bump helm chart and images
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-11-28 09:10:03 -05:00
Kubernetes Prow Robot
b2965c0724
Merge pull request #1292 from a7i/amir/k8s-0.28.4
...
chore: upgrade libs to kubernetes 0.28.4 and matching go version
2023-11-27 20:04:02 +01:00
Amir Alavi
89c7ddbaab
chore: upgrade libs to kubernetes 0.28.4 and matching go version
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-11-27 10:09:04 -05:00
Kubernetes Prow Robot
308309d6d2
Merge pull request #1299 from a7i/amir/revert-defer-done
...
fix: revert defer of context done
2023-11-27 13:17:27 +01:00
PeterSzegedi
c8d4658277
Make the logged nodeutilization percentages human-readable ( #1294 )
...
* Make percentages human-readable
* Rename the rounding function
* bump easycla
2023-11-27 11:04:19 +01:00
Amir Alavi
6f0cd50dc0
fix: revert defer of context done
2023-11-26 14:17:23 -05:00
Kubernetes Prow Robot
89f453ebb3
Merge pull request #1296 from a7i/fix-json-log
...
fix: json logging
2023-11-24 16:51:16 +01:00
Amir Alavi
783304f248
fix: json logging
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-11-24 10:07:42 -05:00
Kubernetes Prow Robot
caafe96ce7
Merge pull request #1293 from a7i/CVE-2023-47108
...
CVE-2023-47108: replace otelgrpc version
2023-11-21 19:15:15 +01:00
Amir Alavi
2a05825b38
CVE-2023-47108: replace otelgrpc version
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-11-21 09:33:36 -05:00
Kubernetes Prow Robot
2fee121df3
Merge pull request #1282 from a7i/cherry_pick_pull
...
copy cherry_pick_pull script form kubernetes/kubernetes
2023-11-20 18:35:57 +01:00
Kubernetes Prow Robot
c3424337c8
Merge pull request #1276 from jklaw90/add-reviewer
...
adding jklaw90 to reviewers
2023-11-20 16:25:05 +01:00
Antoine Boursin
b7a50fd772
feat: Add support for topologySpreadConstraints
2023-11-17 15:48:18 +01:00
Kubernetes Prow Robot
f4977d1518
Merge pull request #1249 from a7i/amir/version-skew-eks
...
fix: version skew compatibility for managed kubernetes providers
2023-11-14 12:48:58 +01:00
Kubernetes Prow Robot
96c1c299eb
Merge pull request #1281 from dimunech/fix-ownerkey-logs
...
fix: display ownerKey in the logs correctly
2023-11-09 04:31:54 +01:00
Amir Alavi
ccff5fe155
copy cherry_pick_pull script form kubernetes/kubernetes
2023-11-02 11:10:59 -04:00
Dmitrii Erokhin
289c003f87
fix: display ownerKey in the logs correctly
2023-11-02 11:23:11 +03:00
Kubernetes Prow Robot
c4ab2008e4
Merge pull request #1233 from a7i/match-label-keys
...
topologyspreadconstraint: support `matchLabelKeys`
2023-10-31 10:42:30 +01:00
Amir Alavi
19aa8a234c
docs: update supported topologySpreadConstraint fields
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-10-30 09:16:15 -04:00
Amir Alavi
bf2bd73f64
topologyspreadconstraint: refactor to match scheduler's struct and initialization
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-10-30 09:16:14 -04:00
Amir Alavi
704a82bcf4
topologyspreadconstraint: support matchLabelKeys
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-10-30 09:16:14 -04:00
Kubernetes Prow Robot
a01322a5e5
Merge pull request #1277 from a7i/amir/CVE-2023-25151
...
bump deps for CVE-2023-25151
2023-10-30 10:14:50 +01:00
Amir Alavi
30aec81951
bump deps for CVE-2023-25151
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-10-27 16:35:24 -04:00
Julian Lawrence
d8159c571d
adding jklaw90 to reviewers
2023-10-26 20:18:49 -07:00
Kubernetes Prow Robot
c59a0f0951
Merge pull request #1270 from ingvagabund/CVE-2023-44487-fixes
...
CVE 2023 44487 fixes
2023-10-19 18:31:11 +02:00
Jan Chaloupka
999dd3dc25
disable http/2 by default, enable it if needed
2023-10-19 17:15:57 +02:00
Jan Chaloupka
a243681ff8
Pin k8s to v1.28.3
2023-10-19 16:30:30 +02:00
Kubernetes Prow Robot
73eb42467a
Merge pull request #1263 from ingvagabund/bump-deps-1.28
...
Bump dependencies to address CVE-2023-44487
2023-10-16 13:44:19 +02:00
Jan Chaloupka
b8eec7a459
Bump dependencies to address CVE-2023-44487
2023-10-16 13:19:54 +02:00
Aditya Purandare
a7d8e69820
helm: ability to specify dnsConfig ( #1260 )
...
* Update values.yaml
* Update deployment.yaml
* Update cronjob.yaml
* fix indentation issue in helm chart
2023-10-11 00:12:22 +02:00
Kubernetes Prow Robot
3bd9dfc625
Merge pull request #1245 from a7i/helm-cronjob-timezone
...
helm: support of `timeZone` for CronJob
2023-09-26 04:59:13 -07:00
Amir Alavi
dca2e58b8e
fix: version skew compatibility for managed kubernetes providers
2023-09-21 21:21:26 -04:00
Antoine Deschênes
267efb3a4b
nodeFit: Use info log level if won't fit ( #1220 )
...
Pods that don't pass the nodeFit condition currently log an
unsuppressable error message to logs. This changes the log level to info
as it's a normal operating condition.
Signed-off-by: Antoine Deschênes <antoine.deschenes@linux.com >
2023-09-20 11:46:01 -07:00
Kubernetes Prow Robot
c0d60196a1
Merge pull request #1246 from a7i/v0.28-image-ref
...
update image references to point to v0.28.0
2023-09-20 07:38:02 -07:00
Amir Alavi
2e1008e290
update image references to point to v0.28.0
2023-09-19 22:06:39 -04:00
Amir Alavi
714a347692
helm: support of timeZone for CronJob
2023-09-19 22:03:42 -04:00
Kubernetes Prow Robot
af4b32c6ba
Merge pull request #1241 from a7i/fix/evicatable-namespace-docs
...
docs: fix evictableNamespaces example
2023-09-15 07:16:15 -07:00
Kubernetes Prow Robot
c602d1256f
Merge pull request #1242 from jklaw90/fix-lint-config
...
fix: golangci config
2023-09-12 18:36:11 -07:00
Julian Lawrence
a592cbc417
fixed config for lint
2023-09-11 20:50:42 -07:00
Amir Alavi
c557d187ab
docs: fix evictableNamespaces example
2023-09-10 22:07:45 -04:00
Kubernetes Prow Robot
e8427d0eb4
Merge pull request #1229 from cayla/cf/consistent-arg
...
helm: update cronjob args argument to avoid unmarshal error
2023-08-25 20:29:21 -07:00
Cayla Fauver
c0f9761a61
helm: update cronjob args argument to avoid unmarshal error
...
Make it match both the deployment parallel
33e9a52385/charts/descheduler/templates/cronjob.yaml (L71)
As well as the documented arg
https://github.com/kubernetes-sigs/descheduler/blob/master/docs/user-guide.md#balance-cluster-by-pod-age
2023-08-25 09:13:22 -04:00
Kubernetes Prow Robot
e1dc63bcc7
Merge pull request #1228 from a7i/fix-structured-err
...
fix: structured err logs in eviction
2023-08-25 01:23:17 -07:00
Amir Alavi
8a458e0dcb
fix: structured err logs in eviction
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-08-24 18:18:09 -04:00
Amir Alavi
99246cd254
topologySpreadConstraints: handle nodeTaintsPolicy and nodeAffinityPolicy constraints ( #1218 )
...
* Add handling for node eligibility
* Make tests buildable
* Update topologyspreadconstraint.go
* Updated test cases failing
* squashed changes for test case addition
corrected function name
refactored duplicate TopoContraint check logic
Added more test cases for testing node eligibility scenario
Added 5 test cases for testing scenarios related to node eligibility
* topologySpreadConstraints e2e: `nodeTaintsPolicy` and `nodeAffinityPolicy` constraints
---------
Co-authored-by: Marc Power <marcpow@microsoft.com >
Co-authored-by: nitindagar0 <81955199+nitindagar0@users.noreply.github.com >
2023-08-24 08:32:21 -07:00
Kubernetes Prow Robot
33e9a52385
Merge pull request #1225 from a7i/helm-1.28
...
helm: bump chart to v0.28.0
2023-08-24 05:54:21 -07:00
Amir Alavi
b833607504
helm: bump chart to v0.28.0
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-08-24 08:41:23 -04:00
Kubernetes Prow Robot
bae120929e
Merge pull request #1224 from a7i/docs-1.28
...
k8s 1.28: update docs and go-version
2023-08-23 08:53:29 -07:00
Amir Alavi
30dd78dcee
k8s 1.28: update docs and go-version
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-08-22 20:46:27 -04:00
Kubernetes Prow Robot
1d4dc57ad1
Merge pull request #1221 from antoinedeschenes/fix-profile-span-attribute
...
profile: fix span attribute typo
2023-08-22 15:39:55 -07:00
Antoine Deschênes
3f0c06b58d
profile: fix span attribute typo
...
Fix profile attribute "prpfile" typo in trace spans.
Signed-off-by: Antoine Deschênes <antoine.deschenes@linux.com >
2023-08-22 13:10:20 -04:00
Kubernetes Prow Robot
bb4721049f
Merge pull request #1216 from JaneLiuL/master
...
Bump Kubernetes dependencies to v1.28.0
2023-08-21 07:21:24 -07:00
Amir Alavi
78c9ae851c
upgrade kind to v0.20.0
2023-08-21 10:04:31 -04:00
Kubernetes Prow Robot
9660a7b469
Merge pull request #1202 from a7i/gitattributes
...
.gitattribute to not pollute PRs or stats
2023-08-21 05:09:23 -07:00
JaneLiuL
81aa897c48
Bump Kubernetes dependencies to v1.28.0
2023-08-17 15:59:15 +08:00
Kubernetes Prow Robot
f4c64c2c75
Merge pull request #1215 from Abirdcfly/master
...
fix: descheduler_loop_duration_seconds has wrong value
2023-08-10 01:05:27 -07:00
Abirdcfly
ca5781827a
fix: descheduler_loop_duration_seconds has wrong value
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2023-08-09 21:36:53 +08:00
Jordi Piqué Sellés
31704047c5
feat: Implement preferredDuringSchedulingIgnoredDuringExecution for RemovePodsViolatingNodeAffinity ( #1210 )
...
* feat: Implement preferredDuringSchedulingIgnoredDuringExecution for RemovePodsViolatingNodeAffinity
Now, the descheduler can detect and evict pods that are not optimally
allocated according to the "preferred..." node affinity. It only evicts
a pod if it can be scheduled on a node that scores higher in terms of
preferred node affinity than the current one.
This can be activated by enabling the RemovePodsViolatingNodeAffinity
plugin and passing "preferredDuringSchedulingIgnoredDuringExecution" in
the args.
For example, imagine we have a pod that prefers nodes with label "key1:
value1" with a weight of 10. If this pod is scheduled on a node that
doesn't have "key1: value1" as label but there's another node that has
this label and where this pod can potentially run, then the descheduler
will evict the pod.
Another effect of this commit is that the
RemovePodsViolatingNodeAffinity plugin will not remove pods that don't
fit in the current node but for other reasons than violating the node
affinity. Before that, enabling this plugin could cause evictions on
pods that were running on tainted nodes without the necessary
tolerations.
This commit also fixes the wording of some tests from
node_affinity_test.go and some parameters and expectations of these
tests, which were wrong.
* Optimization on RemovePodsViolatingNodeAffinity
Before checking if a pod can be evicted or if it can be scheduled
somewhere else, we first check if it has the corresponding nodeAffinity
field defined. Otherwise, the pod is automatically discarded as a
candidate.
Apart from that, the method that calculates the weight that a pod
gives to a node based on its preferred node affinity has been
renamed to better reflect what it does.
2023-08-04 03:08:21 -07:00
Kubernetes Prow Robot
1be0ab2bd1
Merge pull request #1207 from a7i/amir/fix-cm-RemoveDuplicates
...
fix: base configmap missing plugin RemoveDuplicates
2023-07-26 07:06:19 -07:00
Amir Alavi
f8442fbb0d
fix: base configmap missing plugin RemoveDuplicates
2023-07-25 22:00:49 -04:00
Kubernetes Prow Robot
f7b7f50b92
Merge pull request #1203 from lucming/aggregate-errors
...
nodefit: aggregate errors
2023-07-24 08:52:13 -07:00
lucming
27a436b98a
aggregate errors
2023-07-24 23:39:26 +08:00
Kubernetes Prow Robot
8f7dea10c1
Merge pull request #1201 from a7i/1.28-beta.0
...
bump to k8s 1.28 beta.0
2023-07-24 06:44:15 -07:00
Amir Alavi
68f43fe591
.gitattribute to not pollute PRs or stats
2023-07-22 11:01:59 -04:00
Amir Alavi
a0cbfcfbca
regenerate docs for cli
2023-07-21 22:16:36 -04:00
Amir Alavi
2a91eda30d
bump to k8s 1.28 beta.0
2023-07-21 22:06:55 -04:00
Kubernetes Prow Robot
06dc26a83e
Merge pull request #1189 from harshanarayana/feature/enable-otel
...
feat: Enable open telemetry tracing
2023-07-18 04:43:10 -07:00
Harsha Narayana
add9d6e897
enable Open telemetry support for descheduler
...
1. Enable OTEL configuration and base framework
2. update generated conversion spec
3. enable docker based conversion and deep copy generate
4. fix broken unit tests
2023-07-18 11:14:21 +05:30
Kubernetes Prow Robot
d9b763a28b
Merge pull request #1186 from knelasevero/fix_priority_name
...
fix priority threshold by name alone
2023-07-10 04:17:08 -07:00
Lucas Severo Alves
3ff38bab59
fix priority threshold by name alone
2023-07-07 16:12:28 +02:00
Kubernetes Prow Robot
ed1554dd19
Merge pull request #1141 from a7i/processing-log-level
...
bump log level for processing info
2023-07-05 10:46:58 -07:00
Jan Chaloupka
931aac9c71
deschedule/balance order (continuation) ( #1177 )
...
* generalise RunDeschedulerLoop and RunProfiles and stabilish deschedule/balance order
* assign nodes outside RunDeschedulerLoop and use instanced profiles
* stop exporting internal profile bits
* refactoring RunProfiles and add methods to Deschduler
* types outside function
* shutdown eventBroadcaster outside NewDescheduler
* all new methods inside descheduler.go
* avoid exporting all Descheduler fields
* Address review comments
---------
Co-authored-by: Lucas Severo Alves <lucassalves65@gmail.com >
2023-06-21 06:37:40 -07:00
Kubernetes Prow Robot
a497541f39
Merge pull request #1174 from ingvagabund/bump-fake-watch-channel-size
...
FakeClientset: bump watch channel size
2023-06-20 10:58:21 -07:00
Amir Alavi
333b5cfbb6
bump log level for processing info
2023-06-16 08:39:05 -04:00
Kubernetes Prow Robot
eb2372137e
Merge pull request #1148 from a7i/tsc-constraints
...
removepodsviolatingtopologyspreadconstraint: implement explicit constraints
2023-06-16 05:36:23 -07:00
Amir Alavi
7f2f6f2b16
removepodsviolatingtopologyspreadconstraint: implement explicit constraints
2023-06-16 08:20:26 -04:00
Amir Alavi
5f0edb5f93
removepodsviolatingtopologyspreadconstraint: topologyBalanceNodeFit to control whether to perform nodefit when balacning domains
2023-06-16 07:56:32 -04:00
Amir Alavi
f5a7f716b3
use pod informers for listing pods in removepodsviolatingtopologyspreadconstraint and removepodsviolatinginterpodantiaffinity ( #1163 )
...
* use pod informers for listing pods in removepodsviolatingtopologyspreadconstraint and removepodsviolatinginterpodantiaffinity
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
* workaround in topologyspreadconstraint test to ensure that informer's index returns pods sorted by name
---------
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-06-15 23:30:19 -07:00
Kubernetes Prow Robot
5163ac3ace
Merge pull request #1173 from jongwooo/chore/replace-deprecated-command-with-environment-file
...
Replace deprecated command with environment file
2023-06-15 06:52:19 -07:00
Jan Chaloupka
4c272e6ea2
FakeClientset: bump watch channel size
...
Huge clusters with thousands of pods can quickly exceed the default
watch channel size of the fake clientset. Causing the channel
to panic with "channel full".
2023-06-15 11:07:09 +02:00
Jongwoo Han
c637b7f0e6
Replace deprecated command with environment file
2023-06-15 12:12:44 +09:00
Kubernetes Prow Robot
5462a599af
Merge pull request #1165 from a7i/toomanyrestarts-CrashLoopBackOff
...
TooManyRestart: state filter for CrashLoopBackOff
2023-06-13 09:47:59 -07:00
Kubernetes Prow Robot
7dcd7fa50f
Merge pull request #1166 from a7i/pause-image
...
update pause image from 'kubernetes/pause' to 'registry.k8s.io/pause'
2023-06-08 01:46:13 -07:00
Amir Alavi
6271d51125
update pause image from 'kubernetes/pause' to 'registry.k8s.io/pause'
2023-06-07 23:32:31 -04:00
Amir Alavi
0bdbf51eb2
Move CrashLoopBackOff container state from PodLifeTime to TooManyRestarts plugin
2023-06-07 23:29:11 -04:00
Amir Alavi
9aad51f328
Revert "Merge pull request #1164 from a7i/podlifetime-CrashLoopBackOff"
...
This reverts commit 699297711a , reversing
changes made to 877d9b18ee .
2023-06-07 21:00:47 -04:00
Kubernetes Prow Robot
699297711a
Merge pull request #1164 from a7i/podlifetime-CrashLoopBackOff
...
PodLifeTime: support CrashLoopBackOff container state
2023-06-07 10:46:13 -07:00
Amir Alavi
1b976529bc
PodLifeTime: support CrashLoopBackOff container state
2023-06-06 18:21:43 -04:00
10hin
877d9b18ee
pod anti-affinity check among nodes ( #1033 )
...
* pod anti-affinity check among nodes
* avoid pod equality check with UID field
also add node equality check with Name for short-cut
* add test case for anti-affinity violation among different node
* reduce ListPodsOnANode call
* fix old code
* apply gofumpt -w -extra
move klog/v2 import entry to bottom according to master code
2023-06-05 05:21:25 -07:00
Nicolas Lamirault
b58ec3b458
Custom labels for ServiceMonitor resource ( #1147 )
...
* Add: Custom labels for ServiceMonitor resource
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com >
* Fix: indentation
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com >
---------
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com >
2023-05-31 06:41:46 -07:00
Kubernetes Prow Robot
e94a6f129a
Merge pull request #1160 from a7i/chart-v0.27.1
...
bump chart to v0.27.1
2023-05-31 01:29:46 -07:00
Kubernetes Prow Robot
1b22e102ce
Merge pull request #1159 from mikutas/missing-header
...
docs: supplement missing link
2023-05-30 17:47:45 -07:00
Amir Alavi
a35e3f49b4
bump chart to v0.27.1
2023-05-30 09:19:11 -04:00
mikutas
9313041d77
docs: supplement missing link
2023-05-30 17:09:47 +09:00
Kubernetes Prow Robot
83c81e6b58
Merge pull request #1150 from a7i/fix-imagepullsecrets-indent
...
fix: imagepullsecrets indentation for kind: Deployment
2023-05-25 18:24:51 -07:00
Kubernetes Prow Robot
eb356fe6ff
Merge pull request #1151 from a7i/helm-arg-cmd
...
helm: ability to override command and args. set args inline
2023-05-25 00:12:51 -07:00
Amir Alavi
a62bb54a3a
helm: ability to override command and args. set args inline
2023-05-16 13:02:09 -04:00
Amir Alavi
92017d0fdd
fix: imagepullsecrets indentation for kind: Deployment
2023-05-16 12:48:05 -04:00
Kubernetes Prow Robot
476bee3424
Merge pull request #1146 from a7i/generic-sets
...
update deprecated sets.String to generic sets
2023-05-12 06:29:02 -07:00
Kubernetes Prow Robot
b630ecaaf7
Merge pull request #1145 from ratnopamc/deprecate-k8s-release-url
...
Use dl.k8s.io instead of kubernetes-release bucket
2023-05-11 19:50:46 -07:00
Amir Alavi
359b38a34c
update deprecated sets.String to generic sets
2023-05-11 22:35:44 -04:00
Ratnopam Chakrabarti
2c525afc76
Use dl.k8s.io instead of kubernetes-release bucket
2023-05-11 15:30:26 +00:00
Amir Alavi
e2826fa66c
fix plugin arg conversion when using multiple profiles with same plugin ( #1143 )
...
* fix plugin arg conversion when using multiple profiles with same plugin
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
* PR feedback to refactor validateDeschedulerConfiguration error handling
---------
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-05-11 08:25:03 -07:00
Kubernetes Prow Robot
0f5a5a2235
Merge pull request #1096 from a7i/version-compatibility-test
...
add unit tests for version compatibility check
2023-05-09 01:38:55 -07:00
Amir Alavi
1f6a736aab
add unit tests for version compatibility check
2023-05-05 14:57:43 -04:00
Kubernetes Prow Robot
8cbbe5501b
Merge pull request #1137 from a7i/gha-1.27
...
update helm github action workflow to v0.27.0
2023-05-05 08:25:13 -07:00
Amir Alavi
dd63aac88c
update helm github action workflow
2023-05-05 10:11:41 -04:00
Amir Alavi
4cae47fc70
update helm chart to v0.27.0 ( #1136 )
...
* update helm chart to v0.27.0
* update manifest version and docs
* fix 1.27 release version from README.md
Co-authored-by: Mike Dame <mikedame@google.com >
---------
Co-authored-by: Mike Dame <mikedame@google.com >
2023-05-05 07:09:12 -07:00
Kubernetes Prow Robot
eeafdb253a
Merge pull request #1116 from a7i/docs-1.27
...
k8s 1.27: update docs and README
2023-05-03 18:46:44 -07:00
Amir Alavi
e328b5ec53
k8s 1.27: update docs and README
2023-05-02 13:04:41 -04:00
Kubernetes Prow Robot
5ba1fef671
Merge pull request #1129 from yanggangtony/code-clean
...
Do some code cleans.
2023-05-02 04:36:12 -07:00
yanggang
71fb4a2117
Do some code cleans.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-05-01 23:09:33 +08:00
Kubernetes Prow Robot
776f196569
Merge pull request #1135 from AllenZMC/fix-policy-yaml
...
fix policy example configmap
2023-05-01 00:04:17 -07:00
czm
51ddd817e8
fix policy example configmap
...
Signed-off-by: czm <czm1192198606@live.com >
2023-04-29 17:12:32 +08:00
Kubernetes Prow Robot
773cb54e57
Merge pull request #1133 from damemi/missing-quote
...
Add missing quote to configmap
2023-04-28 07:44:16 -07:00
Mike Dame
753812a679
Add missing quote to configmap
2023-04-28 14:29:09 +00:00
Kubernetes Prow Robot
109650621a
Merge pull request #1132 from damemi/docs-version-note
...
Add note on documentation versions with links
2023-04-28 02:18:23 -07:00
Kubernetes Prow Robot
c7a025237e
Merge pull request #1127 from ingvagabund/update-documents-evict-ep
...
Drop remaining mentions of evict extension point
2023-04-28 02:18:16 -07:00
Kubernetes Prow Robot
01f5cc9f6d
Merge pull request #1130 from knelasevero/add_approver
...
Add knelasevero to approvers
2023-04-26 23:18:15 -07:00
Mike Dame
d6d93f4d2f
Add note on documentation versions with links
2023-04-26 17:12:35 +00:00
Lucas Severo Alves
6ee8344d9a
add knelasevero to approvers
2023-04-26 17:00:12 +02:00
Kubernetes Prow Robot
748bf31d6f
Merge pull request #1122 from damemi/issue-1121
...
Add json tags to internal api fields
2023-04-26 07:00:15 -07:00
Jan Chaloupka
4565184481
Drop remaining mentions of evict extension point
2023-04-26 09:59:49 +02:00
Mike Dame
d9316d1872
Add json tags to internal fields and basic config test
2023-04-24 12:54:43 +00:00
Kubernetes Prow Robot
a7113dab50
Merge pull request #1120 from ingvagabund/remove-evict-extension-point
...
Drop Evict extension point
2023-04-24 05:43:01 -07:00
Jan Chaloupka
76e7e4f57b
Drop Evict extension point
...
The Evict extension point is not currently in use.
All DefaultEvictor plugin functionality is exposed through Filter and
PreEvictionFilter extension points instead.
Thus, no need to limit the number of evictors enabled.
2023-04-20 17:52:40 +02:00
Kubernetes Prow Robot
e8c099c6d3
Merge pull request #1109 from a7i/amir/update-0.26.1-refs
...
update v0.26.1 references
2023-04-12 07:22:32 -07:00
Amir Alavi
ac2b727fe3
bump to k8s 1.27 ( #1115 )
...
* bump to k8s 1.27
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
* bump go version to 1.20.3
* bump k8s version and kine for e2e
---------
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-04-12 07:08:32 -07:00
Kubernetes Prow Robot
5c69cdad29
Merge pull request #1112 from yanggangtony/fix-error-msg-for-cachedClient
...
Fix typo log message for cachedClient
2023-04-06 20:17:15 -07:00
yanggang
e96c570ff4
Fix typo log message for cachedClient
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-07 09:31:47 +08:00
Kubernetes Prow Robot
ae24dceaae
Merge pull request #1111 from yanggangtony/delete-ioutil
...
Delete "io/ioutil" package.
2023-04-06 06:43:48 -07:00
yanggang
aef6c05032
Delete "io/ioutil" package.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-06 11:29:22 +08:00
Kubernetes Prow Robot
ce0d31fd5f
Merge pull request #1097 from ingvagabund/list-of-extension-points
...
Populate extension points automatically for deschedule, balance, filter and preEvictionFilter
2023-04-03 08:17:51 -07:00
Jan Chaloupka
3510aba01d
Detect individual extension points from plugin types
...
- Populate extension points automatically from plugin types
- Make a list of enabled extension points based on a profile
configuration
- Populate filter and pre-eviction filter handles from their
corresponding extension points
2023-04-03 17:04:31 +02:00
Amir Alavi
2bf7ab8f2a
update v0.26.1 references
2023-04-03 10:09:24 -04:00
Kubernetes Prow Robot
347f89533c
Merge pull request #1105 from yanggangtony/fix-notes-for-podutil
...
fix go doc for method IsPodWithPVC
2023-04-03 06:19:51 -07:00
Kubernetes Prow Robot
e972f4c1ed
Merge pull request #1100 from a7i/1.27-rc0
...
bump to k8s 1.27 rc0
2023-04-03 06:03:54 -07:00
Kubernetes Prow Robot
ed611052cf
Merge pull request #1104 from yanggangtony/fix-default-plugin
...
fix default value assignment of EvictLocalStoragePods
2023-04-02 14:47:51 -07:00
yanggang
4955ed5353
fix IsPodWithPVC func notes.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-02 08:49:52 +08:00
yanggang
90905d2c21
fix if condition for the right value of EvictLocalStoragePods
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-02 08:13:01 +08:00
Kubernetes Prow Robot
aba0064d49
Merge pull request #1103 from yanggangtony/cmd-corba-args-to-uppercase-letter
...
dry-run cli flag to use uppercase
2023-03-31 17:47:48 -07:00
yanggang
feb8989468
Make cobra args help info to uppercase.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-01 08:26:09 +08:00
Jan Chaloupka
3897ff069f
Extend PluginRegistry with plugin type
2023-03-30 10:55:59 +02:00
Kubernetes Prow Robot
208f78c6dc
Merge pull request #1101 from a7i/bump-golangci
...
bump golangci for go 1.20
2023-03-27 07:10:29 -07:00
Amir Alavi
d5b7c362dc
fix gofumpt violation
2023-03-25 11:08:07 -04:00
Amir Alavi
b16092f5a7
bump golangci for go 1.20
2023-03-25 10:52:59 -04:00
Amir Alavi
6f350ceb12
bump to k8s 1.27 rc0
2023-03-25 10:42:51 -04:00
Jan Chaloupka
757661110a
Move framework types under framework/types
2023-03-23 19:00:55 +01:00
Jan Chaloupka
bcc6c8eb2a
Descheduling profile with PoC fake plugin ( #1093 )
...
* Descheduling profile
* Fake plugin + profile unit testing
* Rename Profile config type into DeschedulerProfile
To avoid resamblance with profileImpl
* First run deschedule, then balance extension points
2023-03-23 09:14:33 -07:00
Kubernetes Prow Robot
0872b214ff
Merge pull request #1090 from dangen-effy/patch-1
...
docs: typo
2023-03-14 21:16:16 -07:00
dangen
95759f7bb6
docs: typo
...
Plugion to Plugin
2023-03-14 16:49:32 +09:00
Kubernetes Prow Robot
a86345ec97
Merge pull request #1063 from JaneLiuL/master
...
Add k8s compatibility warnings to logs
2023-03-13 18:05:12 -07:00
Kubernetes Prow Robot
2b15be7f40
Merge pull request #937 from a7i/remove-e2e-helm-action
...
remove e2e tests from helm github action
2023-03-13 13:16:50 -07:00
Amir Alavi
54d80de507
remove e2e tests from helm github action
2023-03-13 09:55:43 -04:00
JaneLiuL
7068fc6082
Add k8s compatibility warnings to logs
2023-03-13 19:30:40 +08:00
Kubernetes Prow Robot
85e9f86e85
Merge pull request #1066 from JaneLiuL/securitycontext
...
expose security context from helm chart
2023-03-09 17:32:32 -08:00
Kubernetes Prow Robot
710611527c
Merge pull request #1075 from damemi/gke-optimize-utilization-readme
...
Add note to HighNodeUtilization readme for GKE users
2023-03-08 06:33:15 -08:00
Mike Dame
25d1508485
Add note to HighNodeUtilization readme for GKE users
2023-03-08 12:59:21 +00:00
Kubernetes Prow Robot
0fdb620db7
Merge pull request #1072 from JannikSt/master
...
Fix typo in nodeutilization types
2023-03-06 06:04:30 -08:00
Jannik Straube
176d3ac024
Fix typo in nodeutilization types
2023-03-06 10:31:32 +01:00
Gaurav Dasson
c6e5cd41de
Adding descheduler policy API Version option in helm templates ( #1068 )
...
* Adding descheduler policy API Version option
in helm templates
* Updating comment for deschedulerPolicyAPIVersion
field
* Making v1alpha1 the default api version
2023-03-03 07:44:59 -08:00
Kubernetes Prow Robot
ab18575b15
Merge pull request #1057 from xiaoanyunfei/bugfix/podnum
...
check pod number
2023-03-02 05:40:56 -08:00
JaneLiuL
12965c4660
expose securityContext
2023-03-01 11:14:59 +08:00
Kubernetes Prow Robot
e51e8b831f
Merge pull request #1059 from lucming/code-cleanup
...
remove some logic useless
2023-02-16 17:49:38 -08:00
sunxiaofei
b9ddbf12ed
fitsRequest check pod num
2023-02-16 20:20:38 +08:00
lucming
02b1e8b8b9
remove some logic useless
2023-02-16 17:25:00 +08:00
Lucas Severo Alves
463158f7dc
v1alpha2 docs ( #1049 )
...
* v1alph2 docs
* remove internal toc (gh has this natively)
* fix typo and newlines
* name plugins with less confusing names
* add type column
* fix kv selector and nodeSelector desc
* group plugin types in a table
* link the deprecated doc
* warning signs
2023-02-13 18:45:30 -08:00
Harsha Narayana
93a014ef5e
metrics: enable loop duration and strategy duration metrics ( #1041 )
...
* metrics: enable loop duration and strategy duration metrics
* metrics: enable loop duration and strategy duration metrics
2023-02-03 20:08:28 -08:00
Kubernetes Prow Robot
904b8835e1
Merge pull request #1051 from gustavomfc/fix/conversion_v1alpha1_
...
Fix v1alpha1 conversion to use universal decoder
2023-02-03 06:40:30 -08:00
gustavo.carneiro
2470252841
Copyright date from 2022 to 2023
...
Signed-off-by: Gustavo Carneiro <gustavo.mfc@icloud.com >
2023-01-30 13:05:58 -03:00
gustavo.carneiro
82cbc15380
Fix v1alpha1 conversion to use universal decoder
2023-01-30 12:53:18 -03:00
Kubernetes Prow Robot
b5c3d2bfd1
Merge pull request #1048 from harshanarayana/enable-docs-auto-gen
...
enable auto generation of the documents
2023-01-24 06:08:17 -08:00
Harsha Narayana
87925e4457
enable auto generation of the documents
2023-01-24 08:55:52 +05:30
Kubernetes Prow Robot
49f60bfc43
Merge pull request #1034 from a7i/client-connection
...
support client connection configuration to provide QPS and burst
2023-01-18 11:26:34 -08:00
Lucas Severo Alves
137f3b20dc
add v1alpha2 registry based conversion ( #1006 )
...
* add v1alpha2 registry based conversion
* test defaults, set our 1st explicit default
* fix typos and dates
* move pluginregistry to its own dir
* remove unused v1alpha2.Namespace type
* move migration code folders, remove switch
* validate internalPolicy a single time
* remove structured logs
* simplify return
* check for nil methods
* properly check before adding default evictor
* add TODO comment
* bump copyright year
2023-01-17 08:10:34 -08:00
Kubernetes Prow Robot
861c6325f3
Merge pull request #1038 from damemi/0.26.0-helm-chart
...
Update helm chart to v0.26.0
2023-01-13 07:58:25 -08:00
Kubernetes Prow Robot
549fb88dac
Merge pull request #1042 from a7i/revert-995-split_help_argument_in_dockerfile
...
Revert "Split CMD into ENTRYPOINT and CMD for Dockerfile"
2023-01-11 07:39:46 -08:00
Amir Alavi
03747b0794
Revert "Split CMD into ENTRYPOINT and CMD for Dockerfile"
2023-01-11 10:17:46 -05:00
Kubernetes Prow Robot
37e64abab8
Merge pull request #995 from Bobonium/split_help_argument_in_dockerfile
...
Split CMD into ENTRYPOINT and CMD for Dockerfile
2023-01-09 00:27:29 -08:00
Amir Alavi
46e43a07bf
support client connection configuration to provide QPS and burst
2023-01-05 22:00:33 -05:00
Mike Dame
17ab593677
Update helm chart to v0.26.0
2023-01-05 18:08:46 +00:00
Kubernetes Prow Robot
e6580b97a8
Merge pull request #1035 from a7i/copyright-2023
...
update license year boilerplate by running make gen
2023-01-04 10:26:00 -08:00
Amir Alavi
923921a1aa
update license year by running make gen
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-01-04 13:09:50 -05:00
Jochen Dick
646e2a72be
Update Dockerfile
...
remove redundant empty line from end of file
Co-authored-by: Amir Alavi <amiralavi7@gmail.com >
2022-12-28 10:06:55 +01:00
Kubernetes Prow Robot
a7c16d92fa
Merge pull request #1015 from JaneLiuL/master
...
bump to k8s 1.26
2022-12-27 19:13:27 -08:00
Kubernetes Prow Robot
ca79c2679d
Merge pull request #1030 from my-git9/cleanup/ioutil
...
cleanup: remove ioutil for new go version
2022-12-26 08:27:27 -08:00
xin.li
e73634f04d
cleanup: remove ioutil for new go version
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-26 10:52:18 +08:00
Kubernetes Prow Robot
3c80f33bb0
Merge pull request #1029 from a7i/revert-1019-parallel-docker-build
...
Revert "parallelize docker build for each arch"
2022-12-22 06:03:26 -08:00
Amir Alavi
1a37c0800e
Revert "parallelize docker build for each arch"
2022-12-21 23:09:33 -05:00
Kubernetes Prow Robot
6233b6c06e
Merge pull request #1028 from damemi/one-hour-timeout
...
Increase cloud build timeout to 1 hour
2022-12-21 08:23:25 -08:00
Mike Dame
6f0ef883da
Increase cloud build timeout to 1 hour
2022-12-21 15:05:48 +00:00
Kubernetes Prow Robot
63813c9d3b
Merge pull request #1023 from a7i/increase-build-timeout
...
increase cloudbuild timeout to 30 minutes until we figure out proper optimizations
2022-12-14 09:03:36 -08:00
Amir Alavi
bf72cf52c1
increase cloudbuild timeout to 30 minutes until we figure out proper optimizations
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-12-14 10:57:46 -05:00
Kubernetes Prow Robot
3d706640bc
Merge pull request #1018 from a7i/docs-1.26
...
update version references in docs and readme
2022-12-14 06:43:35 -08:00
Kubernetes Prow Robot
849d8762be
Merge pull request #1019 from a7i/parallel-docker-build
...
parallelize docker build for each arch
2022-12-14 05:59:35 -08:00
Amir Alavi
1f682685ef
parallelize docker build for archs
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-12-14 08:41:48 -05:00
Kubernetes Prow Robot
70d917a624
Merge pull request #1022 from ism-k/master
...
Allow a setting option `ttlSecondsAfterFinished` for job
2022-12-14 04:29:33 -08:00
ism-k
29f48e8c3c
♻️ format README
2022-12-14 13:12:52 +09:00
ism-k
d7a4c221a3
♻️ update information
2022-12-14 13:12:24 +09:00
ism-k
8dbd44c467
👍 Allow setting options ttlSecondsAfterFinished
2022-12-14 13:09:32 +09:00
Amir Alavi
4d04018c93
update version references in docs and readme
2022-12-12 20:51:16 -05:00
Kubernetes Prow Robot
9f6afd4d25
Merge pull request #1016 from knelasevero/logo-readme
...
logo in readme
2022-12-12 17:47:33 -08:00
Lucas Severo Alves
97c22e1e4b
logo in readme
2022-12-12 16:19:22 +01:00
Kubernetes Prow Robot
c418736f6e
Merge pull request #1012 from a7i/go-1.19.3
...
Go 1.19.3
2022-12-12 05:03:34 -08:00
JaneLiuL
d73b33040f
bump to k8s 1.26
2022-12-12 11:44:28 +08:00
Amir Alavi
9e1805d9e1
bump go version to 1.19.3
2022-12-06 11:21:25 -05:00
Kubernetes Prow Robot
329c77ab54
Merge pull request #1010 from a7i/1.26-rc
...
bump to k8s 1.26-rc.1
2022-12-05 20:24:45 -08:00
Amir Alavi
456248d4ba
bump to k8s 1.26-rc.1
2022-12-03 18:04:46 -05:00
Lucas Severo Alves
da8b145980
use plugin registry and prepare for conversion ( #1003 )
...
* use plugin registry and prepare for conersion
* Register plugins explicitly to a registry
* check interface impl instead of struc var
* setup plugins at top level
* treat plugin type combinations
* pass registry as arg of V1alpha1ToInternal
* move registry yet another level up
* check interface type separately
2022-12-01 06:05:54 -08:00
Jan Chaloupka
6e953b2ff3
Separate migration of strategy configuration from the constructing and running the plugins ( #999 )
...
* Remove log level from Errors
Every error printed via Errors is expected to be important and always
printable.
* Invoke first Deschedule and then Balance extension points (breaking change)
* Separate plugin arg conversion from pluginsMap
* Seperate profile population from plugin execution
* Convert strategy params into profiles outside the main descheduling loop
Strategy params are static and do not change in time.
* Bump the internal DeschedulerPolicy to v1alpha2
Drop conversion from v1alpha1 to internal
* add tests to v1alpha1 to internal conversion
* add tests to strategyParamsToPluginArgs params wiring
* in v1alpha1 evictableNamespaces are still Namespaces
* add test passing in all params
Co-authored-by: Lucas Severo Alves <lseveroa@redhat.com >
2022-11-14 08:48:41 -08:00
Kubernetes Prow Robot
d997be59a9
Merge pull request #969 from Dentrax/gofumpt
...
run: `gofumpt -w -extra .`
2022-11-08 10:26:19 -08:00
Kubernetes Prow Robot
7bf60cd01e
Merge pull request #1000 from knelasevero/patch-1
...
add myself to reviewers
2022-11-08 07:19:23 -08:00
Lucas Severo Alves
ac8adfbb09
add myself to reviewers
2022-11-08 13:39:55 +01:00
Furkan
99868a41de
run: gofumpt -w -extra .
...
Enable gofumpt in golangci
Signed-off-by: Furkan <furkan.turkal@trendyol.com >
2022-11-07 09:11:27 +03:00
Kubernetes Prow Robot
f938ac5e87
Merge pull request #998 from damemi/registry-k8s-io
...
Switch to registry.k8s.io
2022-11-04 02:48:14 -07:00
Mike Dame
dfb1dbc91f
Switch to registry.k8s.io
2022-11-03 13:23:00 +00:00
Kubernetes Prow Robot
ba6b2b97d9
Merge pull request #853 from Dentrax/dry-run-warning
...
add warning when enabling both dryRun and leaderElection
2022-11-02 15:49:01 -07:00
Furkan
fa1f7969d1
add warning when enabling both dryRun and leaderElection
...
Signed-off-by: Furkan <furkan.turkal@trendyol.com >
Co-authored-by: Emin <emin.aktas@trendyol.com >
2022-11-02 19:50:22 +03:00
Kubernetes Prow Robot
5641fa335a
Merge pull request #967 from knelasevero/pre-ev-namespace-filter
...
add namespace filter to nodeutilization
2022-10-30 07:48:43 -07:00
Lucas Severo Alves
398ffa7ee0
add namespace filter to nodeutilization
2022-10-30 00:52:30 +02:00
Bobonium
4d203c5e0c
Split CMD into ENTRYPOINT and CMD for Dockerfile
...
--help is now an CMD which means explicitly providing a command override in kubernetes is no longer required. You can now simply provide the necessary arguments
2022-10-27 12:33:00 +02:00
Kubernetes Prow Robot
6481f1bc38
Merge pull request #993 from wakeful/fix-json-log
...
correct JSON log format
2022-10-25 02:18:35 -07:00
AJ
3067d2b311
correct JSON log format
2022-10-25 10:53:24 +02:00
Kubernetes Prow Robot
7777d5aa40
Merge pull request #990 from damemi/add-api-group
...
Update helm chart rolebinding to use events.k8s.io
2022-10-19 17:00:56 -07:00
Kubernetes Prow Robot
30aab9c0ae
Merge pull request #982 from damemi/fix-verify-scripts
...
Update verify scripts to use the generation scripts directly
2022-10-18 10:25:19 -07:00
Kubernetes Prow Robot
894bfe5e2e
Merge pull request #975 from madeelibm/add-scc-e2e-tests
...
add restricted security policy to e2e test pods
2022-10-18 06:17:19 -07:00
Muhammad Adeel
76a0014707
add restricted security policy to e2e test pods
...
add RunAsUser and RunAsGroup to PSC
Signed-off-by: Muhammad Adeel <muhammad.adeel@ibm.com >
2022-10-18 15:01:12 +02:00
Kubernetes Prow Robot
3f53c0b4ea
Merge pull request #988 from spike-liu/find-dirs-containing_comment_tags
...
Fix wired behavior during code generating
2022-10-17 10:49:07 -07:00
Kubernetes Prow Robot
121ea1ba5f
Merge pull request #987 from ingvagabund/readme-eviction-annotation
...
README: be more explicit about scope of the descheduler.alpha.kubernetes.io/evict annotation
2022-10-17 06:25:07 -07:00
Mike Dame
8d1d240473
Update helm chart rolebinding to use events.k8s.io
2022-10-17 13:14:31 +00:00
vlc刘诚
9a120ddc68
exclude files & folders under _tmp folder during code-generator and remove redundant path replacement to keep the consistent logic with verify-xx.sh
2022-10-17 18:41:06 +08:00
Jan Chaloupka
28e0965eeb
README: be more explicit about scope of the descheduler.alpha.kubernetes.io/evict annotation
2022-10-17 10:47:47 +02:00
Mike Dame
f2b674e690
Update verify scripts to use the generation scripts directly
2022-10-13 17:07:04 +00:00
Kubernetes Prow Robot
c2ab28b79a
Merge pull request #973 from Nordix/fix-kkustomize-link/furkat
...
📖 Fix broken kustomize reference in the root README
2022-10-07 00:21:53 -07:00
Furkat Gofurov
7bed6456d1
Fix broken kustomize reference in the root README
2022-10-06 22:00:10 +03:00
Kubernetes Prow Robot
bed8693c69
Merge pull request #971 from sanposhiho/patch-1
...
doc: fix a markdown's style on user-guide
2022-10-06 07:09:52 -07:00
Kensei Nakada
4fb781ae7c
doc: fix a markdown's style on user-guide
2022-10-06 14:48:32 +09:00
Kubernetes Prow Robot
7c7e1b9cdc
Merge pull request #953 from a7i/ct-kind-deployment
...
set helm-extra-set-args as inline command arg
2022-09-28 01:27:36 -07:00
Kubernetes Prow Robot
da3ebb7293
Merge pull request #961 from vholer/issue-960
...
includeSoftConstraints not being respected for TopologySpreadConstraint
2022-09-27 03:57:50 -07:00
Kubernetes Prow Robot
9e2c323aa9
Merge pull request #954 from spike-liu/master
...
Plugin arguments defaulting + moving plugin arguments to each corresponding plugin #925
2022-09-27 03:21:51 -07:00
Vlastimil Holer
7349b398e5
includeSoftConstraints not being respected for TopologySpreadConstraint
...
Issue #960
Signed-off-by: Vlastimil Holer <vh@fortrabbit.com >
2022-09-26 13:44:34 +02:00
Kubernetes Prow Robot
1d79f8761f
Merge pull request #956 from xiaoanyunfei/bugfix/informerfactory
...
fix sharedInformerFactory register
2022-09-26 04:39:44 -07:00
vlc刘诚
ac0261fafb
fix pull-descheduler-verify-master build error
2022-09-24 09:29:42 +08:00
vlc刘诚
bfb688e016
RemovePodsViolatingTopologySpreadConstraintArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
0d8106a32d
RemovePodsViolatingNodeTaintsArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
7b1ddf1edb
RemovePodsViolatingNodeAffinityArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
28ed86f079
RemovePodsViolatingInterPodAntiAffinityArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
fa874844a1
RemovePodsHavingTooManyRestartsArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
63396d4afc
RemoveFailedPodsArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
acc267b0b3
RemoveDuplicatesArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
1d3e130366
PodLifeTimeArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
35aff52ec4
NodeUtilizationArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
a665a7b4e6
DefaultEvictorArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
2b1746cda8
+ new line & automatic file scan mechanism for conversions/defaulters gen
2022-09-23 11:32:38 +08:00
vlc刘诚
96c03a3f97
Replace hard-code input-dirs with automatic file scan mechanism
2022-09-23 11:32:38 +08:00
vlc刘诚
3d28b85212
remove unused file: validation_pluginargs.go
2022-09-23 11:32:38 +08:00
vlc刘诚
9eb4c350d8
e2e_test fixing
2022-09-23 11:32:38 +08:00
vlc刘诚
dc04abc0e6
RemovePodsViolatingTopologySpreadConstraint defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
5a755e73f2
RemovePodsViolatingNodeTaints defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
a000bfa796
RemovePodsViolatingNodeAffinity defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
3007448bdb
RemovePodsViolatingInterPodAntiAffinity defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
b9a89196f2
RemovePodsHavingTooManyRestarts defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
78c3260692
RemoveDuplicates defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
0c88326df9
PodLifeTime defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
3b1cdcd442
NodeUtilization defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
8d471baf3e
RemoveFailedPods defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
Kubernetes Prow Robot
e31f4aac00
Merge pull request #957 from aslafy-z/patch-1
...
feat: show nodename in evicted events
2022-09-22 07:57:05 -07:00
Zadkiel Aharonian
ad82adf245
feat: show nodename in evicted events
2022-09-22 15:00:19 +02:00
sunxiaofei
c10e6d6c12
fix sharedInformerFactory register
2022-09-22 16:02:13 +08:00
Kubernetes Prow Robot
3e385d9504
Merge pull request #955 from knelasevero/pre-ev-filter
...
add PreEvictionFilter extension to DefaultEvictor Plugin
2022-09-20 09:17:20 -07:00
Lucas Severo Alves
edec8fe010
add PreEvictionFilter extension to DefaultEvictor Plugin
2022-09-20 17:29:41 +02:00
Amir Alavi
a85f2cf6f5
set helm-extra-set-args as inline command arg
2022-09-18 20:58:33 -04:00
Kubernetes Prow Robot
15045c5dcb
Merge pull request #952 from liangyuanpeng/Fix_contributor_readme
...
Fix wrong command on contributor-guide.md
2022-09-18 08:22:29 -07:00
Lan Liang
6c4d1a900d
Fix wrong command on contributor-guide.md
2022-09-18 13:51:09 +08:00
Kubernetes Prow Robot
59834cf8a7
Merge pull request #936 from pravarag/update-helm-chart-v1.25
...
Update helm chart version to v1.25.0
2022-09-14 09:03:00 -07:00
Kubernetes Prow Robot
82ed18fd2b
Merge pull request #947 from eminaktas/metric-label-fix
...
feat: change DeschedulerVersion and GitVersion labels
2022-09-12 12:23:05 -07:00
eminaktas
2c17af79f4
feat: change DeschedulerVersion and GitVersion labels
...
This commit changes build_info metric labels
- AppVersion label will show major+minor version
for example 0.24.1
minor version numbers and commit hash
Signed-off-by: eminaktas <eminaktas34@gmail.com >
2022-09-12 21:36:40 +03:00
Kubernetes Prow Robot
72bf50fde6
Merge pull request #929 from knelasevero/ev-filter-plugin
...
Add new DefaultEvictor plugin with args
2022-09-12 09:21:24 -07:00
Lucas Severo Alves
f47c2c4407
add new preevectionfilter plugin with args
2022-09-12 16:56:21 +02:00
Kubernetes Prow Robot
16619fcf44
Merge pull request #931 from a7i/amir/v1beta1
...
remove TODO comments for cronjob v1beta1 support
2022-09-12 05:07:25 -07:00
Kubernetes Prow Robot
0317be1b76
Merge pull request #935 from pravarag/update-docs-1.25-release
...
Update docs & manifests for v0.25.0
2022-09-08 06:49:45 -07:00
Kubernetes Prow Robot
d8bac08592
Merge pull request #945 from gallowaystorm/patch-1
...
feat: add RemovePodsHavingTooManyRestarts to values.yaml
2022-09-07 18:22:06 -07:00
Storm Galloway
d14df1fedf
feat: add RemovePodsHavingTooManyRestarts to yaml
...
This does the following:
1. Enables RemovePodsHavingTooManyRestarts when using Helm by default (it is not currently)
2. Adds RemovePodsHavingTooManyRestarts to the values.yaml for clearer configs
2022-09-07 14:42:35 -05:00
Kubernetes Prow Robot
8a769603a6
Merge pull request #928 from a7i/podlifetime-states-version-clarification
...
clarify which version PodLifeTime introduced states parameter and deprecated podStatusPhases
2022-09-07 09:40:37 -07:00
Kubernetes Prow Robot
137a6b999f
Merge pull request #943 from gallowaystorm/patch-1
...
Add RemovePodsViolatingTopologySpreadConstraint to values.yaml
2022-09-06 19:58:37 -07:00
Storm Galloway
334b4bb12c
Add RemovePodsViolatingTopologySpreadConstraint to values.yaml
...
- add RemovePodsViolatingTopologySpreadConstraint yaml to values.yaml to make chart config clearer
2022-09-06 12:47:06 -05:00
Kubernetes Prow Robot
5a2a180f17
Merge pull request #938 from a7i/remove-kubectl-dep
...
remove dependency on kubectl
2022-09-06 09:33:52 -07:00
Amir Alavi
1265b4c325
remove dependency on kubectl
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-09-06 10:47:22 -04:00
Kubernetes Prow Robot
ea8e648cfb
Merge pull request #933 from a7i/1.25-rc.0
...
Bump to k8s 1.25
2022-09-06 07:30:56 -07:00
Amir Alavi
e8fae9a3b7
remove pod security policy; additional policy/v1beta1 cleanup; use informers for descheduler unit tests
...
update go to 1.19 and helm kubernetes cluster to 1.25
bump -rc.0 to 1.25 GA
bump k8s utils library
bump golang-ci
use go 1.19 for helm github action
upgrade kubectl from 0.20 to 0.25
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-09-04 10:30:40 -04:00
JaneLiuL
c9b0fbe467
Bump to k8s 1.25-rc.0
2022-09-03 09:57:56 -04:00
Pravar Agrawal
66694bb767
update helm chart version to v1.25.0
2022-09-03 00:00:16 +05:30
Pravar Agrawal
e68ceb2273
Update docs & manifests for v0.25.0
2022-09-02 23:51:21 +05:30
Amir Alavi
dcb81f65a9
remove TODO comments for cronjob v1beta1 support
2022-08-30 15:53:21 -04:00
Amir Alavi
face080485
clarify which version PodLifeTime introduced states parameter and deprecated podStatusPhases
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-08-27 14:59:14 -04:00
Kubernetes Prow Robot
1eade5bf91
Merge pull request #922 from jklaw90/remove-plugin
...
removing dupe plugin interface check
2022-08-25 12:48:08 -07:00
Julian Lawrence
bfcd310a16
removing dupe plugin interface check
2022-08-24 16:12:24 -07:00
Kubernetes Prow Robot
70df89601a
Merge pull request #910 from JaneLiuL/master
...
bring lownodeutilization and highnodeutilization to plugin
2022-08-17 05:41:13 -07:00
JaneLiuL
680e650706
bring lownodeutilization and highnodeutilization to plugin
2022-08-17 17:30:46 +08:00
Kubernetes Prow Robot
b743b2d5f7
Merge pull request #903 from knelasevero/migrate-podantiaffinity
...
Migrate RemovePodsViolatingInterPodAntiAffinity into a plugin
2022-08-16 07:59:08 -07:00
Kubernetes Prow Robot
cfc5d0c24a
Merge pull request #916 from ingvagabund/skip-fitsRequest-for-current-node
...
NodeFit: do not check whether node fitsRequest when a pod is already assigned to the node
2022-08-16 07:31:08 -07:00
Kubernetes Prow Robot
ddd145c69a
Merge pull request #898 from JaneLiuL/security-gh
...
add security scan into gh-actions
2022-08-16 05:47:08 -07:00
Jan Chaloupka
d99bdfffc8
NodeFit: do not check whether node fitsRequest when a pod is already assigned to the node
2022-08-16 13:38:11 +02:00
Lucas Severo Alves
a2dd86ac3b
Migrate RemovePodsViolatingInterPodAntiAffinity into a plugin
2022-08-16 12:29:25 +02:00
JaneLiuL
50676622de
add security scan into gh-actions
2022-08-16 09:36:46 +08:00
Kubernetes Prow Robot
fa3ddc6fee
Merge pull request #908 from jklaw90/migrate-RemovePodsViolatingTopologySpreadConstraint
...
RemovePodsViolatingTopologySpreadConstraint Plugin
2022-08-15 14:25:55 -07:00
Julian Lawrence
674bf4655d
migrate plugin - pods violating topologyspread
...
updated to remove older params
2022-08-15 08:23:04 -07:00
Kubernetes Prow Robot
6d4abe88ca
Merge pull request #913 from a7i/migrate-PodLifeTime-to-plugin
...
Migrate PodLifeTime to plugin
2022-08-15 07:14:14 -07:00
Amir Alavi
d4ff3aef61
Migrate PodLifeTime to plugin
2022-08-15 08:54:42 -04:00
Kubernetes Prow Robot
83c4f5d526
Merge pull request #912 from ingvagabund/container-engine
...
CONTAINER_ENGINE to override the default docker engine
2022-08-11 18:46:43 -07:00
Jan Chaloupka
d1a9190c50
CONTAINER_ENGINE to override the default docker engine
2022-08-11 16:09:46 +02:00
Kubernetes Prow Robot
a1d4770634
Merge pull request #911 from knelasevero/local-ct-install
...
introduce ct for local helm install test
2022-08-11 06:10:58 -07:00
Lucas Severo Alves
ba85e794b2
introduce ct for local helm install test
2022-08-10 18:01:42 +02:00
Kubernetes Prow Robot
0a50d5a7da
Merge pull request #892 from JaneLiuL/master
...
bring removeduplicates to plugin
2022-08-10 02:40:30 -07:00
Kubernetes Prow Robot
2de4e23425
Merge pull request #906 from a7i/node-affinity-use-existing-validation
...
NodeAffinity plugin to use the existing validation methods
2022-08-10 02:02:31 -07:00
JaneLiuL
3474725176
bring removeduplicates to plugin
2022-08-10 15:02:28 +08:00
Amir Alavi
27fa7a70a1
NodeAffinity plugin to use the existing validation methods
2022-08-09 13:38:33 -04:00
Kubernetes Prow Robot
ccfaeb2275
Merge pull request #902 from BinacsLee/binacs/migrate-removepodshavingtoomanyrestarts-to-plugin
...
Migrate RemovePodsHavingTooManyRestarts to plugin
2022-08-09 09:10:36 -07:00
BinacsLee
d798e7d204
Migrate RemovePodsHavingTooManyRestarts to plugin
2022-08-09 22:05:36 +08:00
Kubernetes Prow Robot
788e9f86bd
Merge pull request #860 from knelasevero/migrate-node-afinity-to-plugin
...
Migrate RemovePodsViolatingNodeAffinity to plugin
2022-08-09 06:14:51 -07:00
Lucas Severo Alves
0c3bf7f957
Migrate RemovePodsViolatingNodeAffinity into a plugin
2022-08-09 14:05:51 +02:00
Kubernetes Prow Robot
349453264e
Merge pull request #904 from knelasevero/add-helm-test-step-1
...
add helm ct install.
2022-08-09 03:54:51 -07:00
Lucas Severo Alves
e9c23fe42f
add helm ct install. First step, see https://github.com/kubernetes-sigs/descheduler/pull/895#issuecomment-1203608848
2022-08-08 21:11:20 +02:00
Kubernetes Prow Robot
27ed7d15b9
Merge pull request #899 from a7i/separate-args-validations
...
separate args validation for better reuse
2022-08-08 08:46:19 -07:00
Amir Alavi
55d4ed479c
separate args validation for better reuse
2022-08-05 10:46:04 -04:00
Kubernetes Prow Robot
d109ea64d0
Merge pull request #861 from a7i/migrate-RemoveFailedPods-to-plugin
...
Migrate RemoveFailedPods to plugin
2022-08-04 07:49:46 -07:00
Amir Alavi
330def2e56
Migrate RemoveFailedPods to plugin
2022-08-02 23:30:49 -04:00
Kubernetes Prow Robot
9880ed5372
Merge pull request #896 from ingvagabund/update-owners
...
Remove emeritus_approvers from reviewers
2022-08-02 07:31:45 -07:00
Jan Chaloupka
d4ecff5ba4
Remove emeritus_approvers from reviewers
2022-08-02 12:46:23 +02:00
Kubernetes Prow Robot
46e712163a
Merge pull request #888 from knelasevero/fix-memory-leak-shutdown-broadcaster
...
fix: events memory leak. Using new events implementation and take recorder out of EvictPod
2022-08-01 05:14:28 -07:00
Kubernetes Prow Robot
0d1d485850
Merge pull request #894 from ingvagabund/remove-migrated-node-taint-strategy
...
Remove RemovePodsViolatingNodeTaints strategy already migrated into a plugin
2022-07-28 07:47:11 -07:00
Jan Chaloupka
1294106a22
Remove RemovePodsViolatingNodeTaints strategy already migrated into a plugin
2022-07-28 16:34:42 +02:00
Lucas Severo Alves
0aa233415e
use new events implementation and take recorder out of EvictPod
2022-07-28 15:18:21 +02:00
Kubernetes Prow Robot
0d3ff8a84f
Merge pull request #857 from ingvagabund/migrate-RemovePodsViolatingNodeTaints-to-plugin
...
Migrate RemovePodsViolatingNodeTaints to a plugin
2022-07-26 05:59:10 -07:00
Jan Chaloupka
704f6d4496
Migrate RemovePodsViolatingNodeTaints into a plugin
2022-07-21 20:52:24 +02:00
Kubernetes Prow Robot
c699dd1ccc
Merge pull request #885 from damemi/evict-options
...
Add EvictOptions struct to EvictPod()
2022-07-20 10:08:35 -07:00
Mike Dame
d5e66ab62e
Add EvictOptions struct to EvictPod()
2022-07-20 16:52:44 +00:00
Kubernetes Prow Robot
3a486f1a79
Merge pull request #882 from iijimakazuyuki/master
...
Add default lease resource name in Helm chart's ClusterRole
2022-07-11 07:15:49 -07:00
Kubernetes Prow Robot
6e69a10396
Merge pull request #846 from ingvagabund/evictor-interface
...
Prepare pod evictor for the descheduling framework plugin
2022-07-09 11:27:46 -07:00
Kubernetes Prow Robot
d78994fe6d
Merge pull request #883 from a7i/approver-a7i
...
code approvers: add a7i
2022-07-08 08:23:46 -07:00
Amir Alavi
9ef87b9937
code approvers: add a7i
2022-07-08 09:09:42 -04:00
Kazuyuki Iijima
8b849106ed
Add default lease resource name in ClusterRole
...
Signed-off-by: Kazuyuki Iijima <iijimakazuyuki@gmail.com >
2022-07-08 21:45:17 +09:00
Kubernetes Prow Robot
2ea0a2e1c0
Merge pull request #876 from iijimakazuyuki/master
...
Use lease resource name from Helm value
2022-07-08 04:43:47 -07:00
Kazuyuki Iijima
329c357834
Use lease resource name from Helm value
...
Signed-off-by: Kazuyuki Iijima <iijimakazuyuki@gmail.com >
2022-07-08 00:25:39 +09:00
Kubernetes Prow Robot
8072a8c82e
Merge pull request #871 from knelasevero/fix-chart-path
...
fix: chart path can't be relative
2022-07-07 07:11:34 -07:00
Kubernetes Prow Robot
7a7393f5ff
Merge pull request #872 from JaneLiuL/master
...
fix log-file and log-dir issue
2022-07-07 06:57:35 -07:00
Lucas Severo Alves
df65157a3b
disable vcs maintainer check
2022-07-06 20:09:07 +02:00
JaneLiuL
754f8c9def
fix log-file and log-dir issue
2022-07-06 15:50:43 +08:00
Lucas Severo Alves
d75e9e8c4e
fix comment space lint issue
2022-07-04 18:26:28 +02:00
Lucas Severo Alves
2cd79c6816
chart path can´t be relative
2022-07-04 18:19:09 +02:00
Kubernetes Prow Robot
aff9a0ba06
Merge pull request #836 from a7i/balancedomains-belowavg
...
TopologySpreadConstraint: only evaluate nodes below ideal avg when balancing domains
2022-07-03 18:57:22 -07:00
Kubernetes Prow Robot
e1a10c36de
Merge pull request #854 from knelasevero/improve-helm-setup
...
Improving helm setup
2022-07-01 11:03:23 -07:00
Kubernetes Prow Robot
d8897635b0
Merge pull request #834 from a7i/podlifetime-container-state
...
PodLifeTime: support container states PodInitializing and ContainerCreating
2022-06-28 07:59:58 -07:00
Amir Alavi
abf5752260
PodLifeTime: add States field and deprecate PodStatusPhases
2022-06-25 15:13:18 -04:00
Amir Alavi
934fffb669
RemovePodsViolatingTopologySpreadConstraint: test case to cover tainted nodes and eviction loop
2022-06-20 20:53:30 -04:00
Amir Alavi
7a5e67d462
topologyspreadconstraint_test: ensure specific pods were evicted
2022-06-20 19:21:58 -04:00
Amir Alavi
469bde0a01
TopologySpreadConstraint: only evaluate nodes below ideal avg when balancing domains
2022-06-20 18:42:34 -04:00
Jan Chaloupka
c838614b6c
EvictPod: stop returning an error
...
When an error is returned a strategy either stops completely or starts
processing another node. Given the error can be a transient error or
only one of the limits can get exceeded it is fair to just skip a
pod that failed eviction and proceed to the next instead.
In order to optimize the processing and stop earlier, it is more
practical to implement a check which will say when a limit was
exceeded.
2022-06-17 10:12:57 +02:00
Jan Chaloupka
cc49f9fcc2
Drop node parameter from EvictPod
...
The method uses the node object to only get the node name.
The node name can be retrieved from the pod object.
Some strategies might try to evict a pod in Pending state which
does not have the .spec.nodeName field set. Thus, skipping
the test for the node limit.
2022-06-17 10:10:25 +02:00
Amir Alavi
4e710cdf3b
PodLifeTime: support container states PodInitializing and ContainerCreating
2022-06-16 21:17:49 -04:00
Jan Chaloupka
d5ee855221
Pass the strategy name into evictor through context
2022-06-16 16:32:13 +02:00
Kubernetes Prow Robot
b2418ef481
Merge pull request #847 from ingvagabund/split-pod-evictor-and-evictor-filter
...
Split pod evictor and evictor filter
2022-06-16 07:22:49 -07:00
Kubernetes Prow Robot
1f1aad335a
Merge pull request #856 from a7i/pod-sort-age-random
...
remove random creation timestamp from pod sort by age test
2022-06-16 01:18:49 -07:00
Kubernetes Prow Robot
627d219dab
Merge pull request #852 from knelasevero/existing-contraints
...
Check existing constraints before assigning
2022-06-15 06:07:17 -07:00
Lucas Severo Alves
30c972e49e
change namespaceTopologySpreadConstraints from map to slice
2022-06-15 14:54:56 +02:00
Amir Alavi
a7cfb25e9b
remove random creation timestamp from pod sort by age test
2022-06-14 23:28:58 -04:00
Lucas Severo Alves
45e1cdbd01
WIP: improving helm setup
2022-06-14 17:08:00 +02:00
Lucas Severo Alves
dad3db3187
Check existing constraints before assigning
2022-06-14 10:43:59 +02:00
Jan Chaloupka
d2130747d8
Split pod evictor and evictor filter
2022-06-13 18:48:05 +02:00
Kubernetes Prow Robot
84c8d1ca03
Merge pull request #843 from damemi/docs-readme-1.24.1
...
Update docs, manifests for 0.24.1 on master
2022-06-08 06:58:24 -07:00
Mike Dame
5dfd54e500
Docs and readme updates
2022-06-08 13:35:22 +00:00
Kubernetes Prow Robot
7550fba2fa
Merge pull request #840 from a7i/nodefit-docs
...
nodeFit: fix docs spacing for placement of the field
2022-06-07 12:28:27 -07:00
Amir Alavi
038b6e1ca7
nodeFit: fix docs spacing for placement of the field
2022-06-07 11:59:30 -04:00
Kubernetes Prow Robot
98a946dea7
Merge pull request #833 from a7i/podlifetime-sort-age
...
PodLifeTime: sort pods by creation timestamp
2022-06-07 01:23:49 -07:00
Amir Alavi
871a10344e
e2e: use kubernetes utils pointer library
2022-06-06 22:05:32 -04:00
Amir Alavi
311d75223f
PodLifeTime: sort pods by creation timestamp
2022-06-06 21:49:24 -04:00
Kubernetes Prow Robot
33807ed8e4
Merge pull request #830 from a7i/revert-805-cleanup/lownodeutilization
...
Revert "cleanup lownodeutilization code"
2022-06-01 08:51:03 -07:00
Amir Alavi
3cc0a68f13
lownodeutilization: clarify comments and variable naming for underutilized vs. overutilized
2022-06-01 11:39:38 -04:00
Amir Alavi
8e1d35cb3c
Revert "cleanup lownodeutilization code"
2022-06-01 11:28:09 -04:00
Kubernetes Prow Robot
59c4904ddc
Merge pull request #805 from xiaoanyunfei/cleanup/lownodeutilization
...
cleanup lownodeutilization code
2022-06-01 07:45:02 -07:00
Kubernetes Prow Robot
c5604c760d
Merge pull request #825 from damemi/cloudbuild-timeout
...
Increase cloudbuild timeout to 25 minutes
2022-06-01 06:47:02 -07:00
Mike Dame
f769296243
Increase cloudbuild timeout to 25 minutes
2022-05-31 18:51:53 +00:00
Kubernetes Prow Robot
8972bd9bf0
Merge pull request #823 from damemi/fix-version-cmd
...
Fix version command to parse helm chart tags
2022-05-31 11:14:53 -07:00
Kubernetes Prow Robot
873381197b
Merge pull request #821 from damemi/test-version-updates
...
Update helm tests util versions and release guide
2022-05-31 10:44:52 -07:00
Mike Dame
af45591c25
Fix version command to parse helm chart tags
2022-05-31 17:39:08 +00:00
Mike Dame
17e986418f
Update helm tests util versions and release guide
2022-05-31 17:05:14 +00:00
Kubernetes Prow Robot
5a9e65833f
Merge pull request #818 from damemi/release-guide-updates
...
Update release guide docs
2022-05-26 08:21:24 -07:00
Mike Dame
725ca47bda
Update release guide docs
2022-05-25 15:36:58 +00:00
Kubernetes Prow Robot
f39058af1c
Merge pull request #813 from stephan2012/bugfix/leader-election-chart-812
...
Arguments must be strings, not bool or number
2022-05-25 07:12:44 -07:00
Kubernetes Prow Robot
332d61dba8
Merge pull request #814 from stephan2012/bugfix/missing-keys-803
...
Add podAnnotations and podLabels to values and docs
2022-05-24 09:38:06 -07:00
Stephan Austermühle
3cbae5e72b
Fix type error for the leader election
...
Also, add the missing update verb in the ClusterRole and adds required
time units to leaseDuration, renewDeadline, retryPeriod in the Chart
example.
2022-05-24 18:11:18 +02:00
Stephan Austermühle
d8a609a6e7
Add more precise description
2022-05-24 18:07:58 +02:00
Stephan Austermühle
f0fa4c0cc0
Add podAnnotations and podLabels to values and docs
2022-05-24 10:02:16 +02:00
Kubernetes Prow Robot
e61823c299
Merge pull request #809 from damemi/CVE-2022-27191
...
bump: golang.org/x/crypto
2022-05-23 21:39:10 -07:00
Mike Dame
14b83e6cc5
bump: golang.org/x/crypto
2022-05-23 21:17:27 +00:00
sunxiaofei
5e3b825427
cleanup lownodeutilization code
2022-05-23 17:20:35 +08:00
Kubernetes Prow Robot
15794ba00d
Merge pull request #801 from KohlsTechnology/bump-go-1.18
...
Bump To Go 1.18.2
2022-05-18 23:54:07 -07:00
Sean Malloy
e494a5817e
Bump To Go 1.18.2
...
The main k/k repo was updated to Go 1.18.2 for the
k8s v1.24.0 release. See below PR for reference.
https://github.com/kubernetes/kubernetes/pull/110044
2022-05-18 09:36:32 -05:00
Kubernetes Prow Robot
eb0be65687
Merge pull request #796 from JaneLiuL/master
...
Update helm chart version to v0.24
2022-05-16 15:06:19 -07:00
JaneLiuL
64786460cd
Update helm chart version to v0.24
2022-05-13 08:27:15 +08:00
Kubernetes Prow Robot
9c110c4004
Merge pull request #791 from JaneLiuL/master
...
Bump to k8s 1.24.0
2022-05-12 12:06:33 -07:00
Kubernetes Prow Robot
0eddf7f108
Merge pull request #792 from pravarag/update-docs-1.24
...
Update Docs and Manifests for v0.24.0
2022-05-12 11:31:15 -07:00
Kubernetes Prow Robot
3c8d6c4d53
Merge pull request #795 from damemi/update-e2e
...
Update e2e test versions
2022-05-12 09:29:14 -07:00
Mike Dame
6e84d0a6ba
React to removal of offensive language
...
https://github.com/kubernetes/kubeadm/issues/2200 went into effect in 1.24, so
e2es broke without the update.
2022-05-12 15:35:07 +00:00
Mike Dame
fb1df468ad
golint fix
2022-05-12 14:21:34 +00:00
Mike Dame
ac4d576df8
Update e2e test versions
2022-05-12 14:16:53 +00:00