jaeger-operator icon indicating copy to clipboard operation
jaeger-operator copied to clipboard

Add http- prefix to port names to resolve similar issue to PR-1862

Open dcw329 opened this issue 2 years ago • 2 comments

Which problem is this PR solving?

https://github.com/jaegertracing/helm-charts/issues/344#issuecomment-1100166786 (partially)

Short description of the changes

Adding a prefix to service port names, resolves issues with istioctl

istioctl analyze
Info [IST0118] (Service istio-system/jaeger-operator-webhook-service) Port name  (port: 443, targetPort: 9443) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service istio-system/streaming-jaeger-collector-headless) Port name otlp-grpc (port: 4317, targetPort: 4317) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service istio-system/streaming-jaeger-collector-headless) Port name otlp-http (port: 4318, targetPort: 4318) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service istio-system/streaming-jaeger-collector) Port name otlp-grpc (port: 4317, targetPort: 4317) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service istio-system/streaming-jaeger-collector) Port name otlp-http (port: 4318, targetPort: 4318) doesn't follow the naming convention of Istio port.

dcw329 avatar Aug 07 '22 01:08 dcw329

I am installing default istioctl istio, and jaeger via jaeger operator. Failing on istioctl analyze with above error.

istioctl version
client version: 1.14.2
control plane version: 1.14.2
data plane version: 1.14.2

I dont think this requires additional discussion. It just seems the prior PR was not a complete one to resolve the naming issue.

More Istio Documentation https://istio.io/v1.5/docs/reference/config/analysis/ist0118/ https://istio.io/latest/about/faq/#naming-port-convention

dcw329 avatar Aug 07 '22 02:08 dcw329

@dcw329, could you take a look to the failing PR checks? I think you need to sign off your commits

iblancasa avatar Aug 09 '22 10:08 iblancasa

hi @dcw329 thanks for your contribution. To continue you need to sign off your commits. [contributing-code]

2. All commits in the PR must be signed (verified by the DCO check on GitHub).

frzifus avatar Aug 18 '22 09:08 frzifus

Codecov Report

Base: 88.28% // Head: 88.28% // No change to project coverage :thumbsup:

Coverage data is based on head (288345b) compared to base (53f3e0a). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2018   +/-   ##
=======================================
  Coverage   88.28%   88.28%           
=======================================
  Files         100      100           
  Lines        6437     6437           
=======================================
  Hits         5683     5683           
  Misses        556      556           
  Partials      198      198           
Impacted Files Coverage Δ
pkg/deployment/otlp.go 88.23% <100.00%> (ø)
pkg/service/collector.go 98.87% <100.00%> (ø)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Aug 18 '22 09:08 codecov[bot]

hi @dcw329, could you please have a look?

frzifus avatar Sep 06 '22 09:09 frzifus

Closed as inactive. Feel free to reopen if this PR is still being worked on.

frzifus avatar Sep 16 '22 12:09 frzifus