Questions tagged [persistent-volumes]
The persistent-volumes tag has no usage guidance.
17
questions
0
votes
0
answers
18
views
How to migrate a jiva volume replica from a cluster node to another?
I have a 4 nodes Kubernetes test cluster where we have installed openebs jiva as storage solution.
I'm currently using a replica 3 configuration and I need to find a way to move one of the replicas ...
0
votes
0
answers
37
views
What is the proper way to remove a locally bind-mounted volume on the host machine created by Docker Compose?
Problem
I believe Docker Compose should be able to remove all volumes it creates because it seems easier and safer to do so. However, locally bind-mounted volumes on the host machine created by Docker ...
0
votes
0
answers
11
views
Kubernetes RWO PersistentVolume node semantics with ceph-rbd
Context:
Imagine I have a StatefulSet in a multi-node cluster, using a VolumeClaimTemplate to auto-provision storage using a rbd.csi.ceph.com provisioner using RWO.
At runtime, I'll have I have ...
1
vote
0
answers
19
views
CSI Driver: FSGroup mentioned in POD spec is not accessible from NodePublish volume
I am using
volumeMountGroup := req.GetVolumeCapability().GetMount().GetVolumeMountGroup()
klog.V(2).Infof("-NodePublishVolume-: volumeMountGroup: %v",volumeMountGroup)
in my CSI ...
0
votes
1
answer
47
views
Redefine deployment (Portainer) pvc after node failure
I have a home lab running k3s.
NAME STATUS ROLES AGE VERSION
k8s-node-001 Ready control-plane,master,worker 302d v1.27.6+k3s1
k8s-node-002 Ready worker ...
0
votes
2
answers
434
views
How to set correct mount permissions of Minikube grafana pod
I have a minikube cluster with a grafana pod running in it.
I have mounted a directory for grafana to use as a persistant volume to store.
minikube mount /var/tmp/minikube-folder1:/folder1
I receive ...
0
votes
1
answer
702
views
K8S + HELM. Create a persistence volume for mysql database
I am using K8S with Helm 3.
I am also using MYSQL 5.7 database.
How can I create MYSQL pod, that the database will persist (created on first time) after first time the pod is created, and even the pod ...
0
votes
1
answer
51
views
Docker cloud hosting with persistent storage
I need to find a cloud provider to host a simple docker service but with a persistent storage attached.
I know I can achieve this using GCE (VM + docker + volume mounted from VM) but this looks a bit ...
2
votes
0
answers
542
views
How do I use a raw volume with a database on Kubernetes?
I'm trying to figure out how to launch a web application in a Kubernetes cluster on AWS. Right now I'm not certain about a database. I can see that one can use raw block volumes, which are supposedly ...
2
votes
1
answer
74
views
Should we deploy Storage Class Per Application OR one Storage Class for All applications?
I am using aws-ebs-csi-driver on k8s for persistent volumes. I came across a scenario where I can create ebs storage class once and then use it across all the statefulsets deployments to create ...
0
votes
1
answer
96
views
Update volume size dynamically from inside a POD
I was wondering how I could dynamically create and then mount new volumes from inside a pod ? At runtime !
I have to download a lot of files with very different sizes and would like the storage to ...
0
votes
1
answer
79
views
Docker update with persistent storage and 0 downtime
I have a docker container running with persistent storage. When I try to update now I kill the container, and rerun the updated image all over again.
I've considered setting up the new container first,...
1
vote
1
answer
928
views
Deploying a statefulSet with static volume provisioning but controller insists to use dynamic
I am trying to deploy a statefulSet that will use static volume provisioning (claim existing PVs) based on their label. However, it seems that the persistentvolume-controller is trying to provision ...
15
votes
1
answer
37k
views
Permission denied within mounted volume inside Podman container
I am starting to learn about containers using podman that came with RHEL8.1 (which AFAIK can be used in place of docker), and have the following baby Dockerfile as a learning exercise:
# Use Alpine ...
1
vote
1
answer
8k
views
Can't get either Postgres permissions or PVC working in AKS
These are pretty much the steps I have followed in order. Basically what is outlined in the documentation:
https://docs.microsoft.com/en-us/azure/aks/azure-files-dynamic-pv
azure-storage-claim.yaml
...
0
votes
1
answer
402
views
Will data contained withing Persistent Volume survive cluster deletion?
I have a Kubernetes cluster based on 3 hosts managed via Rancher
I've created Persistent Volume on the first host and use it via a claim by a PostgreSQL pod. My app is generating and storing there ...
1
vote
1
answer
809
views
Interacting with a Trident container (NetApp) via CLI within a Openshift/Kubernetes cluster?
Background
We're currently using NetApps Trident PV (Persistent Volume) orchestrator to dynamically create volumes on our NetApp ONTAP clusters for Pods running within our Openshift/Kubernetes ...