tapis-project / pods_service

Network Accessible Pods API.
https://tapis.readthedocs.io/en/latest/technical/pods.html
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

KG 0.32 - Refactor logging #12

Open NotChristianGarcia opened 2 years ago

NotChristianGarcia commented 2 years ago

Logging was done very quickly, needs to be thought out more though. Currently logging is running read_namespaced_pod_log with the Kubernetes python client. This gives us all current logs for the pod, up to the maximum Kubernetes itself stores (10 MB by default). Meaning when we update the pod's logs, we always have the latest 10 MB of logs.

Two possible problems: