Planning to use NCP as a networking backend for Kubernetes. Following the VMware docs, I am able to make NCP work by manually adding the required Kubernetes Cluster/ Node tags to the segment port of the VM.
But is there any way to make an API call to add a particular tag to particular vnic of a VM on a NSX-T segment.???
For example, below two tags should be applied to segment port of VM Name: K8s-ncp-master1, Segment Name: K8s-L2
Tag: k8s-ncp-master1 Scope: ncp/node_name
Tag: k8s-ncp-cluster Scope: ncp/cluster