From 0bc34ac90be83f9b33bf6e0a87c8fc00ba7510b4 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sat, 3 Aug 2024 20:44:44 +0700 Subject: [PATCH] Create pi-network-deployment.yaml --- .../deployments/pi-network-deployment.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 blockchain_integration/pi_network/CloudNexus/kubernetes/deployments/pi-network-deployment.yaml diff --git a/blockchain_integration/pi_network/CloudNexus/kubernetes/deployments/pi-network-deployment.yaml b/blockchain_integration/pi_network/CloudNexus/kubernetes/deployments/pi-network-deployment.yaml new file mode 100644 index 000000000..7c5d2542e --- /dev/null +++ b/blockchain_integration/pi_network/CloudNexus/kubernetes/deployments/pi-network-deployment.yaml @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: pi-network +spec: + replicas: 3 + selector: + matchLabels: + app: pi-network + template: + metadata: + labels: + app: pi-network + spec: + containers: + - name: pi-network + image: + ports: + - containerPort: 8080 + env: + - name: NODE_ENV + value: production + resources: + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 200m + memory: 256Mi