Skip to content

Commit

Permalink
add new otlp ports to cloud api deployment and service
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Oct 17, 2024
1 parent e1c7d02 commit ab818e3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/tracetest-cloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ spec:
- name: metrics
protocol: TCP
containerPort: {{ .Values.service.metricsPort }}
- name: otlp-grpc
protocol: TCP
containerPort: {{ .Values.service.otlpGrpcPort }}
- name: otlp-http
protocol: TCP
containerPort: {{ .Values.service.otlpHttpPort }}
livenessProbe:
httpGet:
path: /health
Expand Down
8 changes: 8 additions & 0 deletions charts/tracetest-cloud/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,13 @@ spec:
targetPort: metrics
protocol: TCP
port: {{ .Values.service.metricsPort }}
- name: otlp-grpc
targetPort: otlp-grpc
protocol: TCP
port: {{ .Values.service.otlpGrpcPort }}
- name: otlp-http
targetPort: otlp-http
protocol: TCP
port: {{ .Values.service.otlpHttpPort }}
selector:
{{- include "tracetest-cloud.selectorLabels" . | nindent 4 }}
4 changes: 4 additions & 0 deletions charts/tracetest-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ global:
httpPort: &httpPort 8090
controlPlanePort: &controlPlanePort 8091
metricsPort: &metricsPort 9100
otlpGrpcPort: &otlpGrpcPort 4317
otlpHttpPort: &otlpHttpPort 4318

urls:
rootDomain: "tracetest.localdev"
Expand Down Expand Up @@ -68,6 +70,8 @@ service:
httpPort: *httpPort
controlPlanePort: *controlPlanePort
metricsPort: *metricsPort
otlpGrpcPort: *otlpGrpcPort
otlpHttpPort: *otlpHttpPort

deployment:
replicas: 1
Expand Down

0 comments on commit ab818e3

Please sign in to comment.