Sign inSign up

danebarentine/k8s-monitor

By danebarentine

•Updated about 9 years ago

Simple Golang client for watching Kubernetes Events

Image
0

3.9K

danebarentine/k8s-monitor repository overview

Simple Golang client for watching Kubernetes Events. Can be run out of cluster or in cluster.

Currently I'm using this in a cluster that has a Fluentd -> Loggly daemon set running. This allows me to log Kubernetes events which Fluentd picks up and sends to Loggly.

⁠Requirements


All images are compatible with Linux OS hosts and Docker on Windows in Linux Container mode.

⁠Supported Linux tags


  • latest

⁠How to use this image


⁠Out of cluster

Looks for ~/.kube/config and uses the context set to connect to the cluster

⁠In cluster

If a kubectl config file cannot be found it will create an in cluster connection using the namespace service account

⁠Permissions

If Kubernetes authorization is enabled the account being used will need to have access to listen for events on all namespaces.

⁠Further Reading


Tag summary

Content type

Image

Digest

Size

2.8 GB

Last updated

about 9 years ago

docker pull danebarentine/k8s-monitor