99 Commits

Author SHA1 Message Date
Andrew Lavery
0379274bb8 if cluster-resources/resources.json, do not fail the distribution analyzer
that file was not collected in v0.9.15 and earlier, so we shouldn't require it - particularly since the microk8s/dockerdesktop/eks/gke/DO detection doesn't depend on it
2020-01-09 12:07:36 -08:00
Andrew Lavery
033524a83a identify openshift clusters with distribution analyzer 2020-01-08 15:38:32 -08:00
Andrew Lavery
0a04256d62 include ServerGroupsAndResources in troubleshoot cluster-resources
also run cluster-resources collector even when some rbac permissions are missing

print progress message when skipping a collector due to rbac issues

include a sample troubleshoot yaml spec in the repo
2020-01-08 15:10:32 -08:00
Andrew Lavery
0fcf473f85 include versionNumber as spec.versionNumber to follow k8s struct standards 2020-01-07 17:21:59 -08:00
Andrew Lavery
f9b9dea1c6 only include version number, not full build info 2020-01-07 17:04:41 -08:00
Andrew Lavery
1928f00b0f include binary version info in 'version.yaml' troubleshoot file 2020-01-07 16:28:57 -08:00
Andrew Lavery
55f2ed44bf Check RBAC before running collectors 2019-12-31 21:32:42 +00:00
divolgin
89250b0a87 include errors in messages on failures 2019-12-26 16:32:17 +00:00
Marc Campbell
2b97e524e3 No more controllers 2019-12-24 19:38:47 +00:00
Marc Campbell
3955dab9bc Removing the CRD 2019-12-24 19:26:26 +00:00
Marc Campbell
9de6b3fffd Merge pull request #99 from ashwathishiva/custom_text_analyzer
Adding a text analyzer
2019-12-23 12:45:32 -08:00
Marc Campbell
806b2fbb41 Revert "Regex analyzer" 2019-12-18 17:30:16 -08:00
Marc Campbell
8ca92b42c4 Merge pull request #100 from replicatedhq/regex-analyzer
Regex analyzer
2019-12-18 17:02:16 -08:00
Marc Campbell
1ef9368e7b Tests on the regex analuzer 2019-12-19 01:00:46 +00:00
Marc Campbell
b22120acd8 remove debug 2019-12-19 00:49:37 +00:00
Marc Campbell
518f826fc2 Regex analyzer 2019-12-19 00:49:16 +00:00
Ashwathi Shiva
6a64146012 Added tests 2019-12-18 18:48:12 -05:00
Marc Campbell
f5fe442349 Printing rbac policies per namespace 2019-12-18 19:49:39 +00:00
Marc Campbell
e2748c7b24 RBAC 2019-12-18 19:46:02 +00:00
Marc Campbell
98f926b46c Support for optional collectors and analyzers 2019-12-18 01:38:51 +00:00
Marc Campbell
d0a0d925bb Cleaning up name / collectorName 2019-12-18 01:12:16 +00:00
Andrew Lavery
fd257b5618 Merge pull request #91 from bearium/stdout_results
Added Namespace for Collection and Allows for tests to output to stdout
2019-12-13 15:01:54 -08:00
Ashwathi Shiva
f35f5e4d57 removed unused import 2019-12-12 22:38:28 -05:00
Ashwathi Shiva
71e66c7402 modified output string 2019-12-12 22:22:20 -05:00
Ashwathi Shiva
714667d641 Initial version of a custom text analyzer 2019-12-10 22:56:35 -05:00
bearium
e13cb35c82 added std out support and namespace functionality 2019-12-02 09:56:07 -05:00
Marc Campbell
9c4fa8ac14 Add version command 2019-11-30 00:03:43 +00:00
Frank Shotwell
5812414093 add missing gke test 2019-11-22 15:40:38 -08:00
Marc Campbell
3dc78d2ce8 More friendly parsing of Docker Desktop 2019-11-22 23:14:28 +00:00
divolgin
353569d59a support for data collector 2019-11-12 20:53:50 +00:00
Marc Campbell
ed8453ce6b Distribution analyzer 2019-11-08 23:15:58 +00:00
Marc Campbell
5744d608a4 Container runtime analyzer 2019-11-08 17:25:11 +00:00
Marc Campbell
0e3bcd29e4 Add nodes to the bundle 2019-11-08 16:57:33 +00:00
Marc Campbell
67b25e319b Updated from controller-gen 2019-11-08 01:31:20 +00:00
Marc Campbell
8a1e129dbe Add names so the analysis UI renders 2019-11-08 00:22:57 +00:00
Marc Campbell
b926ff6fa2 Additional test 2019-11-07 17:19:01 +00:00
Marc Campbell
fb5f1522ea Deployment and statefulset 2019-11-07 02:07:05 +00:00
Marc Campbell
6e7715a145 Deployment and Statefulset status analyzers 2019-11-07 01:54:32 +00:00
divolgin
13fb6abcaf Change containers to containerNames to not break kustomize 2019-10-31 19:52:04 +00:00
Marc Campbell
0b493a533b Fix 2019-10-29 21:08:58 +00:00
Marc Campbell
14ace5294f Analyze spec 2019-10-29 19:45:25 +00:00
divolgin
223a4a6e0a Replace default collector URL 2019-10-29 03:28:27 +00:00
divolgin
60ca35a5a6 use file paths specified by the spec instead of hardcoded ones 2019-10-25 16:23:22 +00:00
divolgin
3ea71c1d5a support multiple containers in pod logs 2019-10-24 18:27:53 +00:00
Marc Campbell
a4c482c74c Wraping errors, no synlink in kotsadm 2019-10-17 14:46:37 +00:00
Marc Campbell
0b7aff6597 Error handling in cluster resources 2019-09-08 14:35:56 +00:00
Lars Lehtonen
09deffb507 pkg/analyze: Fix swallowed error 2019-08-26 17:16:18 -07:00
divolgin
c3e2748f3c run collector times out 2019-08-22 22:39:30 +00:00
divolgin
2fb3a17783 adding support for generic CLI options. closes #54 2019-08-22 14:25:08 +00:00
divolgin
68344b25a4 Automatically upload generated support bundle file 2019-08-20 23:54:28 +00:00