/nuage-network-operator

A Kubernetes operator to deploy and manage the Nuage Kubernetes Integration components.

Primary LanguageGoApache License 2.0Apache-2.0

Nuage CNI Operator

Nuage CNI operator manages Nuage Monitor, VRS and CNI daemonsets in a Kubernetes/OpenShift cluster. This operator reconciles Nuage CNI config custom resource and creates/updates daemonsets based on the cluster state before reconcile.

Building the operator

Nuage CNI Operator images can be built using operator-sdk version v1.2.0

make docker-build IMG=<image name>:<tag>

Kubernetes

Please refer to offical Nuage documentation with detailed information to create a Kubernetes cluster with Nuage SDN.

Following steps only provide an overview to create a Kubernetes cluster with Nuage SDN as networking backend.

  1. Create initial kubernetes cluster using kubeadm. Nodes would be in NotReady state as the network components are not yet created.
  2. On VSD, create an enterprise and add an admin user to the enterprise. Please refer to VSP documentation for this
  3. Update operator image in the deployment
  4. Populate NuageCNIConfig custom resource. A sample custom resource file can be found here
  5. Nuage Monitor, CNI and VRS components are created in nuage-network-operator namespaces as daemonsets