77 Commits

Author SHA1 Message Date
Jeremy Cohn
2158dee58d Merge pull request #147 from replicatedhq/jeremy/fix-analyze
Added spec support to `analyze` function in support-bundle
2020-03-06 14:27:48 -08:00
Jeremy Cohn
f6a56a9def A few minor updates in the analyze usage 2020-03-06 14:26:38 -07:00
Jeremy Cohn
63a81314bb Updated to allow an analyze spec from URL
This commit includes the following changes:
1. Updated to allow a analyze spec from URL
2. Removed spec flag
The analyzer spec is a positional argument consistent with preflight.
2020-03-06 13:33:29 -07:00
Jeremy Cohn
1d352298e1 Added spec support to analyze function in support-bundle 2020-03-05 17:43:34 -08:00
Marc Campbell
6c212e24f0 Better marshaling 2020-03-06 01:15:49 +00:00
Marc Campbell
d81cff0d67 BoolString can only unmarshal as json 2020-03-06 00:33:39 +00:00
Marc Campbell
346c751bdf Merge pull request #134 from replicatedhq/openapischema
Generate OpenAPISchema
2020-03-05 13:42:21 -08:00
divolgin
5a7b155093 Better integration with embedded kots clusters 2020-03-03 22:30:47 +00:00
divolgin
78d2364199 Don't verify TLS certs on support bundle requests 2020-02-14 23:08:42 +00:00
Marc Campbell
c91a8ee60d Filenames that match kubeval 2020-02-10 21:31:36 +00:00
Marc Campbell
899d5d7672 Generate OpenAPISchema 2020-02-10 21:17:11 +00:00
Andrew Lavery
f67cd31e80 fix order of arguments in calls to DownloadAndAnalyze 2020-01-20 18:17:15 -08:00
divolgin
052c932e05 Treat analyzer errors as preflight check fails 2020-01-09 22:48:54 +00: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
divolgin
8e1cb615a5 Don't print usage on error and no double-logging 2019-12-24 22:04:43 +00:00
Marc Campbell
806b2fbb41 Revert "Regex analyzer" 2019-12-18 17:30:16 -08:00
Marc Campbell
518f826fc2 Regex analyzer 2019-12-19 00:49:16 +00:00
Marc Campbell
4338b22505 Merge pull request #95 from replicatedhq/github-actions
GitHub actions
2019-12-18 08:01:22 -08:00
Marc Campbell
ca9106e7c9 Merge pull request #93 from replicatedhq/no-collector-cmd
Remove manager and collector commands
2019-12-18 07:14:43 -08:00
Marc Campbell
7ac973647d Add json output 2019-12-18 15:12:11 +00:00
Marc Campbell
7ab1734cb6 Remove manager and collector commands 2019-12-18 01:52:06 +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
bearium
3afe32cd1e change global fail to return result 2019-12-11 07:34:15 -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
Marc Campbell
8a1bb8a422 isURL 2019-10-29 19:56:29 +00:00
Marc Campbell
14ace5294f Analyze spec 2019-10-29 19:45:25 +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
divolgin
642c1d7e5b Better messaging when support bundle is uploaded 2019-10-15 22:45:57 +00: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
1c6fe9f262 add numbers to support bundle name as needed 2019-08-21 16:18:57 +00:00
divolgin
68344b25a4 Automatically upload generated support bundle file 2019-08-20 23:54:28 +00:00
divolgin
b6ca58dbcf errors are masked when collector fails 2019-08-20 20:25:55 +00:00
Marc Campbell
3b1428a225 Add gke 2019-08-15 02:24:55 +00:00
Marc Campbell
c6da43b73f Run in the CLI, not in the cluster 2019-08-15 02:10:24 +00:00
Marc Campbell
4d61c49619 Run preflights in the CLI 2019-08-15 01:59:57 +00:00
divolgin
2e61a8e9a9 Better message at the end of support bundle generation 2019-08-07 23:56:08 +00:00
divolgin
920e1efc27 Show progress when collecting support bundle 2019-08-07 20:41:06 +00:00
divolgin
ff463e3fa8 collect support bundle without subcommand 2019-08-03 17:01:27 +00:00
Marc Campbell
e6416d7738 Some more error wrapping 2019-07-31 20:29:28 +00:00
Marc Campbell
94b47ddb94 Status while running 2019-07-31 18:20:31 +00:00