How to Route External Traffic to Kubernetes Pods

In Kubernetes, traffic is routed to Pods. This post will help explain Kubernetes Route rules and show how they can be used to route external traffic to pods. Route rules are Kubernetes’ routing mechanism for forwarding packets from one interface on a node to another. Routes control the set of destination IP addresses that can be reached by sending or receiving packets on an interface.

Read more

Create a Service in Kubernetes Using a Manifest File

Creating a Kubernetes service is the first step in exposing your application to the world. A Kubernetes service defines how an application is exposed to the outside world. It also defines how load balancing and routing are handled for that application. In this article, we will create a Kubernetes service a web application running Nginx.

Read more

View Kubernetes Pod Logs With Kubectl

If you’ve spent any amount of time in the Kubernetes world, then you know that it’s a complex system to master. Luckily for us, we don’t need to understand all of its inner workings. All we really need is kubectl and maybe a couple of commands about pods and services. In this post, I’ll show you how to view pod logs with kubectl.

Read more