• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cilium / cilium / 42530 / 1
39%
master: 39%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2022 03:52PM UTC
Files 941
Run time 6min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2022 03:00PM UTC coverage: 33.742% (-0.05%) from 33.788%
42530.1

push

travis-ci-com

aanm
ingress: Fix issue with port number is not used

This commit is to fix the issue that the port number of backend service
is not used i.e. regardless of port values, all the endpoints of ingress
backend are routable via Ingress.

Before

```
$ kg ingress basic-ingress -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: basic-ingress
  namespace: default
spec:
  ingressClassName: cilium
  rules:
  - http:
      paths:
      - backend:
          service:
            name: details
            port:
              number: 9999
        path: /details
        pathType: Prefix
      - backend:
          service:
            name: productpage
            port:
              number: 9080
        path: /
        pathType: Prefix

$ curl http://$lb/details/1
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}
```

After

```
$ curl http://$lb/details/1
no healthy upstream

// Change invalid port number 9999 to 9080
$ curl http://$lb/details/1
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}
```

Signed-off-by: Tam Mach <tam.mach@cilium.io>

47692 of 141344 relevant lines covered (33.74%)

1938.32 hits per line

Source Files on job 42530.1
  • Tree
  • List 0
  • Changed 123
  • Source Changed 11
  • Coverage Changed 122
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28599
  • Travis Job 42530.1
  • eb902ce3 on github
  • Prev Job for on master (#42498.1)
  • Next Job for on master (#42549.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc