From 99efbfb5fa22513361d5f0d3426f0ace0ab98f3f Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Mon, 9 Jun 2025 22:45:14 +0530 Subject: [PATCH 01/53] myself --- src/components/FrontPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FrontPage.js b/src/components/FrontPage.js index 4a9c1f7..24e56ea 100644 --- a/src/components/FrontPage.js +++ b/src/components/FrontPage.js @@ -20,7 +20,7 @@ const FrontPage = () => { return (
-

Edu Learn

+

Kethesh Class

From 47c0555a3ff7027a47ec8fc3dbf9bb16099faa67 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Mon, 9 Jun 2025 23:11:41 +0530 Subject: [PATCH 02/53] done --- src/components/FrontPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FrontPage.js b/src/components/FrontPage.js index 24e56ea..c3a589f 100644 --- a/src/components/FrontPage.js +++ b/src/components/FrontPage.js @@ -20,7 +20,7 @@ const FrontPage = () => { return (
-

Kethesh Class

+

Kethesh

From 8ae2f19e5a870ce58f7a83e1b91b8df61ab1adfe Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 10 Jun 2025 16:07:00 +0530 Subject: [PATCH 03/53] Update FrontPage.js 2.1 --- src/components/FrontPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FrontPage.js b/src/components/FrontPage.js index c3a589f..1cb3cff 100644 --- a/src/components/FrontPage.js +++ b/src/components/FrontPage.js @@ -20,7 +20,7 @@ const FrontPage = () => { return (
-

Kethesh

+

LORD

From 3fe5743b6095e74b4efe91b549e40b24d84b60a3 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 10 Jun 2025 16:33:30 +0530 Subject: [PATCH 04/53] Update FrontPage.jsworld --- src/components/FrontPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FrontPage.js b/src/components/FrontPage.js index 1cb3cff..7ffaf42 100644 --- a/src/components/FrontPage.js +++ b/src/components/FrontPage.js @@ -20,7 +20,7 @@ const FrontPage = () => { return (
-

LORD

+

World

From 310fe2ede694b8068ae00043d6d5a22172e2db51 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 10 Jun 2025 16:34:15 +0530 Subject: [PATCH 05/53] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ffa878..d6e3bdd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lms-react", - "version": "1.1", + "version": "3.1", "private": true, "dependencies": { "@testing-library/dom": "^10.4.0", From 99369ce8bb169c489070c21f94ade19bd6f96103 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 10 Jun 2025 16:35:42 +0530 Subject: [PATCH 06/53] Update FrontPage.js --- src/components/FrontPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FrontPage.js b/src/components/FrontPage.js index 7ffaf42..adb91fd 100644 --- a/src/components/FrontPage.js +++ b/src/components/FrontPage.js @@ -20,7 +20,7 @@ const FrontPage = () => { return (
-

World

+

World 3.2

From 07420a88bb3df5921aaeff56aae1dc5eead81492 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 10 Jun 2025 16:36:51 +0530 Subject: [PATCH 07/53] Update package.json 3.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d6e3bdd..f51df0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lms-react", - "version": "3.1", + "version": "3.2", "private": true, "dependencies": { "@testing-library/dom": "^10.4.0", From 539ced0b4bd2be3e31eb7faa5bc3b6bb726c4032 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Sat, 14 Jun 2025 01:38:34 +0530 Subject: [PATCH 08/53] Update FrontPage.js mafia --- src/components/FrontPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FrontPage.js b/src/components/FrontPage.js index adb91fd..3a730ab 100644 --- a/src/components/FrontPage.js +++ b/src/components/FrontPage.js @@ -20,7 +20,7 @@ const FrontPage = () => { return (
-

World 3.2

+

mafia

From 19cb49e3c350acab2debcc27df21b12bc5256832 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Sat, 14 Jun 2025 01:39:32 +0530 Subject: [PATCH 09/53] Update package.json 4.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f51df0b..8c5bf6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lms-react", - "version": "3.2", + "version": "4.2", "private": true, "dependencies": { "@testing-library/dom": "^10.4.0", From e75fdffb72f427d241bc52a77d4f1efcceb56a83 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Sun, 15 Jun 2025 13:38:39 +0530 Subject: [PATCH 10/53] Delete Dockerfile --- Dockerfile | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 5818f0b..0000000 --- a/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -# Step 1: Build the React app -FROM node:20 AS build - -# Set working directory -WORKDIR /app - -# Copy package.json and package-lock.json -COPY package.json package-lock.json ./ - -# Install dependencies -RUN npm install - -# Copy the rest of the application files -COPY . . - -# Build the app for production -RUN npm run build - -# Step 2: Set up the production server with Nginx -FROM nginx:alpine - -# Copy the build output to Nginx's public directory -COPY --from=build /app/build /usr/share/nginx/html - -# Expose port 80 -EXPOSE 80 - -# Start Nginx -CMD ["nginx", "-g", "daemon off;"] From 3f079f7cc9f99a3bf29d6f566799a94cdd4d3d72 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Sun, 15 Jun 2025 13:56:45 +0530 Subject: [PATCH 11/53] dra --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dac3853 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +# - Comment, ignored by docker +# - Docker Directives/intsructions will be in UPPER CASE +# FROM -> used for specifying base image +FROM nginx + +#COPY -> USED FOR COPYING FILES FROM HOST to YOUR CUSTOM IMAGE +COPY . /usr/share/nginx/html \ No newline at end of file From f8c0126c7ce66cbdccad9cb7676e519cf35a4bb5 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Mon, 23 Jun 2025 13:33:14 +0530 Subject: [PATCH 12/53] test pod.yaml --- k8s/pod.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 k8s/pod.yaml diff --git a/k8s/pod.yaml b/k8s/pod.yaml new file mode 100644 index 0000000..8cfba8b --- /dev/null +++ b/k8s/pod.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Pod +metadata: + name: Pod-nginx +spec: + container: + - name: c1 + image: nginx + port: + - containerPort : 80 \ No newline at end of file From eac1ab97aa986b2a39ada04515e034f89255379b Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Mon, 23 Jun 2025 13:41:31 +0530 Subject: [PATCH 13/53] pods changes --- k8s/pod.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/pod.yaml b/k8s/pod.yaml index 8cfba8b..9eff6bc 100644 --- a/k8s/pod.yaml +++ b/k8s/pod.yaml @@ -3,8 +3,8 @@ kind: Pod metadata: name: Pod-nginx spec: - container: - - name: c1 + containers: + - name: one image: nginx port: - containerPort : 80 \ No newline at end of file From f5f0b10225fa9b78ad2b9c555df9a087815b245d Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Mon, 23 Jun 2025 13:46:21 +0530 Subject: [PATCH 14/53] final changes --- k8s/pod.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/pod.yaml b/k8s/pod.yaml index 9eff6bc..a938f86 100644 --- a/k8s/pod.yaml +++ b/k8s/pod.yaml @@ -6,5 +6,5 @@ spec: containers: - name: one image: nginx - port: - - containerPort : 80 \ No newline at end of file + ports: + - containerPort: 80 \ No newline at end of file From e4027770885cba88c0aab5ea9c98cf50ee90cbf8 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Mon, 23 Jun 2025 13:49:38 +0530 Subject: [PATCH 15/53] changes --- k8s/pod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/pod.yaml b/k8s/pod.yaml index a938f86..e577b0b 100644 --- a/k8s/pod.yaml +++ b/k8s/pod.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Pod metadata: - name: Pod-nginx + name: pod-nginx spec: containers: - name: one From 27ab1d8ebc10424c3d4a91cd1fd0694f7e1ff72e Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 15:23:48 +0530 Subject: [PATCH 16/53] react-app deploy --- react-app deployment.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 react-app deployment.yaml diff --git a/react-app deployment.yaml b/react-app deployment.yaml new file mode 100644 index 0000000..bdbc701 --- /dev/null +++ b/react-app deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: React-app +spec: + replicas: 1 + selector: + matchlabels: + app: React-app +template: + metadata: + labels: + app: React-app + spec: + containers: + - name: React-app-c1 + image: Jithesh0017/react-app + ports: + - containerPort: 80 From 08e83bdf933b0320d0fca7d1009e11cdfb43faef Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 15:23:59 +0530 Subject: [PATCH 17/53] react-app service --- react-app service.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 react-app service.yaml diff --git a/react-app service.yaml b/react-app service.yaml new file mode 100644 index 0000000..8e8f3c6 --- /dev/null +++ b/react-app service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: React-app-Service +spec: + type: Nodeport + selector: + app: React-app + ports: + - protocol: TCP + port: 80 + nodeport: 30008 \ No newline at end of file From 2488ab08475e5d2dfdc508f74ed64973eae8011f Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 15:26:28 +0530 Subject: [PATCH 18/53] react k8s --- k8s/react-app deployment.yaml | 19 +++++++++++++++++++ k8s/react-app service.yaml | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 k8s/react-app deployment.yaml create mode 100644 k8s/react-app service.yaml diff --git a/k8s/react-app deployment.yaml b/k8s/react-app deployment.yaml new file mode 100644 index 0000000..bdbc701 --- /dev/null +++ b/k8s/react-app deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: React-app +spec: + replicas: 1 + selector: + matchlabels: + app: React-app +template: + metadata: + labels: + app: React-app + spec: + containers: + - name: React-app-c1 + image: Jithesh0017/react-app + ports: + - containerPort: 80 diff --git a/k8s/react-app service.yaml b/k8s/react-app service.yaml new file mode 100644 index 0000000..8e8f3c6 --- /dev/null +++ b/k8s/react-app service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: React-app-Service +spec: + type: Nodeport + selector: + app: React-app + ports: + - protocol: TCP + port: 80 + nodeport: 30008 \ No newline at end of file From 26e24a34bb1ae85e4a582ba9b492fff8863d9c69 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 15:33:41 +0530 Subject: [PATCH 19/53] changes --- k8s/react-app-deployment.yaml | 19 +++++++++++++++++++ k8s/react-app-service.yaml | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 k8s/react-app-deployment.yaml create mode 100644 k8s/react-app-service.yaml diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml new file mode 100644 index 0000000..bdbc701 --- /dev/null +++ b/k8s/react-app-deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: React-app +spec: + replicas: 1 + selector: + matchlabels: + app: React-app +template: + metadata: + labels: + app: React-app + spec: + containers: + - name: React-app-c1 + image: Jithesh0017/react-app + ports: + - containerPort: 80 diff --git a/k8s/react-app-service.yaml b/k8s/react-app-service.yaml new file mode 100644 index 0000000..8e8f3c6 --- /dev/null +++ b/k8s/react-app-service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: React-app-Service +spec: + type: Nodeport + selector: + app: React-app + ports: + - protocol: TCP + port: 80 + nodeport: 30008 \ No newline at end of file From df36ad6fcd3af5d1f4f0a2e7120f9fd76be58e29 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 15:41:00 +0530 Subject: [PATCH 20/53] done --- k8s/react-app-deployment.yaml | 6 +++--- k8s/react-app-service.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index bdbc701..f51169c 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -1,16 +1,16 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: React-app + name: Jithesh spec: replicas: 1 selector: matchlabels: - app: React-app + app: nginx template: metadata: labels: - app: React-app + app: nginx spec: containers: - name: React-app-c1 diff --git a/k8s/react-app-service.yaml b/k8s/react-app-service.yaml index 8e8f3c6..922b585 100644 --- a/k8s/react-app-service.yaml +++ b/k8s/react-app-service.yaml @@ -1,11 +1,11 @@ apiVersion: v1 kind: Service metadata: - name: React-app-Service + name: Jithesh spec: type: Nodeport selector: - app: React-app + app: nginx ports: - protocol: TCP port: 80 From 314b0ffc64e404c9bb088e1af061a470f41cd41a Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 15:45:35 +0530 Subject: [PATCH 21/53] deploy --- k8s/react-app-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index f51169c..34e540a 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -14,6 +14,6 @@ template: spec: containers: - name: React-app-c1 - image: Jithesh0017/react-app + image: jithesh0017/react-app ports: - containerPort: 80 From a7337bf25a2347a58b938927d7f6b7213354c8be Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:01:06 +0530 Subject: [PATCH 22/53] final deploy --- k8s/react-app-deployment.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index 34e540a..019b2a2 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -7,13 +7,13 @@ spec: selector: matchlabels: app: nginx -template: - metadata: - labels: - app: nginx - spec: - containers: - - name: React-app-c1 - image: jithesh0017/react-app - ports: - - containerPort: 80 + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: React-app-c1 + image: jithesh0017/react-app + ports: + - containerPort: 80 From 7bcba50bfd92a57779c3eac842c39b317aba8f3b Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:04:16 +0530 Subject: [PATCH 23/53] k --- k8s/react-app-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index 019b2a2..1e232d1 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -1,7 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: Jithesh + name: nginx spec: replicas: 1 selector: From 90a7c14afcff33a7f3ebbb1b55815645357e85af Mon Sep 17 00:00:00 2001 From: jithesh0017 Date: Tue, 24 Jun 2025 16:08:47 +0530 Subject: [PATCH 24/53] Delete react-app deployment.yaml --- react-app deployment.yaml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 react-app deployment.yaml diff --git a/react-app deployment.yaml b/react-app deployment.yaml deleted file mode 100644 index bdbc701..0000000 --- a/react-app deployment.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: React-app -spec: - replicas: 1 - selector: - matchlabels: - app: React-app -template: - metadata: - labels: - app: React-app - spec: - containers: - - name: React-app-c1 - image: Jithesh0017/react-app - ports: - - containerPort: 80 From 4dad6bf7e89e3272e546c4741806d8e450497d63 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:09:54 +0530 Subject: [PATCH 25/53] done --- k8s/react-app-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index 1e232d1..4f9a961 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -13,7 +13,7 @@ spec: app: nginx spec: containers: - - name: React-app-c1 + - name: c1 image: jithesh0017/react-app ports: - containerPort: 80 From e9baf8bf628df976dc59d0a101d2be6bcbbd2bf3 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:11:47 +0530 Subject: [PATCH 26/53] yu --- k8s/react-app-deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index 4f9a961..efc0a24 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -1,16 +1,16 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: nginx + name: react-app spec: replicas: 1 selector: matchlabels: - app: nginx + app: react-app template: metadata: labels: - app: nginx + app: react-app spec: containers: - name: c1 From 3be03fcde86c318869c2a7c48d9a28bb6af84327 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:17:15 +0530 Subject: [PATCH 27/53] pod --- k8s/pod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/pod.yaml b/k8s/pod.yaml index e577b0b..a07fafe 100644 --- a/k8s/pod.yaml +++ b/k8s/pod.yaml @@ -4,7 +4,7 @@ metadata: name: pod-nginx spec: containers: - - name: one + - name: two image: nginx ports: - containerPort: 80 \ No newline at end of file From 4233c56862ec0eff862b2378e7e45382322ad3b2 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:29:40 +0530 Subject: [PATCH 28/53] q --- k8s/react-app-deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index efc0a24..ad029b2 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -1,19 +1,19 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: react-app + name: nginx-deployment spec: replicas: 1 selector: matchlabels: - app: react-app + app: nginx template: metadata: labels: - app: react-app + app: nginx spec: containers: - name: c1 - image: jithesh0017/react-app + image: nginx ports: - containerPort: 80 From fb489d96477c989fde844de26aa72e0fcd2be3b7 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:30:45 +0530 Subject: [PATCH 29/53] ng --- k8s/react-app deployment.yaml | 19 ------------------- k8s/react-app service.yaml | 12 ------------ 2 files changed, 31 deletions(-) delete mode 100644 k8s/react-app deployment.yaml delete mode 100644 k8s/react-app service.yaml diff --git a/k8s/react-app deployment.yaml b/k8s/react-app deployment.yaml deleted file mode 100644 index bdbc701..0000000 --- a/k8s/react-app deployment.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: React-app -spec: - replicas: 1 - selector: - matchlabels: - app: React-app -template: - metadata: - labels: - app: React-app - spec: - containers: - - name: React-app-c1 - image: Jithesh0017/react-app - ports: - - containerPort: 80 diff --git a/k8s/react-app service.yaml b/k8s/react-app service.yaml deleted file mode 100644 index 8e8f3c6..0000000 --- a/k8s/react-app service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: React-app-Service -spec: - type: Nodeport - selector: - app: React-app - ports: - - protocol: TCP - port: 80 - nodeport: 30008 \ No newline at end of file From 1f3732da5d921725ca7176a4e6e9b2225c1c96ac Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:33:00 +0530 Subject: [PATCH 30/53] okayy --- k8s/react-app-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml index ad029b2..d5ff51b 100644 --- a/k8s/react-app-deployment.yaml +++ b/k8s/react-app-deployment.yaml @@ -13,7 +13,7 @@ spec: app: nginx spec: containers: - - name: c1 + - name: c2 image: nginx ports: - containerPort: 80 From d25fc4662b6df4322a1a5bfa35e300ef7287dc6b Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:41:37 +0530 Subject: [PATCH 31/53] oo --- k8s/deployment.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 k8s/deployment.yaml diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml new file mode 100644 index 0000000..6eb7572 --- /dev/null +++ b/k8s/deployment.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment + labels: + app: nginx +spec: + replicas: 1 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx + ports: + - containerPort: 80 From 77627fbfb4b687858cdfa87ebd2f3adbfe947105 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:43:41 +0530 Subject: [PATCH 32/53] app --- k8s/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 6eb7572..ff863dc 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -16,6 +16,6 @@ spec: spec: containers: - name: nginx - image: nginx + image: jithesh0017/react-app ports: - containerPort: 80 From a17e8b1e2030f47bc50444ec4065d20a61329a62 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:48:39 +0530 Subject: [PATCH 33/53] pp --- k8s/react-app-service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/react-app-service.yaml b/k8s/react-app-service.yaml index 922b585..9a62bf4 100644 --- a/k8s/react-app-service.yaml +++ b/k8s/react-app-service.yaml @@ -1,11 +1,11 @@ apiVersion: v1 kind: Service metadata: - name: Jithesh + name: nginx-service spec: type: Nodeport selector: - app: nginx + app: jithesh0017/react-app ports: - protocol: TCP port: 80 From 13f254bd0bbb675ccd6967b035cba9772fe81e04 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:48:48 +0530 Subject: [PATCH 34/53] jj --- k8s/service.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 k8s/service.yaml diff --git a/k8s/service.yaml b/k8s/service.yaml new file mode 100644 index 0000000..afcf117 --- /dev/null +++ b/k8s/service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: my-service +spec: + selector: + app.kubernetes.io/name: MyApp + ports: + - protocol: TCP + port: 80 + targetPort: 9376 From 2a06de5575ce7e32b3fb4157a0818d480db45720 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 16:51:44 +0530 Subject: [PATCH 35/53] kk --- k8s/service.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/k8s/service.yaml b/k8s/service.yaml index afcf117..4ac5a13 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -1,11 +1,12 @@ apiVersion: v1 kind: Service metadata: - name: my-service + name: nginx-service spec: + type: NodePort selector: - app.kubernetes.io/name: MyApp + app: nginx ports: - protocol: TCP port: 80 - targetPort: 9376 + targetPort: 30008 From fde9d1584cc74f4b45979c79cefaed712cacdbd1 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 17:30:09 +0530 Subject: [PATCH 36/53] nm --- k8s/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/service.yaml b/k8s/service.yaml index 4ac5a13..22fc728 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -9,4 +9,4 @@ spec: ports: - protocol: TCP port: 80 - targetPort: 30008 + targetPort: 32100 From 1edcc95cdcf4cd30fd544a56d03037d4e5760a76 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 17:38:37 +0530 Subject: [PATCH 37/53] rr --- k8s/react-app-deployment.yaml | 19 ------------------- k8s/react-app-service.yaml | 12 ------------ 2 files changed, 31 deletions(-) delete mode 100644 k8s/react-app-deployment.yaml delete mode 100644 k8s/react-app-service.yaml diff --git a/k8s/react-app-deployment.yaml b/k8s/react-app-deployment.yaml deleted file mode 100644 index d5ff51b..0000000 --- a/k8s/react-app-deployment.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-deployment -spec: - replicas: 1 - selector: - matchlabels: - app: nginx - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: c2 - image: nginx - ports: - - containerPort: 80 diff --git a/k8s/react-app-service.yaml b/k8s/react-app-service.yaml deleted file mode 100644 index 9a62bf4..0000000 --- a/k8s/react-app-service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nginx-service -spec: - type: Nodeport - selector: - app: jithesh0017/react-app - ports: - - protocol: TCP - port: 80 - nodeport: 30008 \ No newline at end of file From 348461aa8229603be514ac9c4e14220e6c2e4bd9 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 17:43:50 +0530 Subject: [PATCH 38/53] oo --- k8s/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index ff863dc..4a66784 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -15,7 +15,7 @@ spec: app: nginx spec: containers: - - name: nginx + - name: c1 image: jithesh0017/react-app ports: - containerPort: 80 From d207541dc10ef232cf5c3d53f9a56698cebd0c54 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 18:34:34 +0530 Subject: [PATCH 39/53] podd --- k8s/pod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/pod.yaml b/k8s/pod.yaml index a07fafe..e577b0b 100644 --- a/k8s/pod.yaml +++ b/k8s/pod.yaml @@ -4,7 +4,7 @@ metadata: name: pod-nginx spec: containers: - - name: two + - name: one image: nginx ports: - containerPort: 80 \ No newline at end of file From f45f48cf7a77b7e6252993d479bd5e64fa427fb7 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 18:43:03 +0530 Subject: [PATCH 40/53] ppp --- k8s/pod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/pod.yaml b/k8s/pod.yaml index e577b0b..239bf75 100644 --- a/k8s/pod.yaml +++ b/k8s/pod.yaml @@ -4,7 +4,7 @@ metadata: name: pod-nginx spec: containers: - - name: one + - name: c1 image: nginx ports: - containerPort: 80 \ No newline at end of file From 8b1e432fe72a5c2d24494dc938ee115f64db8332 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 18:49:44 +0530 Subject: [PATCH 41/53] 10 --- k8s/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/service.yaml b/k8s/service.yaml index 22fc728..fb99a3b 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -9,4 +9,4 @@ spec: ports: - protocol: TCP port: 80 - targetPort: 32100 + targetPort: 30010 From 55a9d4fca7bc9317c991835b4a6279d75abbfa8e Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 18:58:19 +0530 Subject: [PATCH 42/53] kk --- k8s/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/service.yaml b/k8s/service.yaml index fb99a3b..b3c20cb 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -9,4 +9,4 @@ spec: ports: - protocol: TCP port: 80 - targetPort: 30010 + NodePort: 30010 From 70224de45d5532ccb40e4fcbd342ea83d81a24d4 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 19:00:10 +0530 Subject: [PATCH 43/53] kkl --- k8s/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/service.yaml b/k8s/service.yaml index b3c20cb..5a1e921 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -9,4 +9,4 @@ spec: ports: - protocol: TCP port: 80 - NodePort: 30010 + nodePort: 30010 From 201f8acd2b1966aa0d661142d32fa4a335fc4dbe Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 19:01:47 +0530 Subject: [PATCH 44/53] kkll --- k8s/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 4a66784..3c96161 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -15,7 +15,8 @@ spec: app: nginx spec: containers: - - name: c1 + - name: c2 image: jithesh0017/react-app ports: - containerPort: 80 + \ No newline at end of file From f48b6b6b12b2bdafbb8e2ced111595c09ba16c76 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 19:18:49 +0530 Subject: [PATCH 45/53] ok --- k8s/deployment.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 3c96161..0ed262a 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -16,7 +16,6 @@ spec: spec: containers: - name: c2 - image: jithesh0017/react-app + image: Jithesh0017/react-app ports: - containerPort: 80 - \ No newline at end of file From 5a6378675f6e5b19a49cda7c354355deefb3d31f Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 19:23:24 +0530 Subject: [PATCH 46/53] oooo --- k8s/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 0ed262a..4bc4877 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -15,7 +15,7 @@ spec: app: nginx spec: containers: - - name: c2 + - name: c1 image: Jithesh0017/react-app ports: - containerPort: 80 From 4a2f05832b21ec7fe7aa8f4e80eca1ea6b9cfc22 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Tue, 24 Jun 2025 19:26:57 +0530 Subject: [PATCH 47/53] ppppw --- k8s/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 4bc4877..4a66784 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -16,6 +16,6 @@ spec: spec: containers: - name: c1 - image: Jithesh0017/react-app + image: jithesh0017/react-app ports: - containerPort: 80 From 229078677aa3e2cd34aa250015d23121abaa88c2 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Thu, 26 Jun 2025 20:31:04 +0530 Subject: [PATCH 48/53] LordBalancer --- k8s/deployment.yaml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 4a66784..539509f 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -1,21 +1,35 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: nginx-deployment + name: react-deployment labels: - app: nginx + app: react spec: - replicas: 1 + replicas: 2 selector: matchLabels: - app: nginx + app: react template: metadata: labels: - app: nginx + app: react spec: containers: - - name: c1 + - name: c2 image: jithesh0017/react-app ports: - containerPort: 80 +--- +apiVersion: v1 +kind: Service +metadata: + name: react-service +spec: + type: LordBalancer + selector: + app: react + ports: + - protocol: TCP + port: 80 + nodePort: 30015 + From 61555ef8ec55d29863f410404e8b41e22103a017 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Thu, 26 Jun 2025 20:31:22 +0530 Subject: [PATCH 49/53] LB --- k8s/service.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/service.yaml b/k8s/service.yaml index 5a1e921..ad11f67 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -1,12 +1,12 @@ apiVersion: v1 kind: Service metadata: - name: nginx-service + name: react-service spec: type: NodePort selector: - app: nginx + app: react ports: - protocol: TCP port: 80 - nodePort: 30010 + nodePort: 30015 From bb6fd18a131491e4a26ac6a5c72086caba35983f Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Thu, 26 Jun 2025 20:35:12 +0530 Subject: [PATCH 50/53] changes lb --- k8s/deployment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 539509f..6a41179 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -31,5 +31,4 @@ spec: ports: - protocol: TCP port: 80 - nodePort: 30015 From 3ee866b9f8db6110ff7066921f9165a5aa1415b4 Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Thu, 26 Jun 2025 20:42:47 +0530 Subject: [PATCH 51/53] done --- k8s/react-deployment.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 k8s/react-deployment.yaml diff --git a/k8s/react-deployment.yaml b/k8s/react-deployment.yaml new file mode 100644 index 0000000..97fbee7 --- /dev/null +++ b/k8s/react-deployment.yaml @@ -0,0 +1,34 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: react-deployment + labels: + app: react-app +spec: + replicas: 2 + selector: + matchLabels: + app: react-app + template: + metadata: + labels: + app: react-app + spec: + containers: + - name: c2 + image: jithesh0017/react-app + ports: + - containerPort: 80 +--- +apiVersion: v1 +kind: Service +metadata: + name: react-service +spec: + type: LordBalancer + selector: + app: react-app + ports: + - protocol: TCP + port: 80 + From ab5fdfc97fec33db7319eda9881f846952fc651a Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Thu, 26 Jun 2025 20:47:53 +0530 Subject: [PATCH 52/53] ok --- k8s/deployment.yaml | 34 ---------------------------------- k8s/react-deployment.yaml | 10 +++++----- 2 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 k8s/deployment.yaml diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml deleted file mode 100644 index 6a41179..0000000 --- a/k8s/deployment.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: react-deployment - labels: - app: react -spec: - replicas: 2 - selector: - matchLabels: - app: react - template: - metadata: - labels: - app: react - spec: - containers: - - name: c2 - image: jithesh0017/react-app - ports: - - containerPort: 80 ---- -apiVersion: v1 -kind: Service -metadata: - name: react-service -spec: - type: LordBalancer - selector: - app: react - ports: - - protocol: TCP - port: 80 - diff --git a/k8s/react-deployment.yaml b/k8s/react-deployment.yaml index 97fbee7..a9853af 100644 --- a/k8s/react-deployment.yaml +++ b/k8s/react-deployment.yaml @@ -3,16 +3,16 @@ kind: Deployment metadata: name: react-deployment labels: - app: react-app + app: react spec: replicas: 2 selector: matchLabels: - app: react-app + app: react template: metadata: labels: - app: react-app + app: react spec: containers: - name: c2 @@ -27,8 +27,8 @@ metadata: spec: type: LordBalancer selector: - app: react-app + app: react ports: - protocol: TCP port: 80 - + \ No newline at end of file From 0f43abcb2aa2ea1325923bd5b9e66fedb300491a Mon Sep 17 00:00:00 2001 From: Jithesh0017 Date: Thu, 26 Jun 2025 20:56:08 +0530 Subject: [PATCH 53/53] final load --- k8s/react-deployment.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/k8s/react-deployment.yaml b/k8s/react-deployment.yaml index a9853af..81b4a6a 100644 --- a/k8s/react-deployment.yaml +++ b/k8s/react-deployment.yaml @@ -25,10 +25,9 @@ kind: Service metadata: name: react-service spec: - type: LordBalancer + type: LoadBalancer selector: app: react ports: - protocol: TCP port: 80 - \ No newline at end of file