flagger
flagger copied to clipboard
Flagger doesn't copy identical ports to services
Flagger doesn't copy identical ports to services
To Reproduce
We have deployment resource which have follow container port mapping:
ports:
- name: http
containerPort: 8080
protocol: TCP
- name: monitoring
containerPort: 8080
protocol: TCP
When we enable flagger for that deployment, Flagger copy only http port to canary services, the parameter portDiscovery is enabled
Expected behavior
Flagger copies both ports
Additional context
- Flagger version: 1.25.0
- Service Mesh provider: Istio
- Ingress provider: Nginx
i can't reproduce with the latest version of Flagger, kindly update and see if the error persists.