minikube starthelm install nfs-server-provisioner stable/nfs-server-provisioner \
--set storageClass.name=nfs-scDeploy the resources:
kubectl apply -f k8s/pvc.yaml
kubectl apply -f k8s/deployment.yaml
kubectl apply -f k8s/service.yaml
kubectl apply -f k8s/job.yamlPVC requests NFS-backed storage.
- Deployment runs nginx serving content from the PVC.
- Service exposes nginx.
- Job seeds the PVC with index.html
minikube service http-serviceThis opens the exposed Service in your browser. You should see the page seeded into the PVC by the Job.