Skip to content

Commit

Permalink
Added k8s manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredeen committed Apr 19, 2024
1 parent b277ebc commit 6209559
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions manifests/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: locust-deployment
spec:
replicas: 1
selector:
matchLabels:
app: locust
template:
metadata:
labels:
app: locust
annotations:
statefulset.kubernetes.io/pod-name: locust
spec:
containers:
- name: locust
image: ghcr.io/scilifelabdatacentre/serve-load-testing:main-20240419-1108
ports:
- containerPort: 8089
12 changes: 12 additions & 0 deletions manifests/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: locust-service
spec:
selector:
app: locust
ports:
- protocol: TCP
port: 8089
targetPort: 8089
type: ClusterIP

0 comments on commit 6209559

Please sign in to comment.