Skip to content

Commit

Permalink
Rename file and add more to monitoring section
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebell committed Jan 26, 2024
1 parent e506206 commit e05d8ba
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,19 @@ See documentation for upgrading a [cluster](upgrade-eks-cluster.html).

## Monitoring the upgrade

* Setup pingdom alerts for starter-pack helloworld app
* @todo more
* Setup pingdom alerts for starter-pack helloworld and multi-container app

> When nodes recycle it's possible that the multi-container app will break giving false positives.

* Useful command liners
* `watch -n 1 "kubectl get events"` - get all Kubernetes events
* `watch -n 1 "kubectl get pods -A | grep ContainerStatusUnknown"` - get all containers in "ContainerStatusUnknown" state
* `watch -n 1 "kubectl get pods -A | grep Error"` - get all containers in "Error" state
* `watch -n 1 "kubectl get nodes --sort-by=\".metadata.creationTimestamp\""` - get all nodes and sort by create timestamp

* Useful third party tools
* [k9s](https://k9scli.io/)
* [Stern](https://github.com/stern/stern)

## Final Tests

Expand Down

0 comments on commit e05d8ba

Please sign in to comment.