Skip to content

Commit

Permalink
Merge pull request #1 from jizg/release-1.1.0
Browse files Browse the repository at this point in the history
enabling nuclio in k8s deployment
  • Loading branch information
Langhalsdino authored Oct 20, 2020
2 parents 4b4a700 + 55aa81d commit 7407c68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kubernetes-templates/04_cvat_backend_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions kubernetes-templates/04_serverless_service.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7407c68

Please sign in to comment.