Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(platform): Expose DB Manager Port (#8424)

Aarushi643c33456ead
diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml
index ad9e1962f1..c71a1a13fb 100644
--- a/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml
+++ b/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml
@@ -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 }}
diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml
index 36ef560b22..6d8d13ec60 100644
--- a/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml
+++ b/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml
@@ -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
\ No newline at end of file
diff --git a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml
index 4d5b39d75b..9150de2dfe 100644
--- a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml
+++ b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml
@@ -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"
diff --git a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml
index 4564e9ac6f..c6e96862cc 100644
--- a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml
+++ b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml
@@ -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"