Skip to content

Commit

Permalink
feat(common): add pod definitions for API
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 13, 2023
1 parent b60ccd5 commit e0589e2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions common/pod-cpu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: onnx-web
labels:
name: onnx-web
spec:
containers:
- name: onnx-web
image: docker.io/ssube/onnx-web-api:main-cpu-buster
ports:
- containerPort: 5000
resources: {}
13 changes: 13 additions & 0 deletions common/pod-cuda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: onnx-web
labels:
name: onnx-web
spec:
containers:
- name: onnx-web
image: docker.io/ssube/onnx-web-api:main-cuda-ubuntu
ports:
- containerPort: 5000
resources: {}

0 comments on commit e0589e2

Please sign in to comment.