profile

Ivan on the Server Side

DevOps Challenge of the Week


Hello friends!

I asked on Twitter, and the reaction was only positive, so I'm trying it. This is a pilot issue of the new format - DevOps Challenge of the Week.

This week, there will be not one but three challenges - all united by a single topic.

Port Forwarding

Port forwarding, a.k.a. port mapping or, in Docker’s parlance, port publishing, is a form of Network Address Translation (NAT) that redirects packets from one address to another.

I often use port forwarding to interconnect services when it's not possible or desirable to change their configuration or when I need to establish temporary connectivity and expose a service to external consumers. In the Docker & Kubernetes domains, it's also ubiquitous - the following commands are all examples of port forwarding:

  • docker run -p
  • kubectl port-forward
  • kubectl proxy

Having this trick in the toolbelt and being able to apply it quickly will make you look like a real DevOps pro, so go map a few ports - it'll be fun 😎

Good luck!

P.S. It's not like it's needed to access the above challenges, but there is now a way to get a week of free trial Premium Access. It'll make your playgrounds x2 faster and remove the daily playtime limit.

Ivan on the Server Side

A satellite project of labs.iximiuz.com - an indie learning platform to master Linux, Containers, and Kubernetes the hands-on way πŸš€

Share this page