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

Configured spacy-keyword-extraction-api--stg #3201

Merged
merged 2 commits into from
Dec 18, 2024
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: spacy-keyword-extraction-api--stg
labels:
app: spacy-keyword-extraction-api--stg
namespace: peerscout
spec:
selector:
matchLabels:
app: spacy-keyword-extraction-api--stg
template:
metadata:
labels:
app: spacy-keyword-extraction-api--stg
spec:
containers:
- name: spacy-keyword-extraction-api
image: ghcr.io/elifesciences/spacy-keyword-extraction-api_unstable:main-7b9b1944-20241217.1657
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 120
periodSeconds: 60
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 120
periodSeconds: 60
resources:
requests:
cpu: 100m
memory: 2.6Gi
limits:
cpu: 500m
memory: 3Gi

---
apiVersion: v1
kind: Service
metadata:
name: spacy-keyword-extraction-api--stg
namespace: peerscout
spec:
selector:
app: spacy-keyword-extraction-api--stg
ports:
- port: 8000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: spacy-keyword-extraction-api--stg
namespace: peerscout
labels:
app: spacy-keyword-extraction-api--stg
spec:
rules:
- host: spacy-keyword-extraction-api--stg.elifesciences.org
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: spacy-keyword-extraction-api--stg
port:
number: 8000
Loading