Skip to content

K8s pod deployments with shared nfs persistent storage

Notifications You must be signed in to change notification settings

javiermugueta/k8spod2nfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k8spod2nfs

Shared persistent NFS storage for pods

docker build -t javiermugueta/k8spod2nfs .

docker push javiermugueta/k8spod2nfs

kubectl apply -f k8spod2nfs.yaml

kubectl get pods

kubectl exec -it k8spod2nfs-6f48c6464f-j9jrt bash
cd /usr/share/nginx/html/
echo hola > index.html

kubectl get services

echo adios  > index.html

kubectl delete pod -l app=k8spod2nfs

kubectl delete -f k8spod2nfs.yaml
kubectl apply -f k8spod2nfs.yaml

About

K8s pod deployments with shared nfs persistent storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published