Guide Create Namespace kubectl create namespace redis-server Create Persistent storage PVC kubectl apply -f pvc.yml Create Deployment kubectl apply -f . You can check if everything is okay by running kubectl get svc -n redis-server