gossion
dceda9a6a1
fix: pod analyzer catches errors when containers are in Terminated state ( #1438 )
...
Signed-off-by: Guoxun Wei <guwe@microsoft.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2025-04-08 10:49:53 +01:00
JuHyung Son
eb3b81f176
feat: add label selector ( #1201 )
...
* feat: fix the custom-analysis printing (#1195 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label selector
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label selector on analyzers
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore(deps): update actions/upload-artifact digest to 0b2256b (#1175 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore: update proto pkg version
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore: fix typo
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label string to LabelSelector util func
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add test using 2 label selector
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung Son <sonju0427@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 14:31:41 +01:00
Peter Pan
b2ab94375e
fix: invalid ParentObj in output ( #1068 )
...
* Fix invalid ParentObj in output
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* fix UT as well for ParentObj changes
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* remove meta.Name in false output
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* fix UT as well
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
---------
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-04-26 07:26:06 +01:00
DragonAlex98
9a73d1923f
feat: add keda integration ( #1058 )
...
* refactor: move FetchLatestEvent inside util package
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
* feat: add Keda integration and ScaledObject analyzer
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
---------
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
2024-04-25 11:41:01 +01:00
Vaibhav Malik
9dfcce842e
test: added missing tests for the Pod analyzer ( #1021 )
...
- Fixed a small bug where failures were being appended multiple times
for CrashLoopBackOff and ContainerCreating container status reasons.
- Added missing test cases to ensure proper testing of the Pod analyzer.
The addition of these missing test cases has increased the code
coverage of this analyzer to 98%.
- Added checks for init containers in a pod.
Partially addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-04-13 21:08:33 +01:00
lili-wan
78126b2328
feat: added FailedMount event reason to get the failure ( #883 )
...
Signed-off-by: lwan3 <lili_wan@intuit.com >
Co-authored-by: lwan3 <lili_wan@intuit.com >
2024-02-01 18:57:20 +00:00
Akhil Rane
ff4aaf7c32
feat: add last termination state when pod is in CrashloopBackoff ( #792 )
...
Signed-off-by: Akhil Rane <akhil131192@gmail.com >
Co-authored-by: Akhil Rane <akhil_rane@intuit.com >
2023-12-20 12:57:17 +00:00
Jesang Myung
5b27c3e352
fix: cover more error reason messages ( #759 )
...
* fix: cover more error reasons (#758 )
Signed-off-by: Jesang Myung <jesang.myung@gmail.com >
* fix: refactoring for simplify conditions
Signed-off-by: Jesang Myung <jesang.myung@gmail.com >
---------
Signed-off-by: Jesang Myung <jesang.myung@gmail.com >
2023-11-20 13:01:04 +00:00
Tsadok Levi Firseck
1a554ae840
Update pod.go - added handling of CreateContainerConfigError ( #639 )
...
Added handling of CreateContainerConfigError error
Signed-off-by: Tsadok Levi Firseck <tsadoklf@gmail.com >
Co-authored-by: Aris Boutselis <aris.boutselis@senseon.io >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
2023-11-12 21:24:41 +01:00
Peter Pan
ed73485d92
chore: make go-lint happy ( #405 )
...
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
2023-05-12 12:24:30 +01:00
Thomas Schuetz
d0f7a1105f
chore: change license to Apache-2 ( #313 )
...
* chore: change license to Apache-2
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-21 19:46:31 +02:00
Peter Pan
3c7e0bba1d
chore: analyze Pod ReadinessProbe faliure
...
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
2023-04-20 03:52:47 -04:00
Matthis
a3becc9906
feat: add server metrics ( #273 )
...
* feat: expose metrics path & init analyzer errors metrics
This commit add metrics path & the analyzer error metrics in the codebase. The changes have been made across all analyzers and include the addition of a new metric with label values for the analyzer's name, analyzed object's name, and namespace. The metric's value is set to the length of the analyzer objects failures.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add metric to cronjob & deployment & netpol
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: expose metric to NodeAnalyzer
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-15 19:03:37 +02:00
Matthis Holleville
c0afc0f5c9
feat: refactor integration to use Failure object
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-12 11:40:51 +02:00
Alex Jones
4984840de1
wip
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00
Matthis Holleville
d2a84ea2b5
feat: add anonymization flag
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-10 23:12:02 +02:00
Thomas Schuetz
0195bfab30
chore: analyzer and ai interfacing ( #200 )
...
* chore: analyzer and ai interfacing
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: backend variable for aiProvider in cmd
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: changed folders for analyzers
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* chore: renamed analyzers
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: fixed ingress tests after rebase
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: fixed ingress tests after rebase
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
---------
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-05 08:40:12 +02:00