Skip to main content

Questions tagged [persistent-volumes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
71 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
318 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
48 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 ...
1 vote
0 answers
18 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
32 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 ...
14 votes
1 answer
35k 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 ...
0 votes
1 answer
666 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 ...
2 votes
0 answers
473 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 ...
0 votes
1 answer
87 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
70 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
7k 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 ...
1 vote
1 answer
865 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 ...
0 votes
1 answer
268 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
763 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 ...