Actualiser README.md

This commit is contained in:
Emeline Nerot 2025-04-16 08:44:02 +00:00
parent 05ab046b3d
commit d4b51f7a14

View File

@ -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.