Dan Stough
0478a7a60f
fix: cluster-res collector fixed to one namespace
2021-09-03 19:23:44 +00:00
Jalaja Ganapathy
e23fb2ce59
run support-bundle and preflight checks even with restricted access ( #404 )
2021-08-13 07:52:49 -07:00
John Murphy
e0f6cab5b3
Fix removes control characters from non interactive preflight runs ( #394 )
2021-07-23 09:46:36 -05:00
emosbaugh
8dcfa9886d
Copy from host collector ( #391 )
...
* Copy from host collector
* namespace improvements
* better support for multiple nodes
2021-07-22 12:25:59 -07:00
emosbaugh
d7b6aa2758
Log progress when interactive=false ( #382 )
...
* Log progress when interactive=false
* safe print statement
2021-07-08 13:57:35 -07:00
divolgin
4047977b35
Make cursors visible on CTRL+C
2021-07-01 23:08:05 +00:00
divolgin
5f2525b663
Report back some basic progress
2021-03-18 18:56:27 +00:00
Dex
0a19d35073
hide spinner if interactive false ( #328 )
...
* hide preflight spinner if interactive is false
Co-authored-by: Salah Aldeen Al Saleh <salahalsaleh1993@gmail.com >
2021-03-09 09:42:38 -08:00
Ethan Mosbaugh
4b78c430ca
Host preflight ux improvements
2021-03-02 17:27:01 +00:00
Andrew Reed
fe4db40b43
Move host preflights examples into separate directory
...
Add all supported analyzers to host preflight sample.
Don't log transient errors waiting for TCP connection.
Begin human stdout results on new line after spinner.
2021-02-15 22:46:12 +00:00
Andrew Reed
10a34c2e58
Host preflight ( #311 )
...
* Add HostPreflight v1beta2
* Work on TCP Load Balancer
* Host disk usage collector and analyzer
* Host memory analyzer
* TCP port status
* TCP load balancer
* Review changes
Co-authored-by: Marc Campbell <marc.e.campbell@gmail.com >
2021-02-08 16:09:01 -05:00
Matias Manavella
f1868d0ba8
return messages modified
2020-10-22 14:42:05 -03:00
Matias Manavella
3cbdb41c8f
return error when both flags are used
2020-10-22 14:35:08 -03:00
Matias Manavella
d2f6594c0c
return error when both flags are used
2020-10-22 14:31:34 -03:00
Matias Manavella
56408fab01
return error when both flags are used
2020-10-22 14:28:35 -03:00
Matias Manavella
f0d9418e21
parseTimeFlag function and error handling added
2020-10-22 12:26:29 -03:00
Matias Manavella
1ba3840ad9
parseTimeFlag function and error handling added
2020-10-22 11:37:52 -03:00
Matias Manavella
a3d667298e
Update cmd/preflight/cli/root.go
...
Co-authored-by: Mark Pundsack <markpundsack@users.noreply.github.com >
2020-10-22 10:13:45 -03:00
Matias Manavella
5cf4ae2157
Update cmd/preflight/cli/root.go
...
Co-authored-by: Mark Pundsack <markpundsack@users.noreply.github.com >
2020-10-22 10:13:32 -03:00
Matias Manavella
4e047b2372
nil and error handling
2020-10-21 14:47:25 -03:00
Matias Manavella
2436a0c163
Update cmd/preflight/cli/root.go
...
Co-authored-by: Salah Aldeen Al Saleh <salahalsaleh1993@gmail.com >
2020-10-21 13:59:24 -03:00
Matias Manavella
7186b75f7e
--since flag added
2020-10-21 09:51:52 -03:00
Matias Manavella
e16eabd531
added flag --since-time
2020-10-19 16:53:13 -03:00
divolgin
6e86cdc803
Allow preflight spec to be loaded from a secret
2020-10-01 01:37:37 +00:00
divolgin
a0ce85ae1e
Adding troubleshoot.sh/v1beta2
2020-09-01 19:57:11 +00:00
GraysonNull
4e08ce4d93
remove commented code blocks, move appName func to shared package
2020-08-13 16:38:51 +00:00
GraysonNull
e8dc5ae1b8
use table widget for bundle analysis so scrolling works
2020-08-13 16:02:29 +00:00
GraysonNull
0e667e9685
scrolling on analyzers table
2020-08-11 15:16:23 +00:00
Marc Campbell
65f957db81
Refactor to support K8s 1.18
2020-06-12 09:28:49 -07:00
Andrew Lavery
9692d5a457
attempt to read the file at the provided path before trying url
2020-03-25 17:27:16 -04:00
Marc Campbell
bd71222715
Removing more unused code
2020-03-23 10:01:30 -07:00
Marc Campbell
983aaaacea
Defining types in a package
2020-03-10 17:32:16 +00:00
Marc Campbell
e74101070d
Refactor
2020-03-10 01:07:57 +00:00
Marc Campbell
1dda832933
Export runCollectors
2020-03-10 00:04:23 +00: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
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
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
7ac973647d
Add json output
2019-12-18 15:12:11 +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