From be0ad57e6e9074d0b487b2ce0195f4d76905ba5a Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 18 Nov 2026 21:37:43 +0500 Subject: [PATCH] feat: deploy cde-api to brusnika-stage --- .../cde-api-virtualservice.yaml | 52 ++ .../brusnika-stage/cde-api-worker-copy.yaml | 389 +++++++++++++++ .../brusnika-stage/cde-api-worker-move.yaml | 371 ++++++++++++++ .../cde-api-worker-s32d-create-upload.yaml | 259 ++++++++++ .../cde-api-worker-s32d-handle-error.yaml | 253 ++++++++++ ...cde-api-worker-s32d-process-workflows.yaml | 322 ++++++++++++ ...cde-api-worker-s32d-publish-documents.yaml | 268 ++++++++++ .../brusnika-stage/cde-api.yaml | 469 ++++++++++++++++++ .../brusnika-stage/kustomization.yaml | 10 + .../brusnika-stage/outbox-relay.yaml | 146 ++++++ .../tasks-execution-config.yaml | 180 +++++++ 11 files changed, 2719 insertions(+) create mode 100644 apps/documentations/brusnika-stage/cde-api-virtualservice.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api-worker-copy.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api-worker-move.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api-worker-s32d-create-upload.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api-worker-s32d-handle-error.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api-worker-s32d-process-workflows.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api-worker-s32d-publish-documents.yaml create mode 100644 apps/documentations/brusnika-stage/cde-api.yaml create mode 100644 apps/documentations/brusnika-stage/outbox-relay.yaml create mode 100644 apps/documentations/brusnika-stage/tasks-execution-config.yaml diff --git a/apps/documentations/brusnika-stage/cde-api-virtualservice.yaml b/apps/documentations/brusnika-stage/cde-api-virtualservice.yaml new file mode 100644 index 0000000..4e74feb --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-virtualservice.yaml @@ -0,0 +1,52 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: vs-cde-api + namespace: documentations +spec: + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + http: + - match: + - uri: + prefix: /documentations/v2/ + rewrite: + uri: /external/v2/ + corsPolicy: &id001 + allowOrigins: + - exact: https://test.sarex.brusnika.tech + - exact: https://document-link.test.sarex.brusnika.tech + allowMethods: + - GET + - POST + - PUT + - DELETE + - PATCH + - OPTIONS + - HEAD + allowHeaders: + - Authorization + - Content-Type + - Identity + - Range + - Cache-control + allowCredentials: true + maxAge: 24h + route: + - destination: + host: cde-api.documentations.svc.cluster.local + port: + number: 8000 + - match: + - uri: + prefix: /cde/app/ + rewrite: + uri: /app/ + corsPolicy: *id001 + route: + - destination: + host: cde-api.documentations.svc.cluster.local + port: + number: 8000 diff --git a/apps/documentations/brusnika-stage/cde-api-worker-copy.yaml b/apps/documentations/brusnika-stage/cde-api-worker-copy.yaml new file mode 100644 index 0000000..00013dc --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-worker-copy.yaml @@ -0,0 +1,389 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api-worker-copy + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + worker-copy: + enabled: true + deployment: + enabled: true + name: + _default: worker-copy + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 100m + memory: + _default: 64Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-copy:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_APP_NAME + value: + _default: worker-copy + - name: CDE_API_LOG_LEVEL + value: + _default: info + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_SYSTEMLOG_BASE_URL + value: + _default: http://api-service.system-log.svc.cluster.local:80 + - name: CDE_API_SYSTEMLOG_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '3' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '5' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '1' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_WORKFLOW_BASE_URL + value: + _default: http://workflows-api-service.workflow.svc.cluster.local:8000 + - name: CDE_API_WORKFLOW_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKFLOW_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_V2_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_BIMAPI_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_TIMEOUT_V2_MS + value: + _default: '300000' + - name: CDE_API_CONTAINER_REGISTRY + value: + _default: cr.yandex/crp3ccidau046kdj8g9q + - name: CDE_API_WORKFLOWS_IMAGES_VERSION + value: + _default: master + - name: CDE_API_DJANGO_HOST + value: + _default: http://backend.django.svc.cluster.local:8000 + - name: CDE_API_ENVIRONMENT + value: + _default: stage + - name: CDE_API_CONVERTED_PDF_TO_S3 + value: + _default: 'true' + - name: CDE_API_CONVERT_DXF_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_CONVERT_DWG_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_USE_BIMV1_FOR_BIMV2 + value: + _default: 'false' + - name: CDE_API_LAST_MASTER_BIM + value: + _default: '2000' + - name: CDE_API_LAST_SLAVE_1_BIM + value: + _default: '2250' + - name: CDE_API_LAST_SLAVE_2_BIM + value: + _default: '15000' + - name: CDE_API_USE_BIM_INSERTER + value: + _default: 'true' + - name: CDE_API_USE_LEGACY_BIM_FLOW + value: + _default: 'true' + - name: CDE_API_DOCUMENTATION_V2_URL + value: + _default: http://documentations-api.documentations.svc.cluster.local:8080 + - name: CDE_API_INTERNAL_URL + value: + _default: http://cde-api.documentations:8000 + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_WORKSPACE_BASE_URL + value: + _default: http://workspaces-service.workspaces.svc.cluster.local:8000 + - name: CDE_API_WORKSPACE_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKSPACE_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_RABBITMQ__MARKS_ROUTING_KEY + value: + _default: pdf_markings_input + - name: CDE_API_RABBITMQ__HASHER_ROUTING_KEY + value: + _default: hash.compute.normal + - name: CDE_API_RABBITMQ__HASHER_EXCHANGE + value: + _default: hash.compute + - name: CDE_API_ISSUES_SYNC_ENABLED + value: + _default: 'false' + - name: CDE_API_ISSUES_BASE_URL + value: + _default: http://issues-service.platform:8000 + - name: CDE_API_ISSUES_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_ISSUES_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_COPY_WORKER_JOBS + value: + _default: '' + - name: CDE_API_COPY_JOB_TIMEOUT_MINUTES + value: + _default: '30' + - name: CDE_API_COPY_STEP_PARALLELISM + value: + _default: '1' + - name: CDE_API_COPY_S3_PARALLELISM + value: + _default: '1' + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + - name: CDE_API_RABBITMQ__HOST + secretName: + _default: rabbitmq + secretKey: + _default: host + - name: CDE_API_RABBITMQ__PORT + secretName: + _default: rabbitmq + secretKey: + _default: port + - name: CDE_API_RABBITMQ__USER + secretName: + _default: rabbitmq + secretKey: + _default: username + - name: CDE_API_RABBITMQ__PASSWORD + secretName: + _default: rabbitmq + secretKey: + _default: password + - name: CDE_API_RABBITMQ__VHOST + secretName: + _default: rabbitmq + secretKey: + _default: vhost + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/cde-api-worker-move.yaml b/apps/documentations/brusnika-stage/cde-api-worker-move.yaml new file mode 100644 index 0000000..5da56c9 --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-worker-move.yaml @@ -0,0 +1,371 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api-worker-move + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + worker-move: + enabled: true + deployment: + enabled: true + name: + _default: worker-move + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 100m + memory: + _default: 64Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-move:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_APP_NAME + value: + _default: worker-move + - name: CDE_API_LOG_LEVEL + value: + _default: info + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_SYSTEMLOG_BASE_URL + value: + _default: http://api-service.system-log.svc.cluster.local:80 + - name: CDE_API_SYSTEMLOG_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '10' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '5' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '1' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_WORKFLOW_BASE_URL + value: + _default: http://workflows-api-service.workflow.svc.cluster.local:8000 + - name: CDE_API_WORKFLOW_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKFLOW_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_V2_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_BIMAPI_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_TIMEOUT_V2_MS + value: + _default: '300000' + - name: CDE_API_CONTAINER_REGISTRY + value: + _default: cr.yandex/crp3ccidau046kdj8g9q + - name: CDE_API_WORKFLOWS_IMAGES_VERSION + value: + _default: master + - name: CDE_API_DJANGO_HOST + value: + _default: http://backend.django.svc.cluster.local:8000 + - name: CDE_API_ENVIRONMENT + value: + _default: stage + - name: CDE_API_CONVERTED_PDF_TO_S3 + value: + _default: 'true' + - name: CDE_API_CONVERT_DXF_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_CONVERT_DWG_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_USE_BIMV1_FOR_BIMV2 + value: + _default: 'false' + - name: CDE_API_LAST_MASTER_BIM + value: + _default: '2000' + - name: CDE_API_LAST_SLAVE_1_BIM + value: + _default: '2250' + - name: CDE_API_LAST_SLAVE_2_BIM + value: + _default: '15000' + - name: CDE_API_USE_BIM_INSERTER + value: + _default: 'true' + - name: CDE_API_USE_LEGACY_BIM_FLOW + value: + _default: 'true' + - name: CDE_API_DOCUMENTATION_V2_URL + value: + _default: http://documentations-api.documentations.svc.cluster.local:8080 + - name: CDE_API_INTERNAL_URL + value: + _default: http://cde-api.documentations:8000 + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_WORKSPACE_BASE_URL + value: + _default: http://workspaces-service.workspaces.svc.cluster.local:8000 + - name: CDE_API_WORKSPACE_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKSPACE_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_RABBITMQ__MARKS_ROUTING_KEY + value: + _default: pdf_markings_input + - name: CDE_API_RABBITMQ__HASHER_ROUTING_KEY + value: + _default: hash.compute.normal + - name: CDE_API_RABBITMQ__HASHER_EXCHANGE + value: + _default: hash.compute + - name: CDE_API_MOVE_WORKER_JOBS + value: + _default: '' + - name: CDE_API_MOVE_JOB_TIMEOUT_MINUTES + value: + _default: '30' + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + - name: CDE_API_RABBITMQ__HOST + secretName: + _default: rabbitmq + secretKey: + _default: host + - name: CDE_API_RABBITMQ__PORT + secretName: + _default: rabbitmq + secretKey: + _default: port + - name: CDE_API_RABBITMQ__USER + secretName: + _default: rabbitmq + secretKey: + _default: username + - name: CDE_API_RABBITMQ__PASSWORD + secretName: + _default: rabbitmq + secretKey: + _default: password + - name: CDE_API_RABBITMQ__VHOST + secretName: + _default: rabbitmq + secretKey: + _default: vhost + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/cde-api-worker-s32d-create-upload.yaml b/apps/documentations/brusnika-stage/cde-api-worker-s32d-create-upload.yaml new file mode 100644 index 0000000..9a5773d --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-worker-s32d-create-upload.yaml @@ -0,0 +1,259 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api-worker-s32d-create-upload + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + worker-s32d-create-upload: + enabled: true + deployment: + enabled: true + name: + _default: worker-s32d-create-upload + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 200m + memory: + _default: 256Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-s32d-create-upload:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_APP_NAME + value: + _default: worker-s32d-create-upload + - name: CDE_API_LOG_LEVEL + value: + _default: info + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '3' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '5' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '1' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_S32D_READERAT_BLOCK_SIZE_MB + value: + _default: '8' + - name: CDE_API_S32D_READERAT_CACHE_BLOCKS + value: + _default: '8' + - name: CDE_API_S32D_WORKER_CREATE_UPLOAD_TIMEOUT_MIN + value: + _default: '240' + - name: CDE_API_S32D_WORKER_CREATE_UPLOAD_MAX_JOBS + value: + _default: '2' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/cde-api-worker-s32d-handle-error.yaml b/apps/documentations/brusnika-stage/cde-api-worker-s32d-handle-error.yaml new file mode 100644 index 0000000..fc16a16 --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-worker-s32d-handle-error.yaml @@ -0,0 +1,253 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api-worker-s32d-handle-error + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + worker-s32d-handle-error: + enabled: true + deployment: + enabled: true + name: + _default: worker-s32d-handle-error + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 50m + memory: + _default: 64Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-s32d-handle-error:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_APP_NAME + value: + _default: worker-s32d-handle-error + - name: CDE_API_LOG_LEVEL + value: + _default: info + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '2' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '3' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '1' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_S32D_WORKER_HANDLE_ERROR_TIMEOUT_MIN + value: + _default: '10' + - name: CDE_API_S32D_WORKER_HANDLE_ERROR_MAX_JOBS + value: + _default: '4' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/cde-api-worker-s32d-process-workflows.yaml b/apps/documentations/brusnika-stage/cde-api-worker-s32d-process-workflows.yaml new file mode 100644 index 0000000..05f6846 --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-worker-s32d-process-workflows.yaml @@ -0,0 +1,322 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api-worker-s32d-process-workflows + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + worker-s32d-process-workflows: + enabled: true + deployment: + enabled: true + name: + _default: worker-s32d-process-workflows + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 200m + memory: + _default: 256Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-s32d-process-workflows:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_APP_NAME + value: + _default: worker-s32d-process-workflows + - name: CDE_API_LOG_LEVEL + value: + _default: info + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '3' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '5' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '1' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_S32D_WORKER_PROCESS_WORKFLOWS_TIMEOUT_MIN + value: + _default: '480' + - name: CDE_API_S32D_WORKER_PROCESS_WORKFLOWS_MAX_JOBS + value: + _default: '1' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_WORKFLOW_BASE_URL + value: + _default: http://workflows-api-service.workflow.svc.cluster.local:8000 + - name: CDE_API_WORKFLOW_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKFLOW_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_V2_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_BIMAPI_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_TIMEOUT_V2_MS + value: + _default: '300000' + - name: CDE_API_CONTAINER_REGISTRY + value: + _default: cr.yandex/crp3ccidau046kdj8g9q + - name: CDE_API_WORKFLOWS_IMAGES_VERSION + value: + _default: master + - name: CDE_API_DJANGO_HOST + value: + _default: http://backend.django.svc.cluster.local:8000 + - name: CDE_API_ENVIRONMENT + value: + _default: stage + - name: CDE_API_CONVERTED_PDF_TO_S3 + value: + _default: 'true' + - name: CDE_API_CONVERT_DXF_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_CONVERT_DWG_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_USE_BIMV1_FOR_BIMV2 + value: + _default: 'false' + - name: CDE_API_LAST_MASTER_BIM + value: + _default: '2000' + - name: CDE_API_LAST_SLAVE_1_BIM + value: + _default: '2250' + - name: CDE_API_LAST_SLAVE_2_BIM + value: + _default: '15000' + - name: CDE_API_USE_BIM_INSERTER + value: + _default: 'true' + - name: CDE_API_USE_LEGACY_BIM_FLOW + value: + _default: 'true' + - name: CDE_API_DOCUMENTATION_V2_URL + value: + _default: http://documentations-api.documentations.svc.cluster.local:8080 + - name: CDE_API_INTERNAL_URL + value: + _default: http://cde-api.documentations:8000 + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/cde-api-worker-s32d-publish-documents.yaml b/apps/documentations/brusnika-stage/cde-api-worker-s32d-publish-documents.yaml new file mode 100644 index 0000000..d1023f1 --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api-worker-s32d-publish-documents.yaml @@ -0,0 +1,268 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api-worker-s32d-publish-documents + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + worker-s32d-publish-documents: + enabled: true + deployment: + enabled: true + name: + _default: worker-s32d-publish-documents + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 100m + memory: + _default: 64Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-s32d-publish-documents:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_APP_NAME + value: + _default: worker-s32d-publish-documents + - name: CDE_API_LOG_LEVEL + value: + _default: info + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '3' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '5' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '1' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_S32D_WORKER_PUBLISH_DOCUMENTS_TIMEOUT_MIN + value: + _default: '10' + - name: CDE_API_S32D_WORKER_PUBLISH_DOCUMENTS_MAX_JOBS + value: + _default: '2' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_SYSTEMLOG_BASE_URL + value: + _default: http://api-service.system-log.svc.cluster.local:80 + - name: CDE_API_SYSTEMLOG_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKSPACE_BASE_URL + value: + _default: http://workspaces-service.workspaces.svc.cluster.local:8000 + - name: CDE_API_WORKSPACE_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKSPACE_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/cde-api.yaml b/apps/documentations/brusnika-stage/cde-api.yaml new file mode 100644 index 0000000..682c2af --- /dev/null +++ b/apps/documentations/brusnika-stage/cde-api.yaml @@ -0,0 +1,469 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: cde-api + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + cde-api: + enabled: true + deployment: + enabled: true + name: + _default: cde-api + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + port: + _default: 8000 + resources: + requests: + cpu: + _default: 200m + memory: + _default: 256Mi + probes: + readiness: + enabled: true + type: + _default: tcpSocket + tcpSocket: + port: + _default: 8000 + periodSeconds: + _default: 5 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/cde-api:production_19194531 + pullPolicy: + _default: IfNotPresent + service: + enabled: true + name: + _default: cde-api + type: + _default: ClusterIP + port: + _default: 8000 + targetPort: + _default: 8000 + portName: + _default: http + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: CDE_API_RESOURCES_BASE_URL + value: + _default: http://iam-backend.iam.svc.cluster.local:8000 + - name: CDE_API_RESOURCES_TIMEOUT + value: + _default: 10s + - name: CDE_API_APP_NAME + value: + _default: cde-api + - name: CDE_API_LOG_LEVEL + value: + _default: debug + - name: CDE_API_HTTP_PORT + value: + _default: '8000' + - name: CDE_API_HTTP_READ_TIMEOUT + value: + _default: 0s + - name: CDE_API_HTTP_WRITE_TIMEOUT + value: + _default: 0s + - name: CDE_API_HTTP_IDLE_TIMEOUT + value: + _default: 120s + - name: CDE_API_HTTP_READ_BUFFER_SIZE + value: + _default: '96' + - name: CDE_API_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE + value: + _default: '5368709120' + - name: CDE_API_S3_MAX_PART_SIZE + value: + _default: '524288000' + - name: CDE_API_S3_UPLOAD_STALL_TIMEOUT + value: + _default: 10m + - name: CDE_API_PUBLIC_LINK_HOST + value: + _default: https://document-link.test.sarex.brusnika.tech + - name: CDE_API_WORKFLOW_BASE_URL + value: + _default: http://workflows-api-service.workflow.svc.cluster.local:8000 + - name: CDE_API_WORKFLOW_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKFLOW_RETRY_WAIT_MS + value: + _default: '500' + - name: CDE_API_WORKFLOW_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_V2_URL + value: + _default: http://backend-service.bim.svc.cluster.local:8000 + - name: CDE_API_BIMAPI_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_BIMAPI_RETRY_WAIT_MS + value: + _default: '1000' + - name: CDE_API_BIMAPI_TIMEOUT_MS + value: + _default: '30000' + - name: CDE_API_BIMAPI_TIMEOUT_V2_MS + value: + _default: '300000' + - name: CDE_API_WORKSPACE_BASE_URL + value: + _default: http://workspaces-service.workspaces.svc.cluster.local:8000 + - name: CDE_API_WORKSPACE_RETRY_COUNT + value: + _default: '3' + - name: CDE_API_WORKSPACE_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_SYSTEMLOG_BASE_URL + value: + _default: http://api-service.system-log.svc.cluster.local:80 + - name: CDE_API_SYSTEMLOG_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_CONTAINER_REGISTRY + value: + _default: cr.yandex/crp3ccidau046kdj8g9q + - name: CDE_API_WORKFLOWS_IMAGES_VERSION + value: + _default: master + - name: CDE_API_DJANGO_HOST + value: + _default: http://backend.django.svc.cluster.local:8000 + - name: CDE_API_ENVIRONMENT + value: + _default: stage + - name: CDE_API_CONVERTED_PDF_TO_S3 + value: + _default: 'true' + - name: CDE_API_CONVERT_DXF_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_CONVERT_DWG_TO_GEOJSON + value: + _default: 'true' + - name: CDE_API_USE_BIMV1_FOR_BIMV2 + value: + _default: 'false' + - name: CDE_API_EAV_HOST + value: + _default: http://eav-service.eav.svc.cluster.local:8000 + - name: CDE_API_EAV_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_DOCUMENTATION_V2_URL + value: + _default: http://documentations-api.documentations.svc.cluster.local:8080 + - name: CDE_API_INTERNAL_URL + value: + _default: http://cde-api.documentations:8000 + - name: CDE_API_COPY_MAX_SYNC_WAIT_MS + value: + _default: '300000' + - name: CDE_API_LAST_MASTER_BIM + value: + _default: '2000' + - name: CDE_API_LAST_SLAVE_1_BIM + value: + _default: '2250' + - name: CDE_API_LAST_SLAVE_2_BIM + value: + _default: '15000' + - name: CDE_API_USE_BIM_INSERTER + value: + _default: 'true' + - name: CDE_API_USE_LEGACY_BIM_FLOW + value: + _default: 'true' + - name: CDE_API_DATABASE_MAX_CONN_LIFETIME + value: + _default: 30m + - name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME + value: + _default: 10m + - name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD + value: + _default: 30s + - name: CDE_API_DATABASE_POOL_SIZE + value: + _default: '2' + - name: CDE_API_DIAGNOSTICS_SLOW_OPERATION_THRESHOLD + value: + _default: 30s + - name: CDE_API_DATABASE__SSLMODE + value: + _default: disable + - name: CDE_API_DATABASE__INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_DATABASE_OBSERVABILITY_ENABLE + value: + _default: 'false' + - name: CDE_API_REDIS__DB + value: + _default: '5' + - name: CDE_API_REDIS__SSL + value: + _default: 'false' + - name: CDE_API_REDIS__POOL_SIZE + value: + _default: '10' + - name: CDE_API_REDIS__MIN_IDLE_CONNS + value: + _default: '2' + - name: CDE_API_REDIS__DIAL_TIMEOUT_MS + value: + _default: '5000' + - name: CDE_API_REDIS__READ_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__WRITE_TIMEOUT_MS + value: + _default: '3000' + - name: CDE_API_REDIS__DEFAULT_TTL_MINUTES + value: + _default: '10' + - name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_NAME + value: + _default: documentations + - name: CDE_API_S3_USE_SSL + value: + _default: 'false' + - name: CDE_API_S3_BUCKET_LOOKUP + value: + _default: auto + - name: CDE_API_S3_INSECURE_SKIP_TLS + value: + _default: 'false' + - name: CDE_API_S3_CHECK_BUCKET + value: + _default: 'false' + - name: CDE_API_S3_CONNECT_TIMEOUT + value: + _default: 10s + - name: CDE_API_S3_TLS_HANDSHAKE_TIMEOUT + value: + _default: 10s + - name: CDE_API_S32D_MAX_ARCHIVE_SIZE_BYTES + value: + _default: '1099511627776' + - name: CDE_API_S32D_MAX_FILES_COUNT + value: + _default: '500' + - name: CDE_API_ZEEBE_USE_PLAINTEXT + value: + _default: 'true' + - name: CDE_API_USERS_BASE_URL + value: + _default: http://backend.django.svc.cluster.local:8000 + - name: CDE_API_DISK_BUCKET_NAMESPACE + value: + _default: documentations + - name: CDE_API_USERS_ORIGINATOR + value: + _default: docs_prod + - name: CDE_API_USERS_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_MAILER_BASE_URL + value: + _default: http://mailer-service.mailer:8000 + - name: CDE_API_MAILER_FROM_EMAIL + value: + _default: noreply@sarex.io + - name: CDE_API_MAILER_RETRY_COUNT + value: + _default: '2' + - name: CDE_API_MAILER_TIMEOUT_MS + value: + _default: '10000' + - name: CDE_API_FLOWS_URL + value: + _default: http://backend-service.flows.svc.cluster.local:8000 + - name: CDE_API_TRANSMITTALS_URL + value: + _default: http://transmittal-service.transmittal.svc.cluster.local:80 + - name: CDE_API_WORKFLOWS_CONFIG_FILEPATH + value: + _default: /etc/app/tasks_execution_config.json + - name: CDE_API_RABBITMQ__MARKS_ROUTING_KEY + value: + _default: pdf_markings_input + - name: CDE_API_RABBITMQ__HASHER_ROUTING_KEY + value: + _default: hash.compute.normal + - name: CDE_API_RABBITMQ__HASHER_EXCHANGE + value: + _default: hash.compute + - name: CDE_API_REDIS__HOST + value: + _default: redis + - name: CDE_API_REDIS__PORT + value: + _default: '6379' + - name: CDE_API_DATABASE__HOST + value: + _default: 192.168.2.45 + - name: CDE_API_DATABASE__PORT + value: + _default: '5432' + - name: CDE_API_DATABASE__NAME + value: + _default: documentations + secretEnvs: + - name: CDE_API_PUBLIC_KEY + secretName: + _default: public-key + secretKey: + _default: key + - name: CDE_API_DATABASE__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: CDE_API_DATABASE__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + - name: CDE_API_S3_ENDPOINT + secretName: + _default: cde-api-s3-secret + secretKey: + _default: endpoint + - name: CDE_API_S3_ACCESS_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: access_key + - name: CDE_API_S3_SECRET_KEY + secretName: + _default: cde-api-s3-secret + secretKey: + _default: secret_key + - name: CDE_API_ZEEBE_GATEWAY_ADDRESS + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: gateway_address + - name: CDE_API_ZEEBE_CLIENT_ID + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_id + - name: CDE_API_ZEEBE_CLIENT_SECRET + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: client_secret + - name: CDE_API_ZEEBE_AUTH_SERVER_URL + secretName: + _default: cde-api-zeebe-secret + secretKey: + _default: auth_server_url + - name: CDE_API_USERS_AUTH_TOKEN + secretName: + _default: django-auth + secretKey: + _default: key + - name: CDE_API_RABBITMQ__HOST + secretName: + _default: rabbitmq + secretKey: + _default: host + - name: CDE_API_RABBITMQ__PORT + secretName: + _default: rabbitmq + secretKey: + _default: port + - name: CDE_API_RABBITMQ__USER + secretName: + _default: rabbitmq + secretKey: + _default: username + - name: CDE_API_RABBITMQ__PASSWORD + secretName: + _default: rabbitmq + secretKey: + _default: password + - name: CDE_API_RABBITMQ__VHOST + secretName: + _default: rabbitmq + secretKey: + _default: vhost + volumes: + _default: + - name: tasks-execution-config + mountPath: + _default: /etc/app/tasks_execution_config.json + subPath: + _default: tasks_execution_config.json + readOnly: + _default: true + configMap: + name: + _default: tasks-execution-config-documentation-v2 + items: + - key: tasks-execution-config-documentation-v2.json + path: + _default: tasks_execution_config.json + defaultMode: + _default: '0644' + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule diff --git a/apps/documentations/brusnika-stage/kustomization.yaml b/apps/documentations/brusnika-stage/kustomization.yaml index 247514e..cd6eab4 100644 --- a/apps/documentations/brusnika-stage/kustomization.yaml +++ b/apps/documentations/brusnika-stage/kustomization.yaml @@ -9,3 +9,13 @@ resources: - filestream.yaml - hasher.yaml - pdf-markings-amqp.yaml + - cde-api-virtualservice.yaml + - cde-api-worker-copy.yaml + - cde-api-worker-move.yaml + - cde-api-worker-s32d-create-upload.yaml + - cde-api-worker-s32d-handle-error.yaml + - cde-api-worker-s32d-process-workflows.yaml + - cde-api-worker-s32d-publish-documents.yaml + - cde-api.yaml + - outbox-relay.yaml + - tasks-execution-config.yaml diff --git a/apps/documentations/brusnika-stage/outbox-relay.yaml b/apps/documentations/brusnika-stage/outbox-relay.yaml new file mode 100644 index 0000000..adec546 --- /dev/null +++ b/apps/documentations/brusnika-stage/outbox-relay.yaml @@ -0,0 +1,146 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: outbox-relay + namespace: documentations +spec: + interval: 10m + chart: + spec: + chart: universal-chart + version: 0.1.7 + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 + values: + global: + env: _default + services: + outbox-relay: + enabled: true + deployment: + enabled: true + name: + _default: outbox-relay + replicaCount: + _default: 1 + revisionHistoryLimit: + _default: 5 + resources: + requests: + cpu: + _default: 100m + memory: + _default: 128Mi + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/outbox-relay:production_3e895e8a + pullPolicy: + _default: IfNotPresent + service: + enabled: false + imagePullSecrets: + enabled: + _default: true + name: + _default: regcred + envs: + - name: OUTBOX_RELAY_APP_NAME + value: + _default: cde-api-outbox-relay + - name: OUTBOX_RELAY_APP_VERSION + value: + _default: 0.1.0 + - name: OUTBOX_RELAY_LOG_LEVEL + value: + _default: info + - name: OUTBOX_RELAY_SOURCE_SERVICE + value: + _default: cde-api + - name: OUTBOX_RELAY_SOURCE_VERSION + value: + _default: 0.1.0 + - name: OUTBOX_RELAY_PG__SSLMODE + value: + _default: disable + - name: OUTBOX_RELAY_PG__POOL_MIN + value: + _default: '1' + - name: OUTBOX_RELAY_PG__POOL_MAX + value: + _default: '3' + - name: OUTBOX_RELAY_PG__TABLE + value: + _default: outbox + - name: OUTBOX_RELAY_PG__HOST + value: + _default: 192.168.2.45 + - name: OUTBOX_RELAY_PG__PORT + value: + _default: '5432' + - name: OUTBOX_RELAY_PG__NAME + value: + _default: documentations + - name: OUTBOX_RELAY_POLL_INTERVAL + value: + _default: 500ms + - name: OUTBOX_RELAY_BATCH_SIZE + value: + _default: '100' + - name: OUTBOX_RELAY_MAX_ATTEMPTS + value: + _default: '8' + - name: OUTBOX_RELAY_INITIAL_BACKOFF + value: + _default: 1s + - name: OUTBOX_RELAY_MAX_BACKOFF + value: + _default: 5m + - name: OUTBOX_RELAY_SHUTDOWN_TIMEOUT + value: + _default: 30s + - name: OUTBOX_RELAY_KAFKA__BROKERS + value: + _default: brusnika-stage-kafka-bootstrap.kafka.svc.cluster.local:9093 + - name: OUTBOX_RELAY_KAFKA__SECURITY_PROTOCOL + value: + _default: SSL + - name: OUTBOX_RELAY_KAFKA__INSECURE_SKIP_VERIFY + value: + _default: 'true' + secretEnvs: + - name: OUTBOX_RELAY_PG__USER + secretName: + _default: postgres-secret + secretKey: + _default: username + - name: OUTBOX_RELAY_PG__PASSWORD + secretName: + _default: postgres-secret + secretKey: + _default: password + tolerations: + - key: + _default: dedicated + operator: + _default: Equal + value: + _default: processing-light + effect: + _default: NoSchedule + dependsOn: + - name: cde-api + namespace: documentations diff --git a/apps/documentations/brusnika-stage/tasks-execution-config.yaml b/apps/documentations/brusnika-stage/tasks-execution-config.yaml new file mode 100644 index 0000000..f4fa140 --- /dev/null +++ b/apps/documentations/brusnika-stage/tasks-execution-config.yaml @@ -0,0 +1,180 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: tasks-execution-config-documentation-v2 + namespace: documentations +data: + tasks-execution-config-documentation-v2.json: | + { + "bim_api_metadata_inserter": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "bim_api_metadata_inserter_v2": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "bim_api_metadata_inserter_v4": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "bim_differ": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "bim_updater": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "convert_to_potree": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "docx_to_pdf": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "dwg_to_geojson": { + "executor": "k8s", + "resources": { + "cpu_limits": "4", + "cpu_requests": "100m", + "memory_limits": "40Gi", + "memory_requests": "64Mi" + } + }, + "e57_to_las": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "ifc_converter_job": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "las_merge": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "mesh_optimizer": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "mesh_optimizer_v2": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "parsing_template": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "processing_converter_to_tiles": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "processing_create_colored_surface_from_geotiff": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "rendering_template": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "split_pdf_document": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "split_pdf_document_legacy": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "update_orthomosaic_data": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "web_hook_caller": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "xml_to_glb": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "document_converter": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + }, + "sparkjs_converter_wrapper": { + "executor": "k8s", + "resources": { + "cpu_requests": "100m", + "memory_requests": "64Mi" + } + } + }