David Cao

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

k8s – port vs targetPort vs NodePort

In Kubernetes, when configuring a Service to expose your applications, you’ll encounter three key port concepts: port, targetPort, and NodePort. Understanding the distinctions and relationships between these ports is crucial for effectively managing access to your applications running within Pods.…

Understanding targetPort in Kubernetes

In Kubernetes, when defining a Service to expose your application, the concept of targetPort plays a crucial role in routing incoming traffic to the correct destination within your Pods. What is targetPort? How does targetPort work? Example Usage Consider a…

K8s – Node IPs vs Pod IPs vs Cluster IPs vs NodePort

In a Kubernetes environment, understanding the different types of IP addresses and how they are used is crucial for managing communication within and outside the cluster. understanding  different types of IP addresses in Kubernetes To illustrate these concepts, let’s consider…

ClusterIP NodePort LoadBalancer: Kubernetes Service Types

Kubernetes, the orchestration system for managing containerized applications, offers a variety of service types to ensure your applications are accessible and communicate efficiently. Each service type caters to specific use cases, balancing accessibility with resource allocation. Let’s delve into the…