apiVersion: apps/v1 kind: Deployment metadata: name: financial-tokenization-service namespace: besu-network spec: replicas: 2 selector: matchLabels: app: financial-tokenization-service template: metadata: labels: app: financial-tokenization-service spec: containers: - name: financial-tokenization image: financial-tokenization-service:v1.0.0 env: - name: FIREFLY_API_URL value: http://firefly-api.firefly.svc.cluster.local:5000 - name: FIREFLY_API_KEY valueFrom: secretKeyRef: name: firefly-secrets key: admin-key - name: BESU_RPC_URL value: http://besu-rpc-service:8545 - name: CHAIN_ID value: "138" ports: - containerPort: 8080 name: http resources: requests: cpu: "500m" memory: "1Gi" limits: cpu: "1" memory: "2Gi" livenessProbe: httpGet: path: /api/v1/health port: 8080 initialDelaySeconds: 30 periodSeconds: 10 readinessProbe: httpGet: path: /api/v1/health port: 8080 initialDelaySeconds: 10 periodSeconds: 5 --- apiVersion: v1 kind: Service metadata: name: financial-tokenization-service namespace: besu-network spec: selector: app: financial-tokenization-service ports: - port: 8080 targetPort: 8080 name: http type: ClusterIP