Thomas Hargrove
b9774f47b7
Update README.md
2020-02-05 09:08:39 -08:00
sana-jawad
326c1194e3
Fix for Sloop garbage collection when its not able to successfully decrease the size on disk ( #100 )
...
Solved Problem: Disk usage in our cluster grew way beyond the config limit resulting the application to be OOM killed. There were a couple of issues identified and fixed as follows:
1. Event count table data (although it is the smallest table in terms of number of keys and size) was getting added beyond the max look back time.
2. The sprinkling of event count data was using max look back as a boundary resulting in small partitions containing very less event count data spread all across till look back time.
3. Garbage collection was never called for watch activity table.
4. Added prometheus Metrics for better visibility.
2020-02-04 10:23:33 -08:00
Thomas Hargrove
ba2c651886
Add better badger debugging ( #101 )
2020-01-31 00:08:34 +05:30
mtmn
a9469f43b5
[providers/aws/sloop-to-eks.sh] Add 'profile' parameter ( #95 )
2020-01-24 05:00:46 +05:30
Thomas Hargrove
4b0a27ee78
Tweak Badger GC and expose several Badger config options ( #94 )
...
* Add value log GC
* Add various badger options and tweak our GC
* Add more metrics and PR comments
* PR Comments
* Fix metrics
* Fix latency metrics
* Minot comment tweaks
2020-01-07 23:59:59 +05:30
DuncanSmith1126
6ec9eb4f30
Update badger to v2 ( #92 )
2020-01-04 00:38:09 +05:30
Ash Caire
93fce49aed
Use Values.name for configMap name ( #91 )
...
The created config map uses Values.name, so the pod reference
should also use it otherwise the pod fails to start
2019-12-11 09:51:09 -08:00
DuncanSmith1126
9a32526aa8
Updating screenshot ( #89 )
2019-12-09 16:03:09 -08:00
DuncanSmith1126
7c160d5576
Change to dark mode ( #87 )
...
* Change to dark mode
* Fixes
* more fixes
2019-12-09 14:46:54 -08:00
hsiddulugari
f9832284e1
Added aws-iam-authenticator to docker and a launch script ( #73 )
...
* Add aws-iam-authenticator to docker and a launch script
* Move sloop-to-eks.sh to provider specific dir
2019-11-21 18:34:27 -08:00
Min Wang
5fc97a7211
Update README for slack info ( #84 )
...
* Update README.md
* Update README.md
* Update README.md
2019-11-21 16:14:02 -08:00
Ryan Brainard
add645bce3
Database Restore ( #76 )
...
* Add db.Load() to interface, impl, mock
* Add Database Restore Feature
* Document backup and restore
* Remove DB restore test
2019-11-18 16:12:26 -08:00
Ryan Brainard
d3cfa2900c
Only require valid context when watching ( #75 )
...
* Split MakeKubernetesClient into Client & Context as to avoid -disable-kube-watch from requiring a valid context
Fixes https://github.com/salesforce/sloop/issues/58
* Put back kubeContext into log line
2019-11-18 15:37:22 -08:00
Thomas Hargrove
760cad8087
Fix diff in inner html ( #80 )
2019-11-18 12:07:31 -08:00
Duke Harlan
8e48c18490
attempting to repair damage from previous padding change ( #79 )
...
* attempting to repair damage from previous padding change
* address PR comment
2019-11-18 11:43:16 -08:00
Thomas Hargrove
d03755ab0b
Clean up logo and make it smaller ( #78 )
2019-11-18 10:13:48 -08:00
Thomas Hargrove
051a1283e5
Add logo to readme ( #77 )
2019-11-18 09:32:11 -08:00
Ryan Brainard
6788033426
Update readme to link to Docker image ( #74 )
...
* Update readme to link to Docker image
* Remove comment from Helm chart about user setting their own image
2019-11-18 09:10:10 -08:00
Min Wang
79d4efcad4
Add the payload diff feature ( #72 )
...
* Add the payload diff feature
* address comments
2019-11-17 13:05:23 -08:00
Min Wang
5c23139bdc
Add payload json blob ( #68 )
...
* display payload json
* fix rebase conflict
* fixed nits
* remove unused files
* address comments
2019-11-15 13:37:49 -08:00
Thomas Hargrove
847119c2c4
Fix race condition in unit test ( #71 )
2019-11-15 13:31:35 -08:00
Duke Harlan
9e42aca84a
move padding in to resource.html - duplicate behavior in multiple uses ( #70 )
2019-11-15 13:28:08 -08:00
nurland
5b5f9064ae
Enable auto push of docker images ( #69 )
...
* Enable auto push of docker images
* Fix Makefile
2019-11-15 13:17:31 -08:00
Thomas Hargrove
66bdd92f39
Fix defaultLookback if not set in config ( #67 )
2019-11-14 17:15:45 -08:00
Thomas Hargrove
d4144e95ea
Remove dupe events for details page ( #66 )
...
* Remove dupe events for details page
* Fix non-namespaces resources
* PR feedback
* PR Feedback
2019-11-14 16:18:37 -08:00
nurland
b9dd316ece
Update helm instructions and add Docker Pulls badge ( #65 )
2019-11-14 15:03:50 -08:00
Thomas Hargrove
4cb746ddd9
Add precise time filtering to event and payload views ( #64 )
...
* Properly compute time ranges for resource details page
* Fix typos
* Add unit tests
* PR Feedback
2019-11-14 15:01:10 -08:00
nurland
207e913bd8
Update helm chart to use public Sloop image ( #63 )
2019-11-14 13:03:10 -08:00
DuncanSmith1126
18de6643a5
Fixed author and resource detail page ( #59 )
2019-11-14 12:49:21 -08:00
Ryan Brainard
630fbc9d83
Fix Helm service name and port forwarding ( #60 )
...
* Fix Helm service selector to use label name
* Fix port forward instructions to use service
2019-11-14 10:12:15 -08:00
Thomas Hargrove
fec78f6851
Make architecture image smaller ( #61 )
2019-11-14 10:02:53 -08:00
Min Wang
2586192ac7
fix the misplacement of code caused by go gen ( #55 )
2019-11-12 17:25:09 -08:00
Ryan Brainard
6bf8712bad
Data Backup Endpoint ( #56 )
...
* Add /data/backup endpoint to dump database
* Use tables.Db() instead of raw db
* Add backupHandler doc
* Provide better error message for since parsing issues
2019-11-12 17:15:26 -08:00
Duke Harlan
c54c004c25
add top level sort of 'kind' ( #57 )
2019-11-12 17:07:24 -08:00
Min Wang
bc8bbe15e6
Add Payload frontend ( #54 )
...
* wip
* Show payloads during window time
This PR adds getPreviousKey logic in getPayload logic.
Add front end to show the payloads during the windown time.
* address comments
* fix the unused code
2019-11-08 17:19:46 -08:00
Thomas Hargrove
ae699affed
Add new logo ( #53 )
...
* Add new logo
* Fix file extension
2019-11-04 10:34:57 -08:00
Thomas Hargrove
da0ba06f40
Update archicture diagram ( #48 )
2019-10-22 10:14:57 -07:00
Thomas Hargrove
ae6842736b
Add go report card and fix some errors ( #49 )
2019-10-22 10:14:47 -07:00
nurland
a634980400
Add .git to .dockerignore ( #46 )
2019-10-16 17:32:10 -07:00
nurland
32883be3f5
Add dockerignore ( #45 )
2019-10-16 17:00:11 -07:00
Min Wang
e12e194b97
use gogen to add unit tests for getPreviousKey ( #4 )
...
* use gogen to add unit tests for getPreviousKey together with its supporting function
* address comments
* address comments
* Address comments
* Add more comments
* Add more unit test cases
* change the text of the unit tests
2019-10-16 16:41:26 -07:00
Duke Harlan
fd4a7a7714
use kind.group where possible for CRDs ( #44 )
2019-10-16 17:35:07 -04:00
Thomas Hargrove
4f05081ad2
Fix the binary path in the helm statefulset ( #43 )
...
* Fix the binary path in the helm statefulset
* Add RBAC needed to list and watch CRDs
* Update comments in helm clusterrole
2019-10-16 10:19:40 -07:00
Duke Harlan
e6b76a6dad
use consistent config across multiple types of clients ( #38 )
...
* use consistent config across multiple types of clients
* enable CRD watching by default
2019-10-15 17:11:41 -07:00
nurland
455c68af46
Add build status to readme ( #42 )
2019-10-15 17:06:57 -07:00
nurland
82f5f9f250
Add travis ci support ( #39 )
2019-10-15 14:54:34 -07:00
Min Wang
54726b44e7
fix the partiton for keycomparator ( #35 )
2019-10-14 16:26:01 -07:00
Min Wang
7b94f657a3
use gogen to get keyPredicateFn and valPredicteFn ( #30 )
2019-10-14 10:20:49 -07:00
Thomas Hargrove
1076a4005f
Fix helm README and last lint error ( #29 )
...
* Fix helm README and last lint error
* Fix extra link
2019-10-14 10:17:08 -07:00
Min Wang
f69bda0634
speed up eventquery ( #24 )
...
* speed up eventquery
* address comments
2019-10-10 17:41:35 -07:00