diff --git a/pkg/deployment/otlp.go b/pkg/deployment/otlp.go index 68d49d0cf..54173905a 100644 --- a/pkg/deployment/otlp.go +++ b/pkg/deployment/otlp.go @@ -25,11 +25,11 @@ func getOTLPContainePorts(options []string) []corev1.ContainerPort { return []corev1.ContainerPort{ { ContainerPort: 4317, - Name: "otlp-grpc", + Name: "grpc-otlp", }, { ContainerPort: 4318, - Name: "otlp-http", + Name: "http-otlp", }, } } diff --git a/pkg/service/collector.go b/pkg/service/collector.go index d5913e322..7f66d4050 100644 --- a/pkg/service/collector.go +++ b/pkg/service/collector.go @@ -143,11 +143,11 @@ func getOTLPServicePorts(jaeger *v1.Jaeger) []corev1.ServicePort { if util.IsOTLPEnable(options) { return []corev1.ServicePort{ { - Name: "otlp-grpc", + Name: "grpc-otlp", Port: 4317, }, { - Name: "otlp-http", + Name: "http-otlp", Port: 4318, }, }