Nils Seip
e85e9cd464
Merge branch 'main' into template-textanalyzer-message
2022-05-30 09:32:01 +02:00
Pavan Sokke Nagaraj
750ebc1277
return nil when no matching analyzer result
2022-05-27 14:33:35 -04:00
Nils Seip
6f997a47a3
Merge branch 'main' into template-textanalyzer-message
2022-05-27 16:49:00 +02:00
Ethan Mosbaugh
74b4802b46
Add support for k8s 1.24+
2022-05-24 11:05:59 -07:00
Ethan Mosbaugh
84b40804b5
filter nil analyzer results to prevent panic
2022-05-23 19:43:43 +00:00
nachtmaar
3d6841c11e
Fix typos
2022-05-20 17:28:44 +02:00
nachtmaar
8adf58b717
Return err instead of panic
2022-05-20 17:23:22 +02:00
nachtmaar
44c07c2a00
Rename CRD -> CR
2022-05-20 17:13:14 +02:00
nachtmaar
9179dc8fec
Add test for pass outcome black
2022-05-20 17:01:48 +02:00
nachtmaar
a9df4552b4
Use warn log level in warn test
2022-05-20 15:54:12 +02:00
nachtmaar
c5505bc017
Rename tests
2022-05-20 15:47:19 +02:00
nachtmaar
3ceffbc4b2
Add test for warn outcome block
2022-05-20 15:45:22 +02:00
nachtmaar
5967105ad2
Make test data more generic
2022-05-20 15:35:47 +02:00
nachtmaar
7eb6263dc1
Template messages in outcome block for textAnalyzer
2022-05-18 15:46:42 +02:00
diamonwiggins
cccc9f23a1
adding new test case for ceph analyzers
2022-05-13 23:39:03 +00:00
diamonwiggins
ff4353817f
adding ceph health status messages to analyzer result
2022-05-13 22:27:19 +00:00
diamonwiggins
8c62aadcfc
using subdirectory for all host collectors in support bundle
2022-05-12 16:46:24 +00:00
diamonwiggins
e7f2685ed8
fix output file for diskUsage collector
2022-05-12 04:20:24 +00:00
diamonwiggins
3b1ba08a6b
hardcoding system hostcollector filenames
2022-05-12 03:39:19 +00:00
diamonwiggins
17fe3db79f
adding host collectors to support bundles
2022-05-11 22:50:03 +00:00
Ethan Mosbaugh
2c9a37a4f1
BoolOrString pollutes marshalling, does not respect omitempty ( #566 )
...
* BoolOrString pollutes marshalling, does not respect omitempty
* fix panic
2022-05-05 16:10:05 -07:00
Andrew Lavery
7eb1d5a5fb
better parse namespaces, and parse legacy list-of-pods storage format
2022-03-25 22:13:52 -04:00
Pavan Sokke Nagaraj
e248ab0f97
Fix strict flag mapping ( #542 )
...
* add func BoolOrDefaultFalse and Bool
* use strict.BoolOrDefaultFalse
* Update pkg/multitype/boolstring.go
Co-authored-by: Andrew Lavery <laverya@umich.edu >
* Update pkg/multitype/boolstring_test.go
Co-authored-by: Andrew Lavery <laverya@umich.edu >
* Update pkg/multitype/boolstring_test.go
Co-authored-by: Andrew Lavery <laverya@umich.edu >
* Update boolstring_test.go
* remove duplicate test
* Update pkg/multitype/boolstring_test.go
Co-authored-by: garcialuis <garcialuisdev@gmail.com >
Co-authored-by: Andrew Lavery <laverya@umich.edu >
Co-authored-by: garcialuis <garcialuisdev@gmail.com >
2022-02-24 13:31:51 -05:00
Pavan Sokke Nagaraj
942234da80
Add strict flag to Analyzers and ResultAnalyzers ( #539 )
...
* add strict flag to Analyzer/AnalyzerMeta
and regenerate schemas and controller-gen code
* map analyzer strict to result
* Update stdout for human and json format
* fix review comment
* update interactive result
* update interactive results
* Update types.go
* Update upload_results.go
* print strict when only true
2022-02-23 15:07:51 -05:00
divolgin
3351c289ab
Add GVK to k8s objects in cluster-resources files
2022-02-04 01:31:07 +00:00
divolgin
007edd1181
Allow specifying namespaces when analyzing cluster resources
2021-12-17 21:47:06 +00:00
divolgin
3cedbe16a7
Organize test files by type and namespace
2021-12-17 19:23:54 +00:00
Salah Aldeen Al Saleh
4c72573936
os minor should default to 0 ( #513 )
2021-12-10 13:17:36 -08:00
Salah Aldeen Al Saleh
d1f341b8ed
host system packages collector/analyzer ( #506 )
...
* host system packages collector/analyzer
2021-12-10 12:05:21 -08:00
Ethan Mosbaugh
fba0f97225
found not ound
2021-11-30 20:12:29 +00:00
Ethan Mosbaugh
4d0eaf471f
crd not storageClass
2021-11-30 20:12:09 +00:00
divolgin
739ee666af
Allow text analyzer to not generate an error if no files match
2021-10-29 17:52:59 +00:00
divolgin
742ddc8c06
Ensure outcomes are optional in every case
2021-10-29 00:23:32 +00:00
divolgin
7cb6d90a39
replicaset analyzer supports label selectors
2021-10-28 22:06:15 +00:00
Sean Rester
5d9f14fde5
Merge pull request #474 from replicatedhq/add-node-status-check
...
38798: Adding node status check
2021-10-28 17:52:18 -04:00
Salah Aldeen Al Saleh
45dd980012
update cluster pod analyzers comment ( #475 )
2021-10-28 10:31:59 -07:00
Salah Aldeen Al Saleh
e100e7c478
get container logs for unhealthy pods ( #469 )
...
* get container logs for unhealthy pods
Co-authored-by: divolgin <dmitriy@replicated.com >
Co-authored-by: divolgin <divolgin@users.noreply.github.com >
2021-10-28 09:21:14 -07:00
Sean Rester
1345b200aa
38798: Adding node status check
2021-10-28 11:16:26 -04:00
divolgin
e7daba9d0c
Merge pull request #470 from replicatedhq/divolgin/analyzers
...
Replicaset collector and analyzer
2021-10-27 13:51:42 -07:00
divolgin
ada35eb31c
Replicaset collector and analyzer
2021-10-27 20:24:14 +00:00
Salah Aldeen Al Saleh
f2374cf113
add involved object to clusterPodStatuses analyzer result ( #459 )
...
* cluster pod statuses analyzer involved object
2021-10-27 12:18:49 -07:00
divolgin
1cdfd96768
Jobs status analyzer
2021-10-26 23:41:02 +00:00
divolgin
f108c3ca57
Analyze all deployments in all namespaces
2021-10-26 21:36:27 +00:00
divolgin
34724e7932
Ability to analyze all statefulsets
2021-10-26 20:51:45 +00:00
Salah Aldeen Al Saleh
26402a7b04
cluster pod statuses analyzer improvements ( #458 )
...
* add pod status reason to cluster pod statuses analyzer
2021-10-26 08:42:40 -07:00
Salah Aldeen Al Saleh
3d1d53ee9d
ClusterPodStatuses analyzer ( #456 )
...
* ClusterPodStatuses analyzer
Co-authored-by: divolgin <dmitriy@replicated.com >
2021-10-25 17:44:59 -07:00
Andrew Reed
7b36e6a1f8
Copy in longhorn client ( #454 )
2021-10-22 15:24:07 -05:00
Jalaja Ganapathy
372454651e
collector/analyzer for host operating system ( #443 )
...
* collector/analyzer for host operating system
* address cr comments
* cleanup
* fix invoking the analyzer
code cleanup
* fix cr comments
* add corner case unit-test
* fix kernel version parsing
* address review comments
* add default case
* parse using regex
* added more testcases and fixed the bug found in cr
* few small things
2021-10-12 14:42:23 -07:00
divolgin
e095a7838f
Check nil pointers
2021-10-12 16:10:02 +00:00
Vera Harless
73609c4fef
feat: add more detail to the ceph analyzer output ( #445 )
2021-10-06 11:22:56 -04:00