mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-15 10:18:45 +00:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: sailing-kw2019-master
|
|
labels:
|
|
app: sailing-kw2019-master
|
|
spec:
|
|
containers:
|
|
- name: sailing
|
|
image: ghcr.io/eclipse-sailing-analytics/sailing-analytics:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 8888
|
|
name: http-port
|
|
- containerPort: 14888
|
|
name: telnet-port
|
|
resources:
|
|
requests:
|
|
memory: "6Gi"
|
|
cpu: "250m"
|
|
limits:
|
|
memory: "16Gi"
|
|
cpu: "500m"
|
|
env:
|
|
- name: MONGODB_URI
|
|
value: mongodb://mongodb-mongodb-replicaset-0.mongodb-mongodb-replicaset,mongodb-mongodb-replicaset-1.mongodb-mongodb-replicaset,mongodb-mongodb-replicaset-2.mongodb-mongodb-replicaset/kw2019?readPreference=primaryPreferred
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http-port
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- ./status
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
imagePullSecrets:
|
|
- name: regcred
|