Create two namespaces:
One for frontend
One for backend
Apply a ResourceQuota in each namespace to limit the maximum number of Pods (e.g., 5).
Create a backend Deployment in the backend namespace. (use any image act as a backend)
Expose it internally with a ClusterIP Service.
Create a frontend Deployment in the frontend namespace.(use any image act as a frontend)
Access the backend from the frontend: