Sign inSign up

theykk/logger

By theykk

Updated almost 6 years ago

Image
2

7.4K

theykk/logger repository overview

dockeri.co

TheYkk K8S Logger

This tool runs a pod at every node in K8s via deamonset. The pod connects node's /var/log/containers folder and adds to mongodb by collecting logs

Installation

Create mongodb url secret

kubectl create secret generic theykk-logger --from-literal=MONGO_URI=<Mongodb connection url>

Apply rbac and deamonset

kubectl apply -f https://raw.githubusercontent.com/TheYkk/logger/master/rbac.yaml

kubectl apply -f https://raw.githubusercontent.com/TheYkk/logger/master/deamonset.yaml

Buil docker image

DOCKER_BUILDKIT=1 docker build -t theykk/logger .

and push the docker hub

docker push theykk/logger

Author

👤 TheYkk <Kaan Karakaya [email protected]>

Show your support

Give a ⭐️ if this project helped you!

License

APACHE

Tag summary

Content type

Image

Digest

Size

29 MB

Last updated

about 6 years ago

docker pull theykk/logger