The dates of the kubernetes

I would like to see all the different things that happened to the cube cluster on the timeline, including when dead nodes were discovered, when new nodes were added, when containers broke and when they were restarted.

So far, the best we have found, kubectl get eventbut this, apparently, has several limitations:

  • he will not return in time so far (I'm not sure how far he will return. Day?)
  • he combines such events and orders the list by the time of the last event in each group. This makes it impossible to know what happened over a period of time, as events in this range may have been combined with later events outside the range.

One idea I have is to write a module that will use the API to view the stream of events and write them to a file. This would allow us to control the hold, and it seems that the events that occur during viewing will not be combined, solving the second problem.

What do other people do about this?

+4
source share
3 answers

, , kubelet?

+6

Dashboard?

, GKE:

enter image description here

+1

kubernetes / heapster can transfer the event to gcl and influxdb, but so far there is no api to access the stored data

0
source

All Articles