diff --git a/kubernetes-templates/04_cvat_backend_deployment.yml b/kubernetes-templates/04_cvat_backend_deployment.yml index 65af92486f74..940481551cec 100644 --- a/kubernetes-templates/04_cvat_backend_deployment.yml +++ b/kubernetes-templates/04_cvat_backend_deployment.yml @@ -29,6 +29,10 @@ spec: cpu: 10m memory: 100Mi env: + - name: CVAT_NUCLIO_HOST + value: "nuclio-service" + - name: no_proxy + value: "$(CVAT_NUCLIO_HOST)" - name: DJANGO_MODWSGI_EXTRA_ARGS value: "" - name: UI_PORT diff --git a/kubernetes-templates/04_serverless_service.yml b/kubernetes-templates/04_serverless_service.yml new file mode 100644 index 000000000000..335be2e437a5 --- /dev/null +++ b/kubernetes-templates/04_serverless_service.yml @@ -0,0 +1,10 @@ +kind: Service +apiVersion: v1 +metadata: + name: nuclio-service + namespace: cvat +spec: + type: ExternalName + externalName: nuclio-dashboard.nuclio.svc.cluster.local + ports: + - port: 8070 \ No newline at end of file