🎤Speaking at Red Hat Summit 2026GPUs take flight: Safety-first multi-tenant Platform Engineering with NVIDIA and OpenShift AILearn More

🌐 Networking Recipes

Master Kubernetes networking with recipes covering Ingress controllers, Service types, NetworkPolicies, DNS configuration, and load balancing patterns.

27 recipes available

Intermediate

Configure SR-IOV agent-config.yaml with Device by Path

Use agent-config.yaml to select network devices by PCI path for SR-IOV VF creation, ensuring deterministic NIC targeting across OpenShift nodes.

⏱ 25 minutes K8s 1.28+

Enable NIC Feature Discovery in NVIDIA Network Operator

Enable NIC Feature Discovery through NicClusterPolicy and verify the node labels required by SR-IOV and RDMA GPU networking workflows on Kubernetes.

⏱ 20 minutes K8s 1.28+

Create SR-IOV VFs on OpenShift with SriovNetworkNodePolicy

Use the OpenShift SR-IOV Network Operator to create and manage Virtual Functions from selected Physical Functions on GPU worker nodes.

⏱ 25 minutes K8s 1.28+

Verify Which Interface Carries OVN Underlay Traffic

Confirm the actual OVN underlay network path by checking ovn-encap-ip, bridge port ownership, and physical route associations on Kubernetes nodes.

⏱ 15 minutes K8s 1.28+

How to Use Kubernetes Gateway API

Implement the Gateway API for advanced traffic routing in Kubernetes. Learn HTTPRoute, TLSRoute, and traffic splitting with the next-generation Ingress.

⏱ 30 minutes K8s 1.28+

How to Set Up Linkerd Service Mesh

Deploy Linkerd service mesh for Kubernetes. Learn to add mTLS encryption, traffic management, and observability with minimal configuration overhead.

⏱ 35 minutes K8s 1.28+

How to Configure Kubernetes Cluster DNS

Customize CoreDNS configuration for your cluster. Add custom DNS entries, configure forwarding, and optimize DNS resolution.

⏱ 15 minutes K8s 1.28+

How to Customize DNS Configuration in Kubernetes

Configure custom DNS settings in Kubernetes. Learn CoreDNS customization, stub domains, upstream servers, and pod DNS policies.

⏱ 15 minutes K8s 1.28+

How to Configure Kubernetes DNS Policies

Control pod DNS resolution with DNS policies and configs. Configure custom nameservers, search domains, and optimize DNS for your workloads.

⏱ 15 minutes K8s 1.28+

How to Implement Request Routing with Ingress

Configure advanced routing rules with Kubernetes Ingress. Implement path-based routing, host-based routing, and traffic management.

⏱ 15 minutes K8s 1.28+

How to Secure Ingress with SSL/TLS Certificates

Configure TLS termination for Kubernetes Ingress using cert-manager and Let's Encrypt. Automate certificate issuance and renewal.

⏱ 15 minutes K8s 1.28+

How to Configure DNS in Kubernetes

Understand and configure Kubernetes DNS with CoreDNS. Customize DNS policies, configure external DNS resolution, and troubleshoot DNS issues.

⏱ 15 minutes K8s 1.28+

How to Use Kubernetes EndpointSlices

Understand and manage EndpointSlices for scalable service discovery. Configure endpoint slicing, troubleshoot connectivity, and optimize large clusters.

⏱ 15 minutes K8s 1.28+

How to Implement Network Policies

Secure pod-to-pod communication with Kubernetes Network Policies. Learn to create ingress and egress rules, isolate namespaces, and implement zero-trust.

⏱ 15 minutes K8s 1.28+

How to Implement Rate Limiting in Kubernetes

Protect your services with rate limiting. Configure rate limits using Ingress, service mesh, and API gateways to prevent abuse and ensure fair usage.

⏱ 15 minutes K8s 1.28+

How to Configure NGINX Ingress with TLS using cert-manager

Learn how to set up NGINX Ingress Controller with automatic TLS certificates from Let's Encrypt using cert-manager. Complete YAML examples and.

⏱ 20 minutes K8s 1.28+

Advanced

SR-IOV NicClusterPolicy for VF Configuration

Configure SR-IOV Virtual Functions on Mellanox ConnectX NICs using the NVIDIA Network Operator NicClusterPolicy for high-performance Kubernetes networking.

⏱ 25 minutes K8s 1.27+

SR-IOV VF Networking for AI Workloads

Deploy SR-IOV Virtual Functions with RDMA support for distributed AI training on Kubernetes, including multi-NIC pod configuration and NCCL tuning.

⏱ 30 minutes K8s 1.27+

Configure GPUDirect RDMA with the NVIDIA GPU Operator

Set up GPUDirect RDMA on Kubernetes using the NVIDIA GPU Operator with either DMA-BUF or legacy nvidia-peermem, including Network Operator integration.

⏱ 60 minutes K8s 1.28+

Switch GPUDirect RDMA from nvidia-peermem to DMA-BUF

Migrate from the legacy nvidia-peermem kernel module to the recommended DMA-BUF GPUDirect RDMA path using the NVIDIA GPU Operator.

⏱ 45 minutes K8s 1.28+

Validate GPUDirect RDMA Performance with DMA-BUF

Run ib_write_bw with CUDA DMA-BUF to verify GPUDirect RDMA data transfer rates between GPU pods and validate network operator configuration.

⏱ 30 minutes K8s 1.28+

Configure SriovNetwork with NVIDIA nv-ipam

Create a SriovNetwork resource that auto-generates a Multus NetworkAttachmentDefinition using nv-ipam for high-performance SR-IOV secondary interfaces.

⏱ 20 minutes K8s 1.28+

Create an NVIDIA nv-ipam IPPool for SR-IOV Networks

Define a valid nv-ipam IPPool and node-aware sizing strategy so SR-IOV workloads can reliably obtain secondary interface IP addresses on Kubernetes.

⏱ 15 minutes K8s 1.28+

Istio Traffic Management and Routing

Implement advanced traffic management with Istio service mesh including traffic splitting, fault injection, circuit breaking, and intelligent routing.

⏱ 55 minutes K8s 1.28+

How to Implement Service Mesh with Istio

Deploy Istio service mesh for traffic management, security, and observability. Learn to configure virtual services, destination rules, and mTLS.

⏱ 15 minutes K8s 1.28+

Want more networking patterns?

Our book includes an entire chapter dedicated to networking with dozens more examples.

📖 Explore All Chapters
Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens