Jan Chaloupka
6567f01e86
[nodeutilization]: actual usage client through kubernetes metrics
2024-11-20 14:30:46 +01:00
Jan Chaloupka
f115e780d8
Define EvictionsInBackground feature gate
2024-11-14 13:29:59 +01: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
Mike Dame
47cc875fe8
Don't crash if failing to create tracer provider
2024-06-06 15:57:58 +00:00
googs1025
8be82b008c
use cmd context instead of using context.Background()
2024-05-28 20:50:55 +08:00
Amir Alavi
6f0cd50dc0
fix: revert defer of context done
2023-11-26 14:17:23 -05:00
Amir Alavi
783304f248
fix: json logging
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-11-24 10:07:42 -05:00
Jan Chaloupka
999dd3dc25
disable http/2 by default, enable it if needed
2023-10-19 17:15:57 +02: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
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
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
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
Amir Alavi
6f350ceb12
bump to k8s 1.27 rc0
2023-03-25 10:42:51 -04:00
Amir Alavi
46e43a07bf
support client connection configuration to provide QPS and burst
2023-01-05 22:00:33 -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
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
AJ
3067d2b311
correct JSON log format
2022-10-25 10:53:24 +02:00
JaneLiuL
c9b0fbe467
Bump to k8s 1.25-rc.0
2022-09-03 09:57:56 -04:00
Lucas Severo Alves
0aa233415e
use new events implementation and take recorder out of EvictPod
2022-07-28 15:18:21 +02:00
JaneLiuL
754f8c9def
fix log-file and log-dir issue
2022-07-06 15:50:43 +08:00
JaneLiuL
ecbd10afe2
bump to k8s 1.24-rc.0
2022-04-21 09:11:04 +08:00
Furkan
0a52af9ab8
feat(leaderelection): impl leader election
...
Signed-off-by: Furkan <furkan.turkal@trendyol.com >
Signed-off-by: eminaktas <eminaktas34@gmail.com >
Co-authored-by: Emin <emin.aktas@trendyol.com >
Co-authored-by: Yasin <yasintaha.erol@trendyol.com >
2022-03-25 14:33:14 +03:00
Julian Lawrence
a2cbc25397
updated to handle cronjob flow
2022-02-22 08:52:06 -08:00
Julian Lawrence
1a98a566b3
adding cancelation from sigint sigterm
2022-01-25 00:10:09 -08:00
Jane Liu L
c38f617e40
add liveness probe
2022-01-10 09:56:53 +08:00
Jan Chaloupka
d8718d7db3
Set the klog output to stdout by default
...
Also, one needs to set --logtostderr=false to properly log into the stdout
2021-12-16 11:22:40 +01:00
Jan Chaloupka
e6314d2c7e
Init the klog directly
...
Since 3948cb8d1b (diff-465167b08358906be13f9641d4798c6e8ad0790395e045af8ace4d08223fa922R78)
the klog verbosity level gets always overriden.
2021-12-15 09:23:20 -05:00
Mike Dame
94888e653c
Move klog initialization to cli.Run()
2021-12-10 12:00:11 -05:00
Mike Dame
2f7c496944
React to 1.23 bump
...
Logging validation functions changed in upstream commit
54ecfcdac8 .
This uses the new function name.
2021-12-10 10:02:26 -05:00
Jan Chaloupka
73a7adf572
Drop deprecated flags
2021-11-29 17:12:59 +01:00
Sean Malloy
c079c7aaae
Bump To k8s 1.22.0
2021-08-19 00:40:38 -05:00
Jan Chaloupka
701f22404b
Serve secure metrics at 10258
2021-03-05 16:35:45 +01:00
Jan Chaloupka
3bd031bbb3
Move build's versioning bits under pkg/version
2021-03-03 15:56:53 +01:00
Mike Dame
e45e21368a
Add default logging-format value
2021-01-25 14:19:58 -05:00
Sean Malloy
8795fe6b90
Fix Version Output For Automated Container Builds
...
Prior to this change the output from the command "descheduler version"
when run using the official container images from k8s.gcr.io would
always output an empty string. See below for an example.
```
docker run k8s.gcr.io/descheduler/descheduler:v0.19.0 /bin/descheduler version
Descheduler version {Major: Minor: GitCommit: GitVersion: BuildDate:2020-09-01T16:43:23+0000 GoVersion:go1.15 Compiler:gc Platform:linux/amd64}
```
This change makes it possible to pass the descheduler version
information to the automated container image build process and
also makes it work for local builds too.
2020-11-20 23:25:22 -06:00
Ali Farah
3ac0c408de
Add --logging-format flag
...
Add k8s.io/component-base/config package
2020-10-12 22:27:39 +11:00
Ali Farah
6329b6c27b
Convert logs to use structured logs
2020-09-12 14:46:16 +10:00
Jan Chaloupka
89541f7545
Deprecate node-selector, max-pods-to-evict-per-node and evict-local-storage-pods flags and promote then to policy v1alpha1 fields
2020-08-21 13:27:40 +02:00
Ali Farah
15fcde5229
Update klog to v2
2020-06-22 20:43:22 +10:00
Mike Dame
30d05382b6
Wire --descheduler-interval flag to run descheduler on a loop
2020-01-30 17:17:55 -05:00
Mike Dame
4b9e732c18
Switch from glog to klog
2019-10-28 20:44:02 -04:00
Mike Dame
5af668e89a
Remove old API install patterns
2019-10-12 11:08:46 -04:00
Mike Dame
26adf87323
Bump reactions
...
Change imports to reflect current component-base usage
2019-10-12 11:07:21 -04:00
Jan Chaloupka
2e6f14103b
Project migrared under kubernetes-sigs, change import path prefix to sigs.k8s.io/descheduler
2019-09-19 14:09:05 +02:00
Reeta Singh
dee89a6cc1
Refactoring test by make it table driven and adding golangci-lint to the CI pipeline
2019-06-03 20:40:02 -07:00
Adi Yadav
5d843d1f08
Added manual changes.
2019-04-11 23:24:20 -04:00
ravisantoshgudimetla
f1f8b2eaa7
Limit maximum number of pods to be evicted per node
2018-03-22 12:40:19 +01:00
Avesh Agarwal
e858c9ee80
Fix glog issue: ERROR: logging before flag.Parse.
2018-01-09 12:54:52 -05:00
Avesh Agarwal
44752e5e83
Update code and hack dir for kube 1.9 rebase.
2018-01-09 12:41:01 -05:00