Questions tagged [persistent-volumes]

This tag is for Kubernetes persistent volume related questions.

Kubernetes Persistent Volumes is a subsystem for managing storage. The PV subsystem is responsible for how the storage is provided whereas the PersistentVolumeClaim is the abstraction that is related to how the storage is consumed by the application.

771 questions
0
votes
1 answer

Azure Kubernetes Failover with PersistentVolumes

I am currently testing how Azure Kubernetes handles failover for StatefulSets. I simulated a network partition by running sudo iptables -A INPUT -j DROP on one of my nodes, not perfect but good enough to test some things. 1). How can I reuse disks…
0
votes
1 answer

Using EFS csi driver, do I create multiple PV for each path with the same volumeHandle and how do I specify which PV for the PVC?

See below I have directories in EFS - data and logs. Do I need to create a different PV if I need to use a subpath? And if I do, how do I specify the PV to use for the PVC? --- apiVersion: v1 kind: PersistentVolume metadata: name:…
alltej
  • 6,787
  • 10
  • 46
  • 87
0
votes
2 answers

Kubernetes Stateful Sets - Mapping existing IDs to persistent/stateful pods

Thanks in advance to all those who help. Hello, I have somewhat of a unique problem, its rather lengthy to explain but I think if solved we can expand the use-cases of Kubernetes. I think I know how to solve it, but I'm not sure if Kubernetes…
0
votes
2 answers

Is it Appropriate to Store Database in a Kubernetes Persistent Volume (And how to back up?)

I have a web application running on a Google Kubernetes cluster. My web app also uses persistent volumes for multiple MongoDB databases to store user and application data. (1) Thus I am wondering if it is practical to store all data inside those…
Florian Ludewig
  • 4,338
  • 11
  • 71
  • 137
0
votes
2 answers

Bound a PVC with status Released

let me put you in context. I got pod with a configuration that looks close to this: spec: nodeSets: - name: default count: 3 volumeClaimTemplates: - metadata: name: elasticsearch-data spec: accessModes: …
0
votes
2 answers

Kubernetes Mongo with persistent volume FailedScheduling 0/1 nodes are available: 1 node(s) didn't match node selector

I tried to follow this link about Kubernetes MongoDB with persistent volume (exactly same). but aftrer I deploy everything and take a look on the pod, I got these errors: Name: mongodb-standalone-0 Namespace: default Priority: …
0
votes
2 answers

kubernetes persistent volume for nginx not showing the default index.html file

I am testing out something with the PV and wanted to get some clarification. We have an 18 node cluster(using Docker EE) and we have mounted NFS share on each of this node to be used for the k8s persistent storage. I created a PV (using hostPath) to…
0
votes
1 answer

Rancher Kubernetes can't create persisten volume claim

I can't create Persistent volume claim in Kubernetes (Rancher 2.3). My storage class use VMware cloud provider 'vSphere Storage for Kubernetes' provided by Rancher In rancher web interface, the Event show errors like: (combined from similar events):…
Franklin Piat
  • 3,952
  • 3
  • 32
  • 45
0
votes
1 answer

how to use dynamic persistent volume provisioning for multitenancy environment

I developed a web application for our students and i would like to run this now in a kubernetes container environment. Every user (could be seen as tenant) gets its own application environment (1:1 relation). the application environment consists of…
Shannon
  • 731
  • 3
  • 12
  • 26
0
votes
1 answer

Time taken for Azure Files to mount Pod

I am doing well but I need help optimizing my Kubernetes cluster. I have an Azure autoscalable Kubernetes cluster with 3 nodes. As requests overwhelm the system, the cluster will scale up according to the demands. I have a Persistent Volume in the…
0
votes
1 answer

How lower music volume on playing my app voice guidance in Android and after that increase music again?

I am working on an android map app that like Waze or any other app uses voice guidance to guide people to their destination. My problem is that I want if user play music with his/her phone music volume decrease and voice guidance play with upper…
0
votes
1 answer

Azure csi disk FailedAttachVolume issue : could not get disk name from disk URL

I am using azure csi disk driver method for implementing K8 persistent volume. I have installed azure-csi-drivers in my K8 cluster and using below mentioned files as end-to-end testing purpose but my deployment is getting failed due to following…
goldench
  • 1
  • 1
  • 1
0
votes
1 answer

delete improperly removed PersistentVolume in kubernetes

It seems like, While deleting the pv,pvc, I have messed up. I can delete the pvc without issues but I can not delete the pv that pv-protection in it. while deleting pv,pvc earlier, I have pressed CTRL+C since it was taking time to delete it and also…
0
votes
0 answers

0/2 nodes are available: 1 node(s) didn't find available persistent volumes to bind, 1 node(s) had taints that the pod didn't tolerate

I setup a k8s in a multiple node. But the PersistentVolume can not be created successfully, when I am trying to create a simple PostgreSQL. The StorageClass kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name:…
Akashii
  • 2,251
  • 3
  • 17
  • 29
0
votes
1 answer

deploy hashicorp vault without persistent storage in openshift

How to deploy the hashicorp vault in openshift with out using persistent volumes(PV)? In the openshift cluster as a normal user(not a cluster admin),need to deploy the vault server. I followed the URL but it has persistent volumes (/vault/file) in…