Compare commits

...
Author SHA1 Message Date
Rafael c8a4c1aae6 UPDATE: migrating maestro to backend nodepool 2025-02-20 13:46:30 -03:00
Rafael f48a35c7ce UPDATE: improve logging for table metadata 2025-02-20 08:40:48 -03:00
4 changed files with 8 additions and 5 deletions
+3 -1
View File
@@ -17,4 +17,6 @@ charts:
- name: maestro.open_customer_id
value: f239718a-a271-4ef9-ae7e-02a2f0f3aa6e
- name: maestro.open_group_id
value: 401573bb-334f-44b2-b30e-88d4cea31ae9
value: 401573bb-334f-44b2-b30e-88d4cea31ae9
- name: replicaCount
value: 2
+2 -1
View File
@@ -35,7 +35,8 @@ spec:
- key: application
operator: In
values:
- backend
- general
tolerations:
- key: "kubernetes.azure.com/scalesetpriority"
operator: "Equal"
+1 -1
View File
@@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.
replicaCount: 3
hostname: maestro-temp.dadosfera.ai
hostname: maestro.dadosfera.ai
image:
repository: 611330257153.dkr.ecr.us-east-1.amazonaws.com/microservices/maestro_prd
pullPolicy: IfNotPresent
+2 -2
View File
@@ -440,7 +440,7 @@ class CatalogService implements OnModuleInit {
this.logger.info(`Creating table metadata for table ${body.table_metadata.table_name}`, {...body.logMetadata});
this.logger.info(`Using endpoint: ${endpoint}`, {...body.logMetadata});
this.logger.debug(`Payload: ${JSON.stringify(body.table_metadata)}`, {...body.logMetadata});
this.logger.debug(`Payload: ${JSON.stringify(body.table_metadata)}`, {...body.logMetadata});
try {
const { data, status } = await axios.post(endpoint, {...body.table_metadata});
@@ -454,7 +454,7 @@ class CatalogService implements OnModuleInit {
this.logger.error(
`Failed to create table metadata for table ${body.table_metadata.table_name} failed with status ${
error.response?.status
} because of ${error.response?.data || error.message}`, {...body.logMetadata});
} because of ${JSON.stringify(error.response?.data) || error.message}`, {...body.logMetadata});
throw new Error(error.response?.data?.message || error.message);
}
}