F5Networks / k8s-bigip-ctlr

Repository for F5 Container Ingress Services for Kubernetes & OpenShift.
Apache License 2.0
357 stars 195 forks source link

Static routes not added if a label not added to a namespace when --namespace-label used #3424

Open sandwicher0 opened 4 months ago

sandwicher0 commented 4 months ago

Setup Details

CIS Version : 2.16.1 Build: f5networks/k8s-bigip-ctlr:latest
BIGIP Version: Big IP 17.1.1
AS3 Version: 3.48 Agent Mode: AS3
Orchestration: K8S
Orchestration Version:
Pool Mode: Cluster
Additional Setup details: OCP 4.14, Static routing mode,

Description

When the --namespace-label is specified in the CIS pod argument, it is expected to add Static routes to the nodes to associated BIG-IP but if any namespace does not have that label, the Route will not be registered. Static routes should be registered with or without namespace labels. If "namespace" is specified in the CIS pod arg, Static routes will be registered even if the namespace does not exist.

Steps To Reproduce

1) remain namespaces unlabeled 2) define CIS pod declaration with arg --namespace-label= 3) create CIS pod

Expected Result

Static routes automatically registered to the BIG-IP

Actual Result

No static routes automatically registered to the BIG-IP.

Internal cases had been raised

trinaths commented 4 months ago

Created [CONTCNTR-4739] for internal tracking.