Skip to content

IPAM Controller not creating VIP custom resource when using annotation service.citrix.com/frontend-ip #674

Open
@philipp1992

Description

@philipp1992

Describe the bug
We create a service that should use a static vip via the annotation service.citrix.com/frontend-ip: .
This works and the service loadbalancer is reachable.
Unfortunately, no VIP CR is created and therefore we had the issue, that the IPAM controller didnt know this ip was already in use and assigned it to another service loadbalancer, thus creating a conflict.

When we first create the vip cr manually and then omit the annotation on the service, it works as expected.

To Reproduce

  1. Steps
kind: Service
apiVersion: v1
metadata:
  name: test-lb
  namespace: xxxx
  annotations:
    service.citrix.com/frontend-ip: xxx
spec:
  externalTrafficPolicy: Cluster
  ipFamilies:
    - IPv4
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: acme-http
    - name: https
      protocol: TCP
      port: 443
      targetPort: https
  internalTrafficPolicy: Cluster

  allocateLoadBalancerNodePorts: true
  type: LoadBalancer
  ipFamilyPolicy: SingleStack
  sessionAffinity: None
  selector:
    app.kubernetes.io/instance: xxxx
  1. Version of the NetScaler Ingress Controller
    ingress-controller: 1.39.6
    ipam-controller: 1.0.3

  2. Version of MPX/VPX/CPX
    NS14.1 25.56.nc

Expected behavior
A VIP being created so that the ip can not be reused for other services.

Logs

kubectl logs

ipam controller isnt logging any errors or information in this case

kind regards
Philipp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions