diff --git a/Task-2/febanajim@mulearn/Dockerfile b/Task-2/febanajim@mulearn/Dockerfile new file mode 100644 index 00000000..80eeca5b --- /dev/null +++ b/Task-2/febanajim@mulearn/Dockerfile @@ -0,0 +1,4 @@ +FROM python:3.9-slim +WORKDIR /app +COPY script.py . +CMD ["python", "-u", "script.py"] \ No newline at end of file diff --git a/Task-2/febanajim@mulearn/script.py b/Task-2/febanajim@mulearn/script.py new file mode 100644 index 00000000..8395f612 --- /dev/null +++ b/Task-2/febanajim@mulearn/script.py @@ -0,0 +1,7 @@ +import time + +print("🚀 Container Started") + +while True: + print("Hello World") + time.sleep(5) \ No newline at end of file diff --git a/febanajim@mulearn/FInalProject/Dockerfile b/febanajim@mulearn/FInalProject/Dockerfile new file mode 100644 index 00000000..6de08c00 --- /dev/null +++ b/febanajim@mulearn/FInalProject/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:alpine +COPY index.html /usr/share/nginx/html/index.html \ No newline at end of file diff --git a/febanajim@mulearn/FInalProject/deployment.yaml b/febanajim@mulearn/FInalProject/deployment.yaml new file mode 100644 index 00000000..e9245376 --- /dev/null +++ b/febanajim@mulearn/FInalProject/deployment.yaml @@ -0,0 +1,23 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: webapp-deployment +spec: + replicas: 3 + selector: + matchLabels: + app: scalable-web + template: + metadata: + labels: + app: scalable-web + spec: + containers: + - name: webapp-container + image: local-webapp:latest + imagePullPolicy: Never + ports: + - containerPort: 80 + env: + - name: STUDENT_NAME + value: "Feba Najim" \ No newline at end of file diff --git a/febanajim@mulearn/FInalProject/index.html b/febanajim@mulearn/FInalProject/index.html new file mode 100644 index 00000000..f7866ade --- /dev/null +++ b/febanajim@mulearn/FInalProject/index.html @@ -0,0 +1,7 @@ + + +
+This is Feba Najim, Muid:febanajim@mulearn
+ + \ No newline at end of file diff --git a/febanajim@mulearn/FInalProject/kind.exe b/febanajim@mulearn/FInalProject/kind.exe new file mode 100644 index 00000000..f8cd37db Binary files /dev/null and b/febanajim@mulearn/FInalProject/kind.exe differ diff --git a/febanajim@mulearn/README.md b/febanajim@mulearn/README.md new file mode 100644 index 00000000..13e1d700 --- /dev/null +++ b/febanajim@mulearn/README.md @@ -0,0 +1,2 @@ +Hi +Myself Feba Najim, final year B.Tech Computer Science student from MES College of Engineering, Kuttippuram. \ No newline at end of file