++
This commit is contained in:
parent
b8db824cf5
commit
a34b4811d3
145
apps/processing/brusnika-stage/api.yaml
Normal file
145
apps/processing/brusnika-stage/api.yaml
Normal file
@ -0,0 +1,145 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: workflows-api
|
||||
namespace: workflow
|
||||
|
||||
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:
|
||||
backend:
|
||||
enabled: true
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/workflows-api:prod_ee75fda9
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
deployment:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: workflows-api
|
||||
|
||||
replicaCount:
|
||||
_default: 1
|
||||
stage: 1
|
||||
preprod: 3
|
||||
production: 3
|
||||
|
||||
port:
|
||||
_default: 8000
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: workflows-api-service
|
||||
|
||||
type:
|
||||
_default: ClusterIP
|
||||
|
||||
port:
|
||||
_default: 8000
|
||||
|
||||
targetPort:
|
||||
_default: 8000
|
||||
|
||||
portName:
|
||||
_default: http
|
||||
|
||||
imagePullSecrets:
|
||||
enabled:
|
||||
_default: true
|
||||
name:
|
||||
_default: regcred
|
||||
labels:
|
||||
monitoring: prometheus
|
||||
|
||||
envs:
|
||||
- name: POSTGRES_ADDRESS
|
||||
value:
|
||||
_default: "192.168.2.45"
|
||||
|
||||
- name: POSTGRES_PORT
|
||||
value:
|
||||
_default: "5432"
|
||||
|
||||
- name: POSTGRES_POOL_SIZE
|
||||
value:
|
||||
_default: "3"
|
||||
|
||||
- name: HTTP_HOST
|
||||
value:
|
||||
_default: "0.0.0.0:8080"
|
||||
|
||||
- name: DJANGO_HOST
|
||||
value:
|
||||
_default: "http://backend.django.svc.cluster.local:8000"
|
||||
|
||||
- name: S3_SERVICE_ACCOUNT
|
||||
value:
|
||||
_default: "/etc/sarex/yc-s3/yc-s3-service-account.json"
|
||||
|
||||
- name: ENABLE_SQL_QUERY
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: POSTGRES_SSL_USE
|
||||
value:
|
||||
_default: "0"
|
||||
secretEnvs:
|
||||
- name: POSTGRES_USER
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "username"
|
||||
|
||||
- name: POSTGRES_PASSWORD
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "password"
|
||||
|
||||
- name: POSTGRES_DB
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "database"
|
||||
|
||||
- name: PUBLIC_KEY
|
||||
secretName:
|
||||
_default: "public-key"
|
||||
secretKey: "key"
|
||||
|
||||
commitSha: ""
|
||||
gitlabUri: ""
|
||||
gitlabJobUrl: ""
|
||||
owner: ""
|
||||
407
apps/processing/brusnika-stage/engine-low.yaml
Normal file
407
apps/processing/brusnika-stage/engine-low.yaml
Normal file
@ -0,0 +1,407 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: engine-low
|
||||
namespace: workflow
|
||||
|
||||
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:
|
||||
backend:
|
||||
enabled: true
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/kubernetes-engine:3546957f1e7e8278fc6363da0287573e9454275a
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
deployment:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: engine-low
|
||||
|
||||
replicaCount:
|
||||
_default: 1
|
||||
stage: 1
|
||||
preprod: 3
|
||||
production: 3
|
||||
|
||||
port:
|
||||
_default: 8000
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: engine-low-service
|
||||
|
||||
type:
|
||||
_default: ClusterIP
|
||||
|
||||
port:
|
||||
_default: 8000
|
||||
|
||||
targetPort:
|
||||
_default: 8000
|
||||
|
||||
portName:
|
||||
_default: http
|
||||
|
||||
imagePullSecrets:
|
||||
enabled:
|
||||
_default: true
|
||||
name:
|
||||
_default: regcred
|
||||
labels:
|
||||
monitoring: prometheus
|
||||
|
||||
envs:
|
||||
- name: RABBITMQ_HOST
|
||||
value:
|
||||
_default: "rabbitmq-service.workflow.svc.cluster.local"
|
||||
|
||||
- name: RABBITMQ_PORT
|
||||
value:
|
||||
_default: "5672/api"
|
||||
|
||||
- name: POSTGRES_ADDRESS
|
||||
value:
|
||||
_default: "192.168.2.45"
|
||||
|
||||
- name: POSTGRES_PORT
|
||||
value:
|
||||
_default: "5432"
|
||||
|
||||
- name: POSTGRES_POOL_SIZE
|
||||
value:
|
||||
_default: "20"
|
||||
|
||||
- name: ENVIRONMENT
|
||||
value:
|
||||
_default: "prod"
|
||||
|
||||
- name: API_ADDRESS
|
||||
value:
|
||||
_default: "0.0.0.0:8000"
|
||||
|
||||
- name: DJANGO_HOST
|
||||
value:
|
||||
_default: "http://backend.django.svc.cluster.local:8000"
|
||||
|
||||
- name: S3_SERVICE_ACCOUNT
|
||||
value:
|
||||
_default: "/etc/sarex/yc-s3/yc-s3-service-account.json"
|
||||
|
||||
- name: BIM_API_V2_DB
|
||||
value:
|
||||
_default: "/etc/sarex/bim-api-v2-db-prod.json"
|
||||
|
||||
- name: PDM_API_DB
|
||||
value:
|
||||
_default: "/etc/pdm/pdm-api-db-prod.json"
|
||||
|
||||
- name: WORKSPACE_API_DB
|
||||
value:
|
||||
_default: "/etc/ws/ws-api-db-prod.json"
|
||||
|
||||
- name: ISSUE_API_DB
|
||||
value:
|
||||
_default: "/etc/issues/issue-api-db-prod.json"
|
||||
|
||||
- name: MAILGUN
|
||||
value:
|
||||
_default: "/etc/mailgun-secret/env.json"
|
||||
|
||||
- name: INTERNAL_PDM_URL
|
||||
value:
|
||||
_default: "http://documentations-api.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: INTERNAL_FILESTREAM_URL
|
||||
value:
|
||||
_default: "http://documentations-filestream.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: EXTERNAL_PDM_URL
|
||||
value:
|
||||
_default: "http://documentations-api.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: EXTERNAL_FILESTREAM_URL
|
||||
value:
|
||||
_default: "http://documentations-filestream-service.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: RESOURCES_API_INTERNAL_HOST
|
||||
value:
|
||||
_default: "http://resources-service.resources.svc.cluster.local:8000"
|
||||
|
||||
- name: ENABLE_SQL_QUERY
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: ENABLE_S3_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_S3V2_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_PDM_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_URL_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_SRX_TMP
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_BIM_API_V2_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_WORKSPACE_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_ISSUE_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_RESOURCES_API
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_PDM_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_COMPARISONS_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_MAIL_GUN
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_AMQP_EXECUTOR
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_KUBERNETES_EXECUTOR
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MAX_WORKFLOWS_LIMIT
|
||||
value:
|
||||
_default: "30"
|
||||
|
||||
- name: CPU_COUNT
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MEMORY_GI
|
||||
value:
|
||||
_default: "4"
|
||||
|
||||
- name: CPU_COUNT_LOW_RESOURCES
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MEMORY_GI_LOW_RESOURCES
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: CPU_COUNT_HIGH_MEM
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MEMORY_GI_HIGH_MEM
|
||||
value:
|
||||
_default: "4"
|
||||
|
||||
- name: COUNT_RUNNING_WORKERS
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: COUNT_CANCELING_WORKERS
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: COUNT_HANDLE_JOB_WORKERS
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: BIM_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: BIM_API_V2_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: PDM_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: COMPARISONS_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: WORKSPACE_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: JOBS_NAMESPACE
|
||||
value:
|
||||
_default: "workflow"
|
||||
|
||||
- name: ISSUE_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: WORKFLOWS_SENTRY_DSN
|
||||
value:
|
||||
_default: "https://866b532efdbb4764a7551b76231232fc@o279218.ingest.sentry.io/543123"
|
||||
|
||||
- name: WORKFLOWS_SENTRY_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: TOLERATION_KEY
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: TOLERATION_VALUE
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: TOLERATION_KEY_HIGH_MEM
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: TOLERATION_VALUE_HIGH_MEM
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: TOLERATION_KEY_PERSISTENT
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: TOLERATION_VALUE_PERSISTENT
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: RABBITMQ_CREATE_EXCHANGE
|
||||
value:
|
||||
_default: "autodesk.inputMessage"
|
||||
|
||||
- name: RABBITMQ_CANCEL_EXCHANGE
|
||||
value:
|
||||
_default: "autodesk.cancelMessage"
|
||||
|
||||
- name: RABBITMQ_CREATE_ROUTING_KEY
|
||||
value:
|
||||
_default: "converting"
|
||||
|
||||
- name: RABBITMQ_CANCEL_TOPIC
|
||||
value:
|
||||
_default: "cancel"
|
||||
|
||||
- name: RABBITMQ_COMPLETENESS_EXCHANGE
|
||||
value:
|
||||
_default: "autodesk.outputMessage"
|
||||
|
||||
- name: RABBITMQ_COMPLETENESS_TOPIC
|
||||
value:
|
||||
_default: "output_navis"
|
||||
|
||||
- name: CONTROL_PLANE_PERIOD
|
||||
value:
|
||||
_default: "10s"
|
||||
|
||||
- name: WORKFLOW_PRIORITY
|
||||
value:
|
||||
_default: "low"
|
||||
|
||||
- name: DEFAULT_TOLERATION_KEY
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: DEFAULT_TOLERATION_VALUE
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: DEFAULT_NODE_SELECTOR_KEY
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: DEFAULT_NODE_SELECTOR_VALUE
|
||||
value:
|
||||
_default: "processing-light"
|
||||
secretEnvs:
|
||||
- name: RABBITMQ_USER
|
||||
secretName:
|
||||
_default: "rabbitmq-secret"
|
||||
secretKey: "username"
|
||||
|
||||
- name: RABBITMQ_PASS
|
||||
secretName:
|
||||
_default: "rabbitmq-secret"
|
||||
secretKey: "password"
|
||||
|
||||
- name: POSTGRES_USER
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "username"
|
||||
|
||||
- name: POSTGRES_PASSWORD
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "password"
|
||||
|
||||
- name: POSTGRES_DB
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "database"
|
||||
|
||||
- name: POD_NAME
|
||||
secretName:
|
||||
_default: "fieldRef:metadata.name"
|
||||
secretKey: ""
|
||||
|
||||
commitSha: ""
|
||||
gitlabUri: ""
|
||||
gitlabJobUrl: ""
|
||||
owner: ""
|
||||
403
apps/processing/brusnika-stage/engine.yaml
Normal file
403
apps/processing/brusnika-stage/engine.yaml
Normal file
@ -0,0 +1,403 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: engine
|
||||
namespace: workflow
|
||||
|
||||
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:
|
||||
backend:
|
||||
enabled: true
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/kubernetes-engine:3546957f1e7e8278fc6363da0287573e9454275a
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
deployment:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: engine
|
||||
|
||||
replicaCount:
|
||||
_default: 1
|
||||
stage: 1
|
||||
preprod: 3
|
||||
production: 3
|
||||
|
||||
port:
|
||||
_default: 8000
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: engine-service
|
||||
|
||||
type:
|
||||
_default: ClusterIP
|
||||
|
||||
port:
|
||||
_default: 8000
|
||||
|
||||
targetPort:
|
||||
_default: 8000
|
||||
|
||||
portName:
|
||||
_default: http
|
||||
|
||||
imagePullSecrets:
|
||||
enabled:
|
||||
_default: true
|
||||
name:
|
||||
_default: regcred
|
||||
labels:
|
||||
monitoring: prometheus
|
||||
|
||||
envs:
|
||||
- name: RABBITMQ_HOST
|
||||
value:
|
||||
_default: "rabbitmq-service.workflow.svc.cluster.local"
|
||||
|
||||
- name: RABBITMQ_PORT
|
||||
value:
|
||||
_default: "5672/api"
|
||||
|
||||
- name: POSTGRES_ADDRESS
|
||||
value:
|
||||
_default: "192.168.2.45"
|
||||
|
||||
- name: POSTGRES_PORT
|
||||
value:
|
||||
_default: "5432"
|
||||
|
||||
- name: POSTGRES_POOL_SIZE
|
||||
value:
|
||||
_default: "20"
|
||||
|
||||
- name: ENVIRONMENT
|
||||
value:
|
||||
_default: "prod"
|
||||
|
||||
- name: API_ADDRESS
|
||||
value:
|
||||
_default: "0.0.0.0:8000"
|
||||
|
||||
- name: DJANGO_HOST
|
||||
value:
|
||||
_default: "http://backend.django.svc.cluster.local:8000"
|
||||
|
||||
- name: S3_SERVICE_ACCOUNT
|
||||
value:
|
||||
_default: "/etc/sarex/yc-s3/yc-s3-service-account.json"
|
||||
|
||||
- name: BIM_API_V2_DB
|
||||
value:
|
||||
_default: "/etc/sarex/bim-api-v2-db-prod.json"
|
||||
|
||||
- name: PDM_API_DB
|
||||
value:
|
||||
_default: "/etc/pdm/pdm-api-db-prod.json"
|
||||
|
||||
- name: WORKSPACE_API_DB
|
||||
value:
|
||||
_default: "/etc/ws/ws-api-db-prod.json"
|
||||
|
||||
- name: ISSUE_API_DB
|
||||
value:
|
||||
_default: "/etc/issues/issue-api-db-prod.json"
|
||||
|
||||
- name: MAILGUN
|
||||
value:
|
||||
_default: "/etc/mailgun-secret/env.json"
|
||||
|
||||
- name: INTERNAL_PDM_URL
|
||||
value:
|
||||
_default: "http://documentations-api.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: INTERNAL_FILESTREAM_URL
|
||||
value:
|
||||
_default: "http://documentations-filestream.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: EXTERNAL_PDM_URL
|
||||
value:
|
||||
_default: "http://documentations-api.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: EXTERNAL_FILESTREAM_URL
|
||||
value:
|
||||
_default: "http://documentations-filestream-service.documentations.svc.cluster.local:8080"
|
||||
|
||||
- name: RESOURCES_API_INTERNAL_HOST
|
||||
value:
|
||||
_default: "http://resources-service.resources.svc.cluster.local:8000"
|
||||
|
||||
- name: ENABLE_SQL_QUERY
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: ENABLE_S3_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_S3V2_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_PDM_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_URL_STORAGE
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_SRX_TMP
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_BIM_API_V2_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_WORKSPACE_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_ISSUE_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_RESOURCES_API
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_PDM_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_COMPARISONS_API_DB
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_MAIL_GUN
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_AMQP_EXECUTOR
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: ENABLE_KUBERNETES_EXECUTOR
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MAX_WORKFLOWS_LIMIT
|
||||
value:
|
||||
_default: "30"
|
||||
|
||||
- name: CPU_COUNT
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MEMORY_GI
|
||||
value:
|
||||
_default: "4"
|
||||
|
||||
- name: CPU_COUNT_LOW_RESOURCES
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MEMORY_GI_LOW_RESOURCES
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: CPU_COUNT_HIGH_MEM
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: MEMORY_GI_HIGH_MEM
|
||||
value:
|
||||
_default: "4"
|
||||
|
||||
- name: COUNT_RUNNING_WORKERS
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: COUNT_CANCELING_WORKERS
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: COUNT_HANDLE_JOB_WORKERS
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: BIM_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: BIM_API_V2_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: PDM_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: COMPARISONS_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: WORKSPACE_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: JOBS_NAMESPACE
|
||||
value:
|
||||
_default: "workflow"
|
||||
|
||||
- name: ISSUE_API_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: WORKFLOWS_SENTRY_DSN
|
||||
value:
|
||||
_default: "https://866b532efdbb4764a7551b76231232fc@o279218.ingest.sentry.io/543123"
|
||||
|
||||
- name: WORKFLOWS_SENTRY_DEBUG
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: TOLERATION_KEY
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: TOLERATION_VALUE
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: TOLERATION_KEY_HIGH_MEM
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: TOLERATION_VALUE_HIGH_MEM
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: TOLERATION_KEY_PERSISTENT
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: TOLERATION_VALUE_PERSISTENT
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: RABBITMQ_CREATE_EXCHANGE
|
||||
value:
|
||||
_default: "autodesk.inputMessage"
|
||||
|
||||
- name: RABBITMQ_CANCEL_EXCHANGE
|
||||
value:
|
||||
_default: "autodesk.cancelMessage"
|
||||
|
||||
- name: RABBITMQ_CREATE_ROUTING_KEY
|
||||
value:
|
||||
_default: "converting"
|
||||
|
||||
- name: RABBITMQ_CANCEL_TOPIC
|
||||
value:
|
||||
_default: "cancel"
|
||||
|
||||
- name: RABBITMQ_COMPLETENESS_EXCHANGE
|
||||
value:
|
||||
_default: "autodesk.outputMessage"
|
||||
|
||||
- name: RABBITMQ_COMPLETENESS_TOPIC
|
||||
value:
|
||||
_default: "output_navis"
|
||||
|
||||
- name: CONTROL_PLANE_PERIOD
|
||||
value:
|
||||
_default: "10s"
|
||||
|
||||
- name: DEFAULT_TOLERATION_KEY
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: DEFAULT_TOLERATION_VALUE
|
||||
value:
|
||||
_default: "processing-light"
|
||||
|
||||
- name: DEFAULT_NODE_SELECTOR_KEY
|
||||
value:
|
||||
_default: "dedicated"
|
||||
|
||||
- name: DEFAULT_NODE_SELECTOR_VALUE
|
||||
value:
|
||||
_default: "processing-light"
|
||||
secretEnvs:
|
||||
- name: RABBITMQ_USER
|
||||
secretName:
|
||||
_default: "rabbitmq-secret"
|
||||
secretKey: "username"
|
||||
|
||||
- name: RABBITMQ_PASS
|
||||
secretName:
|
||||
_default: "rabbitmq-secret"
|
||||
secretKey: "password"
|
||||
|
||||
- name: POSTGRES_USER
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "username"
|
||||
|
||||
- name: POSTGRES_PASSWORD
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "password"
|
||||
|
||||
- name: POSTGRES_DB
|
||||
secretName:
|
||||
_default: "postgres-secret"
|
||||
secretKey: "database"
|
||||
|
||||
- name: POD_NAME
|
||||
secretName:
|
||||
_default: "fieldRef:metadata.name"
|
||||
secretKey: ""
|
||||
|
||||
commitSha: ""
|
||||
gitlabUri: ""
|
||||
gitlabJobUrl: ""
|
||||
owner: ""
|
||||
93
apps/processing/brusnika-stage/frontend.yaml
Normal file
93
apps/processing/brusnika-stage/frontend.yaml
Normal file
@ -0,0 +1,93 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: workflow
|
||||
|
||||
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:
|
||||
frontend:
|
||||
enabled: true
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/workflows-frontend:brusnika_f803954b
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
deployment:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: frontend
|
||||
|
||||
replicaCount:
|
||||
_default: 1
|
||||
stage: 1
|
||||
preprod: 3
|
||||
production: 3
|
||||
|
||||
port:
|
||||
_default: 80
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: frontend-service
|
||||
|
||||
|
||||
type:
|
||||
_default: ClusterIP
|
||||
|
||||
port:
|
||||
_default: 8080
|
||||
|
||||
targetPort:
|
||||
_default: 8080
|
||||
|
||||
portName:
|
||||
_default: http
|
||||
|
||||
imagePullSecrets:
|
||||
enabled:
|
||||
_default: true
|
||||
name:
|
||||
_default: regcred
|
||||
|
||||
|
||||
|
||||
commitSha: ""
|
||||
gitlabUri: ""
|
||||
gitlabJobUrl: ""
|
||||
owner: ""
|
||||
9
apps/processing/brusnika-stage/kustomization.yaml
Normal file
9
apps/processing/brusnika-stage/kustomization.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: workflow
|
||||
resources:
|
||||
- api.yaml
|
||||
- engine.yaml
|
||||
- engine-low.yaml
|
||||
- frontend.yaml
|
||||
@ -13,6 +13,7 @@ resources:
|
||||
- ../../apps/workspaces/brusnika-stage
|
||||
- ../../apps/documentations/brusnika-stage
|
||||
- ../../apps/flows/brusnika-stage
|
||||
- ../../apps/processing/brusnika-stage
|
||||
- ../../apps/reviews/brusnika-stage
|
||||
- ../../apps/issues/brusnika-stage
|
||||
- ../../apps/system-log/brusnika-stage
|
||||
|
||||
Loading…
Reference in New Issue
Block a user