Skip to content

Commit

Permalink
fix(platform): Expose DB Manager Port (#8424)
Browse files Browse the repository at this point in the history
expose 8005 for db manager
  • Loading branch information
aarushik93 authored Oct 24, 2024
1 parent 6846d8f commit 643c334
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
- name: http
containerPort: {{ .Values.serviceExecutor.port }}
protocol: TCP
- name: db-http
containerPort: {{ .Values.serviceDBManager.port }}
protocol: TCP
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ spec:
targetPort: http
protocol: TCP
name: http
- port: {{ .Values.serviceDBManager.port }}
targetPort: db-http
protocol: TCP
name: db-http
selector:
app.kubernetes.io/component: executor
app.kubernetes.io/component: executor
7 changes: 7 additions & 0 deletions autogpt_platform/infra/helm/autogpt-server/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ serviceExecutor:
annotations:
beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'

serviceDBManager:
type: ClusterIP
port: 8005
targetPort: 8005
annotations:
beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'

ingress:
enabled: true
className: "gce"
Expand Down
7 changes: 7 additions & 0 deletions autogpt_platform/infra/helm/autogpt-server/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ serviceExecutor:
annotations:
beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'

serviceDBManager:
type: ClusterIP
port: 8005
targetPort: 8005
annotations:
beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'

ingress:
enabled: true
className: "gce"
Expand Down

0 comments on commit 643c334

Please sign in to comment.