From d4b51f7a1418eecf57c335ca9c0ddf51b0049c6f Mon Sep 17 00:00:00 2001 From: Emeline Nerot Date: Wed, 16 Apr 2025 08:44:02 +0000 Subject: [PATCH] Actualiser README.md --- README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b39d292..ca065c8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Todo App Kubernetes Deployment -This repository contains the Kubernetes configuration files to deploy the Todo App. Follow the instructions below to deploy the application on your Kubernetes cluster. +This repository contains the Kubernetes configuration files to deploy my Todo App. ## Description -The Todo App is a simple web application that allows users to create, read, update, and delete todo items. It is built using Node.js and is containerized using Docker. +The Todo App is a web application for creating, reading, updating, and deleting the task to do. It is built using Node.js and is containerized using Docker. ## Containers Used @@ -12,10 +12,10 @@ The Todo App is a simple web application that allows users to create, read, upda ## Kubernetes Objects -- **Namespace**: `my-namespace` - The namespace in which all other objects are created. -- **Deployment**: Defines the deployment configuration for the Todo App. -- **StatefulSet**: Defines the stateful set configuration for the Todo App, including PersistentVolume and PersistentVolumeClaim objects. -- **Service**: Exposes the Todo App to the network. +- **Namespace**: `namespace.yaml` - The namespace in which all other objects are created. +- **Deployment**: `deployment.yaml` - Defines the deployment configuration for the Todo App. +- **StatefulSet**: `statefulset.yaml` - Defines the stateful set configuration for the Todo App, including PersistentVolume and PersistentVolumeClaim objects. +- **Service**: `service.yaml` - Exposes the Todo App to the network. ## Virtual Networks and Named Volumes @@ -66,3 +66,12 @@ If you are using a LoadBalancer service, you can access the application using th kubectl get services -n my-namespace ``` +##Documentation + +- **Description**: The Todo App is a simple web application for managing todo items. +- **Containers**: The application uses the elineen/todo-app:latest container. +- **Kubernetes Objects**: The deployment includes a Namespace, Deployment, StatefulSet, Service, PersistentVolume, and PersistentVolumeClaim. +- **Virtual Networks and Named Volumes**: The application uses a persistent volume for data storage. +- **Container Configuration**: The container is configured to use the elineen/todo-app:latest image and mounts the persistent volume at /data. + +