There are three main focus areas to getting a NSX-T with K8S environment up and running with the following stages:
- Build out a vSphere environment with NSX-T 3.0 (vSphere 6.7 or 7.0 only at this time)
- Download and prep the VMware K8S environment without connection to NSX-T (Review Requirements capture below)
- Download NCP 3.0.1 version (Only that will work at the moment) and follow my defined steps outlined in this post)
Get the environment prepped according to recommendations stated above to ensure you have the vSphere & NSX-T environment built and running as to VMware recommended baseline for a lab (Many examples to reference if you google it or look on VMware site for NSX-T Setup and vSphere Setup
Many ways to follow getting K8S VM environment located onto the vSphere and NSX-T built environment but this option will streamline and make the entire process very easy. Thank you Sergey Marunich!!! (Don’t need the AVI portion that can be disabled but such an easy way to get up and running fast!)
Follow the steps identified below that I will have a follow up post later after I have all steps clearly documented (Don’t forget to download NCP 3.0.1 – NOT NCP 3.):
In an environment with Kubernetes already installed, installing and configuring NCP typically involve the following steps. To perform the steps successfully, you must be familiar with NSX-T Data Center and Kubernetes installation and administration.
- Install NSX-T Data Center. (Already Done in earlier steps)
- Create an overlay transport zone. (Should Already be Done in earlier steps)
- Create an overlay logical switch and connect the Kubernetes nodes to the switch.
- Create a tier-0 logical router.
- Create IP blocks for Kubernetes pods.
- Create IP pools for SNAT (source network address translation).
- Install NSX CNI (container network interface) plug-in on each node.
- Install OVS (Open vSwitch) on each node.
- Configure NSX-T networking for Kubernetes nodes.
- Install NSX node agent as a DaemonSet.
- Install NCP as a ReplicationController.
- Mount security certificates in the NCP pod.