Questions tagged [kubernetes-pvc]

Kubernetes persistent volume claims: These are requested by pods in a cluster, from a storage pool that is pre-defined (or else, dynamically allocated).

351 questions
1
vote
0 answers

Why does my microk8s AdGuard Home container need to be reconfigured every time it shuts down?

I'm having experiencing an issue with my AGH pod where it has to be reconfigured every time the container shuts down; be it manually, or at server restart. These are the various YAMLs: Namespace --- apiVersion: v1 kind: Namespace metadata: name:…
telometto
  • 111
  • 5
1
vote
0 answers

how to monitor pv - pvc - storageclass

i have a issue with moritoring pvc my infra system: deploy k8s with kubeadm on premise monitoring system: prometheus - grafana. k8s scrape config: role: node, endpoints, pods, cadvisor ... i see many metrics but do not have…
1
vote
2 answers

Django on kubernetes pod no space left on device

So I am running Django App in kubernetes pod at when trying to save an image file: img_obj.image.save(img_file, File(img_file_org)) I am getting no space left error: File "/code/ocr_client/management/commands/pdf_to_image.py", line 126, in…
Alex T
  • 3,529
  • 12
  • 56
  • 105
1
vote
1 answer

StatefulSet vs Retain reclaim policy of a PersistentVolume

I have a question, what is the reason to use the Retain reclaim policy of a PersistentVolume for StatefulSet. Is StatefulSet not secure enough ? As far as I know, when a StatefulSet-managed replica disappears, either because the StatefulSet is…
Xavier123
  • 71
  • 2
  • 8
1
vote
0 answers

How to attach existing PVC's to mongodb and postgres deployment using Helm charts?

I have running PostgreSQL and MongoDB in cluster. Now I want to install new MongoDB and PostgreSQL with existing PVC's created before. How to attach that PVC's to this new installed MongoDB and PostgreSQL using helm? since, I used this command helm…
1
vote
1 answer

knative admission webhook: validation failed: Persistent volume claim support is disabled

I am trying to deploy service on eks with knative installed on eks, here eks configured with fargate-profile. I want to mount efs to my service for that i have created StorageClass,PersistentVolume and PersistentVolumeClaim below are the respective…
1
vote
1 answer

Making Container Filesystem Persistent

I have a question about Kubernetes containers and persistent volumes. How can I make some of the preexisting folders of a Kubernetes container persistent? I know the usage of PVCs in Kubernetes but the problem about mounting a PVC to a container is…
tuna
  • 136
  • 7
1
vote
1 answer

Getting createContainerConfigError when running pod; Error: stat /path/to/pv: no such file or directory

I've been digging into persistent volumes and I've run into this problem. I created a persistent volume on one of my directories to store things such as database data, initialization scripts, config files, etc... for my postgres deployment. Here is…
1
vote
2 answers

Error: "pod has unbound immediate PersistentVolumeClaims"

While installing influxdb2 using k8s manifest from the link influxdb2 installation on k8s I get below "pod has unbound immediate PersistentVolumeClaims" error. The instruction is given for minikube but I am installing it as a normal k8s…
1
vote
2 answers

How are StatefulSets and PersistentVolumes provisioned in the same Availability Zone?

How does a StatefulSet ensure that a PersistentVolume and Pod will always be provisioned in the same Availability Zone? I understand that each pod in a StatefulSet has a storage identity, and that each pod will remember the PVC it is using, but am…
1
vote
1 answer

Kubernetes rancher local-path specify node

I have a pod using a pvc. When I start the deployment, the pvc is stuck in the "pending" state, because of a local-path: "configuration error, no node was specified": Name: grafana-data Namespace: default StorageClass: …
kaffarell
  • 639
  • 5
  • 16
1
vote
1 answer

How to restore pv/pvc by AWS EBS Backup Recovery points

I created a gp2 storageclass in my eks cluster. When I create a statefulset instance, it will automatically creates a volume in AWS's EBS. I backed up the mounted volumes bound to statefulset by using AWS's Backup service. But after I restore the…
1
vote
0 answers

When using HuggingFace's Transformers library to run the GLUE benchmark, is it possible to load my own model from a PVC without using ModelHub?

So HuggingFace's transformers library has a nice script here which one can use to test a model which exists on their ModelHub against the GLUE benchmark. However, I have a model which I wish to test whose weights are stored in a PVC on my…
1
vote
1 answer

ReadWriteMany PVC in kubernetes with external/local access

I need some kind of advise on my problem as I cannot find a suitable solution. I have a k8s cluster with several nodes and Directus deployed in several pods. My developers want to extend Directus with custom extensions. This is done by uploading…
Joe
  • 11
  • 4
1
vote
1 answer

What if several PV meet PVC spec?

I'm studying k8s and got a question about PV and PVC binding. PVC defines the specs it wants (capacity, access mode etc..) in the YAML file and find appropriate PV in the cluster to bind each other. Here, let's say our PVC wants at least 5GB…