Skip to content

Commit

Permalink
Stub out k8s manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Sep 19, 2024
1 parent 22d1a0d commit 7d9a95c
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/k8s/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ spec:
name: islandora-tesseract
port:
number: 8080
- path: /whisper(/|$)(.*)
pathType: Prefix
backend:
service:
name: islandora-whisper
port:
number: 8080
45 changes: 45 additions & 0 deletions ci/k8s/whisper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
apiVersion: v1
kind: Service
metadata:
name: islandora-whisper
spec:
selector:
app: islandora-whisper
ports:
- protocol: TCP
port: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: islandora-whisper
spec:
replicas: 3
selector:
matchLabels:
app: islandora-whisper
template:
metadata:
labels:
app: islandora-whisper
spec:
containers:
- name: scyllaridae-whisper
image: __DOCKER_REPOSITORY__/scyllaridae-whisper:whisper
imagePullPolicy: IfNotPresent
resources:
requests:
memory: "256Mi"
cpu: "500m"
nvidia.com/gpu: 1
limits:
memory: "1Gi"
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /healthcheck
port: 8080
initialDelaySeconds: 5
periodSeconds: 10

0 comments on commit 7d9a95c

Please sign in to comment.