Using F5 NGINX Plus as the Ingress Controller within Nutanix Kubernetes Platform (NKP)

By F5 DevCentral Community

TechnologyBusinessAI
Share:

Key Concepts:

  • Ingress Controller
  • F5 NGINX Plus
  • Nutanix Kubernetes Platform (ENKP)
  • Custom Resource Definitions (CRDs)
  • Virtual Server
  • Load Balancing (Least Time, Round Robin)
  • Real-time Monitoring
  • Active Health Checks
  • Rate Limiting

I. Introduction

  • The video focuses on optimizing ingress traffic in Kubernetes using F5 NGINX Plus as the ingress controller within the Nutanix Kubernetes Platform (ENKP).
  • Effective management of incoming traffic is crucial for running applications in Kubernetes.

II. Environment Setup

  • ENKP Demo Cluster 1: An active workload cluster is used for demonstration.
  • Namespace: NGINX Ingress namespace is specifically mentioned.
  • F5 NGINX Plus Installation: F5 NGINX Plus is installed and running as the ingress controller within the specified namespace. The latest F5 NGINX Plus image is loaded.
  • Cube Config: The cube config can be downloaded to connect to the cluster.

III. Cafe Application (Least Time Load Balancing)

  • Application Structure: The "cafe" application consists of two services: "coffee" and "tea."
  • CRDs vs. Ingress Resource: Custom Resource Definitions (CRDs) are used instead of the standard ingress resource due to their advanced load balancing functionalities.
  • F5 NGINX Plus Exclusive Features:
    • Interactive Dashboard: Provides real-time server metrics and activity monitoring.
    • Active Health Checks: Ensures service reliability.
  • Least Time Load Balancing: Traffic is distributed based on server response times, directing requests to the server with the lowest average response time and fewest active connections. This optimizes performance and minimizes latency.
  • Dashboard Observation: The F5 NGINX Plus dashboard shows uneven traffic distribution, reflecting the least time load balancing method.

IV. Bar Application (Round Robin Load Balancing)

  • Application Structure: The "bar" application consists of two services: "beer" and "wine."
  • Virtual Server CRD: A custom resource definition (virtual server) is used instead of the ingress resource.
  • Round Robin Load Balancing: Traffic is distributed evenly among the servers, irrespective of server response times.
  • Dashboard Update: The F5 NGINX Plus dashboard updates instantly upon deployment, showing even traffic distribution.
  • Scaling Demonstration: Scaling up the pods for "beer" and "wine" services results in live, real-time changes reflected on the F5 NGINX Plus dashboard.

V. Application Testing and Rate Limiting

  • Browser Testing: Both the "cafe" and "bar" applications are tested in a browser to confirm they are working as expected.
  • Rate Limiting Policy: A rate limiting policy is applied to the "cafe" application.
  • Real-time Visibility: The NGINX Plus dashboard updates instantly, showing live metrics and highlighting rejected requests with 503 responses. This allows for real-time monitoring and enforcement of traffic control measures.

VI. Conclusion

  • F5 NGINX Plus provides reliability, flexibility, and enhanced security as an ingress controller.
  • It is an excellent solution for managing traffic within Nutanix Kubernetes Platform environments.
  • For more information, viewers are directed to contact their F5 representative.

VII. Key Arguments and Supporting Evidence

  • Argument: F5 NGINX Plus offers superior load balancing capabilities compared to the open-source version and standard Kubernetes Ingress.
    • Evidence: The demonstration of "least time" load balancing in the "cafe" application, which is not available in the open-source version, showcases optimized performance based on server response times.
  • Argument: F5 NGINX Plus provides real-time visibility and control over traffic.
    • Evidence: The instant updates on the dashboard when scaling pods and applying rate limiting policies demonstrate the real-time monitoring and enforcement capabilities.

VIII. Notable Quotes

  • "F5 EngineX Plus provides exclusive features not available in the open source version such as this interactive dashboard for real-time server metrics and activity monitoring as well as active health checks to ensure service reliability."
  • "...least time load balancing method which directs each request to the server with the lowest average response times and the fewest active connections. This advanced load balancing method helps ensure optimal performance and minimal latency for users and is another exclusive advantage of F5 EngineX Plus over the open source version."

IX. Synthesis/Conclusion

The video effectively demonstrates the advantages of using F5 NGINX Plus as an ingress controller within a Nutanix Kubernetes Platform environment. By showcasing features like advanced load balancing algorithms (least time), real-time monitoring dashboards, and active health checks, the video highlights the enhanced reliability, flexibility, and control that F5 NGINX Plus provides compared to standard Kubernetes ingress resources and the open-source NGINX. The practical examples of the "cafe" and "bar" applications, along with the rate limiting demonstration, provide concrete evidence of these benefits. The key takeaway is that F5 NGINX Plus offers a robust solution for optimizing and managing ingress traffic in Kubernetes, leading to improved application performance and user experience.

Chat with this Video

AI-Powered

Hi! I can answer questions about this video "Using F5 NGINX Plus as the Ingress Controller within Nutanix Kubernetes Platform (NKP)". What would you like to know?

Chat is based on the transcript of this video and may not be 100% accurate.

Related Videos

Ready to summarize another video?

Summarize YouTube Video