Questions tagged [persistent-volumes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

What is the best option for uploading files to Azure storage in Azure pipeline to use them in persistent volumes for AKS pods?

I want to upload files to Azure storage in Azure pipeline to use them in persistent volumes for AKS pods. What I did: Created a storage account with NFS enabled and created a container in the storage ...
0 votes
0 answers
27 views

How to migrate kubernetes PVs and PVCs from one cluster to another?

I have a Kubernetes cluster (v1.16) set up on my servers. Also, I have a Ceph cluster running on a different set of servers and is used in my Kubernetes cluster as a storage class. In order to upgrade ...
  • 1
1 vote
0 answers
45 views

Error with persistent volume on NFS

I'm learning about pv and pvc in Kubernetes, I'm using minikube with one node I run NFS service on my laptop, and exported correctly I can mount the NFS exports inside minikube, run minikube ssh then ...
  • 31
0 votes
0 answers
93 views

Sharing AWS EFS Access Points across Persistent Volumes

I have an Access Point created on AWS EFS and now I do need to share it across multiple Persistent Volumes in Kubernetes which would eventually be used by multiple namespaces. Is there a way that I ...
0 votes
1 answer
380 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 ...
  • 103
0 votes
1 answer
30 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 ...
  • 342
2 votes
0 answers
200 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 ...
  • 143
1 vote
1 answer
53 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 ...
  • 123
0 votes
1 answer
35 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 ...
  • 111
0 votes
1 answer
49 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,...
  • 13
1 vote
1 answer
510 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 ...
  • 133
8 votes
1 answer
24k 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 ...
  • 311
1 vote
1 answer
6k 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 ...
  • 155
0 votes
1 answer
29 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
512 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 ...
  • 222