-
Notifications
You must be signed in to change notification settings - Fork 392
Export service configuration guide
Andrey Sobolev edited this page Jul 25, 2025
·
3 revisions
apiVersion: apps/v1
kind: Deployment
metadata:
name: export-service
spec:
replicas: 1
selector:
matchLabels:
app: export-service
template:
metadata:
labels:
app: export-service
tier: service
spec:
tolerations:
- key: 'node.kubernetes.io/unreachable'
operator: 'Exists'
effect: 'NoExecute'
tolerationSeconds: 10
- key: 'node.kubernetes.io/not-ready'
operator: 'Exists'
effect: 'NoExecute'
tolerationSeconds: 10
priorityClassName: service-priority
containers:
- name: app
image: hardcoreeng/export:s0.7.193
command: ['node', '--max-old-space-size=8000', 'bundle.js']
resources:
limits:
memory: '8096M'
ports:
- containerPort: 8095
imagePullPolicy: Always
env:
- name: PORT
value: '4009'
- name: SECRET
value: $secret
- name: SERVICE_ID
value: export-service
- name: STATS_URL
value: http://stats
- name: STORAGE_CONFIG
value: $STORAGE_CONFIG
- name: ACCOUNTS_URL
value: http://account
$secret and $STORAGE_CONFIG need to be configured a right way