DEV Community

loading...

Weird rants of a new Devops + Backend engineer 😀 [18 June 21]

Uddeshya Singh
SDE Backend + Infra @Trell | GSoC'19 Developer FOSSASIA and GCI'19 Mentor for FOSSASIA and Tensorflow | ANIME LOVE AND GLORY GLORY MAN UNITED <3
・1 min read

Welcome to the weird notes of a new DevOps and Backend engineer. This is my (quite open) notebook on what was all the stuff I read and learnt. Not necessarily tech, you can just read on and understand what I am rambling on about.

[18 June 2021]

Stuff I learnt πŸ“

  • I finally created my own Docker image of a gin-app and deployed it in a kubernetes pod.
  • The biggest challenge? Connecting the 2 pods, our otlp-example and the opentelemetry-collector.
  • I needed to connect from pod A to port 4317 of pod B. Ofcourse, i had exposed the port in pod B using NodePort yet it didn't seem to work.
  • What finally worked? Instead of using 0.0.0.0:4317, I just needed to use otel-collector.observability.svc.cluster.local:4317 psst, it's the port name (or deployment name? not sure) , then namespace, then service and so on, which is exposed by a Node Port in this other service.
  • MAN ELASTIC APM IS AMAZING. LIKE. SO AMAZING TO LOOK AT THE TRACING <3 Elastic APM Tracing

Stuff I need to check out tomorrow? πŸ“…

  • Plan on figuring out how to collect logs from a pod using fluentD and exporting it to our dear openetelemetry-collector.
  • Use env vars to toggle the GRPC connection port.

Stuff I want to work some day in future. πŸ”­

  • Nothing today

Thanks for listening to the rant.
Uddeshya Singh,
Signing off.

Discussion (0)