Alex Jones
da266b3c82
feat: dump ( #1322 )
...
* feat: reverting the cncf runners
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* feat: creating a dump file for debugging
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* chore: ran the linter
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* chore: updated
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* chore: updated
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* chore: improved the function readme
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* feat: added k8sgpt version info
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* feat: added k8sgpt version info
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
* chore: added additional command
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
2024-11-12 12:04:01 +00:00
Naveen Thangaraj
a068310731
feat: getting the error from status field for HPA analyzer ( #1164 )
...
* getting the error from status field for hpa analyzer
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Signed-off
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Updated the hpaAnalyzer_test.go
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Updated hpa_test.go
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Updated the hpa
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Updated the Conflicts
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Resolved all the conflicts
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
* Updated the test case
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
---------
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: Matthis <matthish29@gmail.com>
2024-07-22 09:25:38 +02: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
golgoth31
f9621af7e4
feat: get official field doc ( #457 )
...
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.267 (#451 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: get official field doc
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: use schema from server
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: add configuration api route (#459 )
* feat: add configuration api route
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: rename cache methods
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.269 (#458 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix: updated list.go to handle k8sgpt cache list crashing issue (#455 )
* Update list.go
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
* fix: updated list.go to handle k8sgpt cache list crashing issue
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
---------
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* chore(main): release 0.3.5 (#452 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* chore(deps): update google-github-actions/release-please-action digest to 51ee8ae (#464 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix: name of sa reference in deployment (#468 )
Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.270 (#465 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix: typo (#463 )
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.271 (#469 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.269 (#458 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.270 (#465 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.44.271 (#469 )
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* feat: Add with-doc flag to enable/disable kubernetes doc
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* use fmt.Sprintf in apireference.go
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
* add --with-doc to readme
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
---------
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: golgoth31 <golgoth31@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
Co-authored-by: Krishna Dutt Panchagnula <krishnadutt123@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Co-authored-by: Rakshit Gondwal <98955085+rakshitgondwal@users.noreply.github.com>
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com>
2023-05-31 10:36:41 +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
Rakshit Gondwal
71732037fa
feat: improve HPA analyzer to check ScaleTargetRef resources ( #283 )
...
* feat: improve HPA analyzer to check ScaleTargetRef resources
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* feat: modify tests
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* feat: improve all ScaleTargetRef to check for resources
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* test: add test cases for all ScaleTargetRef types
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* refactor: use interface to avoid dupplication
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* test: add test case for NoResourceConfiguredForScaleTargetRef
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
---------
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
2023-04-18 15:27:06 +02: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
ced0de6448
Merge branch 'main' into feat/integrate
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:24:30 +01:00
Alex Jones
4984840de1
wip
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-11 19:22:06 +01:00
Matthis Holleville
11326c1c5f
feat: improve documentation & update hpa message
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-11 13:28:05 +02:00
Matthis Holleville
30e33495e0
Merge branch 'main' into feature/add-anonymize-option
2023-04-10 23:12:30 +02:00
Matthis Holleville
d2a84ea2b5
feat: add anonymization flag
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-10 23:12:02 +02:00
HOLLEVILLE Matthis
a582d444c5
fix: use hpa namespace instead analyzer namespace ( #230 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-10 07:49:22 +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