From a38e9639e8fcab9e2a9ec2fdd3b6753d862c38d6 Mon Sep 17 00:00:00 2001 From: Bob Ong Date: Tue, 9 Jul 2024 20:46:40 +0800 Subject: [PATCH] [digitalocean deploy] specific node version --- kube/starcoin-explorer-deployment.yaml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 kube/starcoin-explorer-deployment.yaml diff --git a/kube/starcoin-explorer-deployment.yaml b/kube/starcoin-explorer-deployment.yaml new file mode 100644 index 0000000..047654b --- /dev/null +++ b/kube/starcoin-explorer-deployment.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: react-app-deployment +spec: + replicas: 1 + selector: + matchLabels: + app: react-app + template: + metadata: + labels: + app: react-app + spec: + containers: + - name: react-app + image: starcoin_explorer:v1.9.10 + ports: + - containerPort: 3007 +--- +apiVersion: v1 +kind: Service +metadata: + name: react-app-service +spec: + type: LoadBalancer + ports: + - port: 3007 + selector: + app: react-app \ No newline at end of file