forked from dandi/dandi-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stardog.yaml.j2
49 lines (47 loc) · 1.05 KB
/
stardog.yaml.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: v1
kind: Pod
metadata:
name: stardog
labels:
name: stardog
spec:
containers:
- name: stardog-app
image: stardog/stardog
ports:
- containerPort: 5820
resources:
limits:
cpu: "2"
requests:
cpu: "1.9"
volumeMounts:
- name: persistent-storage
mountPath: /var/opt/stardog
subPath: stardog
nodeSelector:
on-demand: "true"
kops.k8s.io/instancegroup: "nodes-us-east-2a"
volumes:
- name: persistent-storage
persistentVolumeClaim:
claimName: efs-claim
---
kind: Service
apiVersion: v1
metadata:
name: stardog
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "3600"
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "{{ aws_certificate_arn }}"
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: https
spec:
type: LoadBalancer
ports:
- name: https
port: 5820
protocol: TCP
targetPort: 5820
selector:
name: stardog