From a518f0efe0c1cb4a9624cf70e69b24caf675b452 Mon Sep 17 00:00:00 2001 From: VinitKulkarni <42830279+VinitKulkarni@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:02:56 +0530 Subject: [PATCH 1/6] Create frontend.yml --- manifests/frontend.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 manifests/frontend.yml diff --git a/manifests/frontend.yml b/manifests/frontend.yml new file mode 100644 index 00000000..d6ddcd50 --- /dev/null +++ b/manifests/frontend.yml @@ -0,0 +1 @@ +fe From 5a9e1cf0bda6a889237a10fe5b4cdb626d786ba4 Mon Sep 17 00:00:00 2001 From: VinitKulkarni <42830279+VinitKulkarni@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:03:15 +0530 Subject: [PATCH 2/6] Create frontend-svc.yml --- manifests/frontend-svc.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 manifests/frontend-svc.yml diff --git a/manifests/frontend-svc.yml b/manifests/frontend-svc.yml new file mode 100644 index 00000000..acb7f0ce --- /dev/null +++ b/manifests/frontend-svc.yml @@ -0,0 +1 @@ +fe svc From 07adf5b4f88f251d78c17cb3d5dd9939a127c70d Mon Sep 17 00:00:00 2001 From: VinitKulkarni <42830279+VinitKulkarni@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:39:10 +0530 Subject: [PATCH 3/6] Update frontend.yml --- manifests/frontend.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/manifests/frontend.yml b/manifests/frontend.yml index d6ddcd50..452e0395 100644 --- a/manifests/frontend.yml +++ b/manifests/frontend.yml @@ -1 +1,21 @@ -fe +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cryptomonitor-deployment + labels: + app: cryptomonitor-app +spec: + replicas: 1 + selector: + matchLabels: + app: cryptomonitor-app + template: + metadata: + labels: + app: cryptomonitor-app + spec: + containers: + - name: cryptomonitor-container + image: vinitkulkarni/crypto-monitor-img:8 + ports: + - containerPort: 80 From 00fa757fd38772ad1b39a4dd8beb40787384e460 Mon Sep 17 00:00:00 2001 From: VinitKulkarni <42830279+VinitKulkarni@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:40:00 +0530 Subject: [PATCH 4/6] Update frontend-svc.yml --- manifests/frontend-svc.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/manifests/frontend-svc.yml b/manifests/frontend-svc.yml index acb7f0ce..ea653769 100644 --- a/manifests/frontend-svc.yml +++ b/manifests/frontend-svc.yml @@ -1 +1,17 @@ -fe svc +apiVersion: v1 +kind: Service +metadata: + name: cryptomonitor-service +spec: + type: NodePort + selector: + app: cryptomonitor-app + ports: + - port: 80 + # By default and for convenience, the `targetPort` is set to + # the same value as the `port` field. + targetPort: 80 + # Optional field + # By default and for convenience, the Kubernetes control plane + # will allocate a port from a range (default: 30000-32767) + nodePort: 30007 From 196fbffab7c57a560ddc96bb6665413f7673414e Mon Sep 17 00:00:00 2001 From: VinitKulkarni <42830279+VinitKulkarni@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:41:26 +0530 Subject: [PATCH 5/6] Update frontend.yml From 0dea926249e999d96b91769d1dc48e02c71ad3e4 Mon Sep 17 00:00:00 2001 From: VinitKulkarni <42830279+VinitKulkarni@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:43:02 +0530 Subject: [PATCH 6/6] Update frontend.yml --- manifests/frontend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/frontend.yml b/manifests/frontend.yml index 452e0395..e60c096c 100644 --- a/manifests/frontend.yml +++ b/manifests/frontend.yml @@ -16,6 +16,6 @@ spec: spec: containers: - name: cryptomonitor-container - image: vinitkulkarni/crypto-monitor-img:8 + image: vinitkulkarni/crypto-monitor-img:{BUILD_ID} ports: - containerPort: 80