DEV Community

Uddeshya Singh
Uddeshya Singh

Posted on

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

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.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay