-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Touchup kettle readme, add docs/oss-oncall-log.md #8801
Touchup kettle readme, add docs/oss-oncall-log.md #8801
Conversation
docs/oss-oncall-log.md
Outdated
|
||
"Oh yeah, I remember having to deal with that a while back... what was it again?" | ||
|
||
- Issue: https://github.com/kubernetes/test-infra/issues/8703 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of just linking the issue here, can we give it a more descriptive link text eg: Velodrome is out-of-date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like that's additional friction to what (after some thinking overnight) I am concerned is too manual a way to flag issues, but yeah let's give it a shot.
minor nit, otherwise lgtm. Feel free to remove hold anytime. /lgtm |
kettle/README.md
Outdated
|
||
```sh | ||
make get-cluster-credentials | ||
kubectl logs $(kubectl get pods -o jsonpath='{.items[?(@.metadata.labels.app=="kettle")].metadata.name}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl logs -l app=kettle
works
kettle/README.md
Outdated
#### Replace pods | ||
|
||
```sh | ||
kubectl delete pod/$( kubectl get pods -o jsonpath='{.items[?(@.metadata.labels.app=="kettle")].metadata.name}' ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl delete -l app=kettle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming this should be kubectl delete pods -l app=kettle
kettle/README.md
Outdated
|
||
If deployment.yaml changes, run 'make push deploy'. | ||
- Occasionally data from Kettle stops updating, we suspect this is due to the pod running out of disk space ([#8800](https://github.com/kubernetes/test-infra/issues/8800)). If this happens, [restart kettle](#restarting) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not running out of disk space-- we suspect this is from a transient hang when contacting GCS.
kettle/README.md
Outdated
You can watch the pod startup and collect data from various GCS buckets by looking at its logs | ||
|
||
```sh | ||
kubectl logs $(kubectl get pods -o jsonpath='{.items[?(@.metadata.labels.app=="kettle")].metadata.name}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl logs -f $(kubectl get pod -l app=kettle -oname)
kettle/README.md
Outdated
|
||
buckets.yaml is automatically fetched from GitHub. | ||
It might take a couple of hours to be fully functional and start updating BigQuery. You can always go back to [Gubernator BigQuery page](https://bigquery.cloud.google.com/table/k8s-gubernator:build.all?pli=1&tab=details) and check to see if data collection has resumed. Backfill should happen automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"back to the"
- k8s-gubernator BigQuery table is out of date | ||
- Remediation: | ||
- Kettle froze and needed to be restarted | ||
- See [Kettle's README](/kettle/README.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- added an alert on velodrome when no rows have been added to the DB in the last 6 hours http://velodrome.k8s.io/dashboard/db/bigquery-metrics?orgId=1&panelId=12&fullscreen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a note to this firing under symptoms
Instead of dropping nits in another PR, I'm suggesting via my own - Trim kettle's readme down - Move restarting instructions into kettle's readme - Add known issues section to kettle's readme, link to root cause issue - Add docs/oss-oncall-log.md as an attempt to try logging a tl;dr of oss oncall issues we've had to deal with - Incorpoorates review feedback
2940dbe
to
b725738
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AishSundar, rmmh, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
Instead of dropping nits in another PR, I'm suggesting via my own
of oss oncall issues we've had to deal with
/area kettle
/cc @AishSundar @mithrav