apiVersion: apps/v1 kind: Deployment metadata: name: dlob-server annotations: argocd.argoproj.io/sync-wave: "4" spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: dlob-server template: metadata: labels: app.kubernetes.io/name: dlob-server spec: imagePullSecrets: - name: gitea-registry containers: - name: server image: gitea.mpabi.pl/trade/trade-dlob-server:sha-8a378b7-lite-l2 imagePullPolicy: IfNotPresent ports: - name: http containerPort: 6969 env: - name: ENV value: mainnet-beta - name: PORT value: "6969" - name: ELASTICACHE_HOST value: dlob-redis - name: ELASTICACHE_PORT value: "6379" - name: REDIS_CLIENT value: DLOB - name: ENDPOINT valueFrom: secretKeyRef: name: trade-dlob-rpc key: ENDPOINT - name: WS_ENDPOINT valueFrom: secretKeyRef: name: trade-dlob-rpc key: WS_ENDPOINT command: ["node", "/lib/serverLite.js"] readinessProbe: httpGet: path: /startup port: http initialDelaySeconds: 5 periodSeconds: 10 livenessProbe: httpGet: path: /health port: http initialDelaySeconds: 20 periodSeconds: 20