From 6d3859d9707784a1f88e0db20e8bff76c5d50d67 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Sat, 7 Dec 2024 09:03:15 -0500 Subject: [PATCH] Add hls --- ci/k8s/hls.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 ci/k8s/hls.yaml diff --git a/ci/k8s/hls.yaml b/ci/k8s/hls.yaml new file mode 100644 index 0000000..498974a --- /dev/null +++ b/ci/k8s/hls.yaml @@ -0,0 +1,46 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: islandora-hls +spec: + selector: + app: islandora-hls + ports: + - protocol: TCP + port: 8085 + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: islandora-hls +spec: + replicas: 3 + selector: + matchLabels: + app: islandora-hls + template: + metadata: + labels: + app: islandora-hls + spec: + containers: + - name: scyllaridae-hls + image: lehighlts/scyllaridae-hls:main + imagePullPolicy: IfNotPresent + resources: + requests: + memory: "512Mi" + cpu: "250m" + limits: + memory: "4Gi" + ports: + - hostPort: 8085 + containerPort: 8080 + readinessProbe: + httpGet: + path: /healthcheck + port: 8080 + initialDelaySeconds: 5 + periodSeconds: 10