01
Stage 1 – User Login
Process
Inventory staff log in to the inventory management application to access products, stock, suppliers, and orders.
Tools
Kubernetes
Ingress
PostgreSQL
Implementation
The user request reaches the application through Ingress. The monolithic application validates the user and provides access to the inventory modules.
02
Stage 2 – Product Management
Process
Staff add new products, update product details, and view existing products.
Tools
Kubernetes
PostgreSQL
Implementation
The Product module processes the request and stores product information such as product name, category, price, and quantity in PostgreSQL.
03
Stage 3 – Stock Management
Process
Staff check available stock and update quantities when products are received or issued.
Tools
PostgreSQL
Implementation
The application retrieves the current stock from PostgreSQL. Received products increase the stock quantity, while issued or sold products decrease it.
04
Stage 4 – Purchase and Supplier Management
Process
Staff maintain supplier information and create purchase orders when stock needs to be replenished.
Tools
PostgreSQL
Implementation
The application stores supplier and purchase-order details in PostgreSQL and updates stock when purchased products are received.
05
Stage 5 – Sales and Order Processing
Process
Staff process product sales or orders and update the available inventory.
Tools
PostgreSQL
Implementation
The application records the order and reduces the corresponding stock quantity in PostgreSQL.
06
Stage 6 – Inventory Reports
Process
Managers view stock levels, low-stock products, purchase history, and sales reports.
Tools
PostgreSQL
Implementation
The reporting module retrieves inventory and transaction data from PostgreSQL and generates the required reports.
07
Stage 7 – Containerized Deployment
Process
The existing monolithic inventory application is packaged and deployed as a container.
Tools
Docker
Cloud ECR
Kubernetes
Implementation
Docker creates the application image, Cloud ECR stores the image, and Kubernetes pulls the image and runs it as a pod on the Kubernetes nodes.
08
Stage 8 – Monitoring
Process
The application and Kubernetes environment are monitored for availability and performance.
Tools
Prometheus
Grafana
Kubernetes
Implementation
Prometheus collects application and Kubernetes metrics, while Grafana displays the metrics in monitoring dashboards.