New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIS cannot discover service endpoints when the targetPort is referred name instead of number #2729
Comments
@rajbaratht the service is not configured properly.
|
@trinaths I updated the svc and still I get the same error. Service
Logs from the cis controller pod
There are no current members in the pool Kindly advice |
@trinaths Any updates ? |
@rajbaratht Can you replace the name reference in targetPort and give normal integer in service definition. Refer the port name in the VS CRD. Share your findings. |
@trinaths Yes, it works if I replace the name reference in targetPort to normal integer in service definition. VS
service
logs from cis
|
@rajbaratht from your VS CRD example, please update servicePort with port name rather than number. like,
|
@trinaths I get the following error If I use string instead of integer
|
@rajbaratht - This feature is support for ServiceType LB. So this requirement is still a TODO for VS and TS CRD. Please mail this requirement to automation_toolchain_pm at f5 dot com |
Created CONTCNTR-3778 for internal tracking |
Setup Details
CIS Version : 2.10.1
Build: f5networks/k8s-bigip-ctlr:2.10.1
BIGIP Version: BIG-IP 15.1.3 Build 0.0.11 Final
AS3 Version: f5-appsvcs-3.38.0-4.noarch
Agent Mode: AS3/CCCL
Orchestration: K8S/OSCP
Orchestration Version: Kubernetes v1.22.13
Pool Mode: Cluster/Nodeport
Additional Setup details: Rancher/Calico
Description
When the service has name in TargetPort then the members in the load balancer is empty.
Steps To Reproduce
Expected Result
The endpoints should be detected by f5
Actual Result
Endpoints could not be fetched for service rabbitmq with targetPort 0
Diagnostic Information
Observations (if any)
The text was updated successfully, but these errors were encountered: