basic Kubernetes Deployment YAML file for a simple web application (e.g., running an NGINX container). This example creates:
#A Deployment with 3 replicas #A Service to expose the app within the cluster #Optionally, notes on how to expose it outside (via NodePort or Ingress)
Jenkins ---- Checks out code from Git
Runs a simple build (Maven)
Runs tests
Archives the build artifacts