Custom Formatting With bufio.Scanner() in Golang(Kubernetes API)

To get the runtime logs of an active project on Pipeops, I needed to fetch the pod logs from an AWS EKS cluster, using Kubernetes’ API. By default, the API only returns the most recent logs as of the time of the request. This meant that in order to have the logs updated, several calls had to be made. I pushed the logs to Google’s Firebase Cloud Firestore where the front-end read from to give the “real-time” feel....

September 8, 2022 · 5 min · 900 words · Sayo Paul