k8s-with-nsx-t-2.5.x icon indicating copy to clipboard operation
k8s-with-nsx-t-2.5.x copied to clipboard

This repository outlines and explains the steps to integrate NSX-T 2.5.x with K8S

VMware NSX-T 2.5.x and Kubernetes (K8S) Guide

This disclaimer informs readers that the views, thoughts, and opinions expressed in this series of posts belong solely to the author, and not necessarily to the author’s employer, organization, committee or other group or individual.

The goal of this series of posts is to outline and explain the steps to integrate VMware NSX-T 2.5.0, using its declarative API called Policy API , with Kubernetes control plane.

List of components used in this environment are;

  • vCenter 6.7 U1b (Build 11727113)
  • ESX 6.7 U2 (Build 13006603)
  • NSX-T 2.5.0 (Build 14663978)
  • NSX Container Plugin 2.5.0 (Build 14628220)
  • Ubuntu Server 18.04.3
  • Docker CE 18.06.0
  • Kubernetes 1.14.7

It is highly recommended to check the following resources for compatibility requirements.

  • VMware Product Interoperability Matrices
    https://www.vmware.com/resources/compatibility/sim/interop_matrix.php#interop&175=&2=&1=

  • NSX Container Plugin 2.5 Release Notes https://docs.vmware.com/en/VMware-NSX-T-Data-Center/2.5/rn/NSX-Container-Plugin-25-Release-Notes.html

NOTE : Notice there is a specific note in NCP release notes about support on up to a specific Linux Kernel version. Hence locking your Linux Kernel when updating the Ubuntu Server is important. This is mentioned in the respective section in Part 2.

  • NSX Container Plug-in for Kubernetes and Cloud Foundry - Installation and Administration Guide https://docs.vmware.com/en/VMware-NSX-T-Data-Center/2.5/rn/NSX-Container-Plugin-25-Release-Notes.html

This series does NOT provide the generic intro level information on NSX-T or K8S. To have a basic understanding of NSX-T please watch the VMworld session recordings. Similarly for K8S, Pluralsight and A Cloud Guru trainings by Nigel Poulton and Udemy trainings by Mumshad Mannambeth is highly recommended.

The Part 1 , Part 2 and Part 3 of the NSX-T 2.4.x series can be reviewed to get a basic understanding of how the integration of NSX-T with K8S looks like. Part 5 and Part 6 of same series may still help in understanding and learning K8S Service an K8S Network Policy constructs though.

This series will be focusing on the delta between NSX-T 2.4.x and NSX-T 2.5.x hence it may refer to some of the points that were mentioned in previous series K8S with NSX-T 2.4.x

Part 1

  • Lab Infrastructure
  • Current State

Part 2

  • NSX Components in K8S Integration
  • Ubuntu 18.04 Installation
  • Docker Installation
  • K8S Installation

Part 3

  • Configuring NSX Objects for K8S
  • NSX Downloadables for K8S
  • Content of Manifest File

Part 4

  • Deploying NSX Components in K8S Cluster
  • Creating Namespace and Deploying Test Workloads
  • Troubleshooting