This Kubernetes configuration deploys a simple Python application packaged in Docker. It includes:
Deployment → runs one replica of the container (mypythonapp) and exposes it on port 5000.
Service → creates a NodePort service, making the application accessible externally through port 5000.
This setup provides a minimal yet functional way to run and access the Python app inside a Kubernetes cluster.