Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabling nuclio in k8s deployment #1

Merged
merged 1 commit into from
Oct 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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