From 8fef4634904c21fb50b4ce53701cb42a10e7f247 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Mon, 4 Nov 2024 20:55:52 +0530 Subject: [PATCH 01/17] Create Dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..9807314f8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu +RUN apt update +RUN apt install apache2 -y +ADD . /var/www/html/ +ENTRYPOINT apachectl -D FOREGROUND From cb0e601f04522caa1cff342e420a67a40783e87f Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Mon, 4 Nov 2024 22:39:19 +0530 Subject: [PATCH 02/17] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 19c25caa0..7ecd01684 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - Intellipaat + Reema

Hello world!

From 8021242ebdebd8578dea808adfa46c7afd441bf0 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Mon, 4 Nov 2024 22:48:07 +0530 Subject: [PATCH 03/17] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 7ecd01684..c89f076ec 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - Reema + Reema R

Hello world!

From d671cdbd81999ea2683f1309aaa44e862c064d1d Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Tue, 19 Nov 2024 20:41:10 +0530 Subject: [PATCH 04/17] Create Deployment.yaml --- Deployment.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Deployment.yaml diff --git a/Deployment.yaml b/Deployment.yaml new file mode 100644 index 000000000..fd7f3b6a3 --- /dev/null +++ b/Deployment.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment + labels: + app: nginx +spec: + replicas: 2 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: visaltyagi12/project2:latest + ports: + - containerPort: 80 From 8485db6258cb3f6dfb661752ff914cac4cdfdccd Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Tue, 19 Nov 2024 20:42:05 +0530 Subject: [PATCH 05/17] Create Service.yaml --- Service.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Service.yaml diff --git a/Service.yaml b/Service.yaml new file mode 100644 index 000000000..ea6e7849c --- /dev/null +++ b/Service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: my-service +spec: + type: NodePort + selector: + app: nginx + ports: + - port: 80 + targetPort: 80 + nodePort: 30008 From 8661235d3b3041bf8e4b6c68d4eaecebce4733e8 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Tue, 19 Nov 2024 21:12:01 +0530 Subject: [PATCH 06/17] Update Deployment.yaml --- Deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deployment.yaml b/Deployment.yaml index fd7f3b6a3..581809abc 100644 --- a/Deployment.yaml +++ b/Deployment.yaml @@ -16,6 +16,6 @@ spec: spec: containers: - name: nginx - image: visaltyagi12/project2:latest + image: reemar123/project1:latest ports: - containerPort: 80 From 4fcd7935c3dbf4242ef4337e1560775becc3c486 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Tue, 19 Nov 2024 21:26:44 +0530 Subject: [PATCH 07/17] Update Deployment.yaml --- Deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deployment.yaml b/Deployment.yaml index 581809abc..bc3608472 100644 --- a/Deployment.yaml +++ b/Deployment.yaml @@ -16,6 +16,6 @@ spec: spec: containers: - name: nginx - image: reemar123/project1:latest + image: ReemaR123/project1:latest ports: - containerPort: 80 From 515128971ff34940eea51661aeb0d9ac30e6803b Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 15 Mar 2025 14:09:27 +0530 Subject: [PATCH 08/17] Delete Deployment.yaml --- Deployment.yaml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Deployment.yaml diff --git a/Deployment.yaml b/Deployment.yaml deleted file mode 100644 index bc3608472..000000000 --- a/Deployment.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-deployment - labels: - app: nginx -spec: - replicas: 2 - selector: - matchLabels: - app: nginx - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: ReemaR123/project1:latest - ports: - - containerPort: 80 From b0f87cc9649103965d9222799c91c27e411db8ad Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 15 Mar 2025 14:09:48 +0530 Subject: [PATCH 09/17] Delete Service.yaml --- Service.yaml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 Service.yaml diff --git a/Service.yaml b/Service.yaml deleted file mode 100644 index ea6e7849c..000000000 --- a/Service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: my-service -spec: - type: NodePort - selector: - app: nginx - ports: - - port: 80 - targetPort: 80 - nodePort: 30008 From c95a16f8baf389dfc6194b59ed179feadabd29e6 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Mon, 17 Mar 2025 17:42:35 +0530 Subject: [PATCH 10/17] Update Dockerfile --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9807314f8..0f30745b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -FROM ubuntu -RUN apt update -RUN apt install apache2 -y -ADD . /var/www/html/ -ENTRYPOINT apachectl -D FOREGROUND +FROM httpd:2.4 +COPY . /usr/local/apache2/htdocs/ + From 2c9e81599a202a49de90bd9d64a1948034b71fd5 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 22:23:39 +0530 Subject: [PATCH 11/17] Update Dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f30745b2..f8601654e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ -FROM httpd:2.4 -COPY . /usr/local/apache2/htdocs/ +FROM ubuntu +RUN apt update +RUN apt install apache2 -y +ADD . /var/www/html/ +ENTRYPOINT apachectl -D FOREGROUND From e339cafdc5a10a1e8640787f1c07d8558a86cebb Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 22:26:42 +0530 Subject: [PATCH 12/17] Create service.yaml --- service.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 service.yaml diff --git a/service.yaml b/service.yaml new file mode 100644 index 000000000..02a6e05d1 --- /dev/null +++ b/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: myservice +spec: + type: NodePort + selector: + app: apache2 + ports: + - port: 80 + targetPort: 85 + nodePort: 30010 From 58a6bd2d31351a8dca424c422c823902c5594860 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 22:30:45 +0530 Subject: [PATCH 13/17] Create deploy.yaml --- deploy.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 deploy.yaml diff --git a/deploy.yaml b/deploy.yaml new file mode 100644 index 000000000..4e832a494 --- /dev/null +++ b/deploy.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: mydeployment + labels: + app: apache2 +spec: + replicas: 5 + selector: + matchLabels: + app: apache2 + template: + metadata: + labels: + app: apache2 + spec: + containers: + - name: mydeplymentcont + image: reemar123/prt-task:latest + ports: + - containerPort: 80 From 26ab3080a798033eea987131794ef051a3c6c8f0 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 22:42:38 +0530 Subject: [PATCH 14/17] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 4e832a494..712b41eb9 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,6 +16,6 @@ spec: spec: containers: - name: mydeplymentcont - image: reemar123/prt-task:latest + image: reemar123/test:latest ports: - containerPort: 80 From d41dbbc1ef4d64612e8e584606b0e699f2e85893 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 23:06:00 +0530 Subject: [PATCH 15/17] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 712b41eb9..0aa1edd83 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,4 +18,4 @@ spec: - name: mydeplymentcont image: reemar123/test:latest ports: - - containerPort: 80 + - containerPort: 85 From f13733b85e6153b770b339179c518d81d0d1fa67 Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 23:21:53 +0530 Subject: [PATCH 16/17] Update service.yaml --- service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.yaml b/service.yaml index 02a6e05d1..29767fe9f 100644 --- a/service.yaml +++ b/service.yaml @@ -8,5 +8,5 @@ spec: app: apache2 ports: - port: 80 - targetPort: 85 - nodePort: 30010 + targetPort: 80 + nodePort: 30085 From 81bfb52ce9cc30ea1f41a8ad0def323700ba885d Mon Sep 17 00:00:00 2001 From: ReemaR123 Date: Sat, 24 May 2025 23:22:06 +0530 Subject: [PATCH 17/17] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 0aa1edd83..712b41eb9 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,4 +18,4 @@ spec: - name: mydeplymentcont image: reemar123/test:latest ports: - - containerPort: 85 + - containerPort: 80