Orphaned L7 Virtual Servers remain in NSX after deleting all Ingress resources from the Supervisor
search cancel

Orphaned L7 Virtual Servers remain in NSX after deleting all Ingress resources from the Supervisor

book

Article ID: 431089

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

 - Ingress resources using NSX were previously created on the vSphere Supervisor, but they have since been deleted.

 - L7 Virtual Servers with the following names exist under [Networking] -> [Load Balancing] -> [Virtual Servers] in the NSX Manager:

<YOUR_VSPHERE_NAMESPACE>-domain-c*-http
<YOUR_VSPHERE_NAMESPACE>-domain-c*-https_terminated

 - No Ingress or Service exists with the external IP of the Virtual Server.

kubectl get ingress,svc -A

Environment

vSphere Supervisor + NSX

Cause

This is the expected behavior.
The lifecycle of the L7 Virtual Server is tied to the vSphere namespace rather than Ingress resources.

Resolution

Do not delete L7 Virtual Servers manually.
The L7 Virtual Servers are cleaned up when the vSphere namespace is deleted.

Additional Information

Japanese KB: スーパーバイザから全てのIngressリソースを削除した後もNSX上にL7の仮想サーバが残存する