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
0
votes
1 answer

Kuberentes External provisioning wont create volume

Hi there I followed this tutorial back in march and got it up and running. I have been refreshing on the area and was doing it again... but now it no longer works. Is there any changes that have occurred to kubernetes that has changed in the mean…
EoinHanan
  • 77
  • 8
0
votes
0 answers

how can i resize a pvc when my backend storage provider is "vsphere"?

I created a pvc which uses vsphere as backend storage privider: kind: PersistentVolumeClaim apiVersion: v1 metadata: name: hello-world-logs namespace: mbe labels: app: hello-world spec: storageClassName: vsphere accessModes: -…
0
votes
0 answers

Kubernetes persistent volume not allowing read or write

I'm following this tutorial to create a jenkins server on my Kubernetes server. I've got a volume apiVersion: v1 kind: PersistentVolume metadata: name: jenkins-pv labels: type: local spec: storageClassName: manual capacity: storage:…
0
votes
2 answers

FluentBit not reading logs from shared PVC

I have a PersistentVolumeClaims(PVC) with ReadWriteMany (RWX) access mode. This PVC is clamed by 2 pods. In the second pod I have FluentBit reading the logs stored by the application pod in the shared PVC. The issue is FluentBit recognizes the…
Sunil
  • 429
  • 1
  • 9
  • 25
0
votes
1 answer

k8s Pv is not created

I want to create PV&PVC and the PV is not created , can you please advice what am I doing wrong? apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: my-sc provisioner: kubernetes.io/aws-ebs parameters: type: io1 iopsPerGB: "100" …
0
votes
0 answers

"timeout expired" error when mouning PVC in Azure Kubernetes AKS

After a high load problem that triggered my pod evicted in the deployment, even after deleting the deployment and creating it again, I am getting the following problem: Warning FailedMount 15s kubelet Unable to mount volumes for…
icordoba
  • 1,834
  • 2
  • 33
  • 60
0
votes
1 answer

Cloud Storage - Copy from PVC to Bucket

I currently have a PVC (old one, with no dynamic storage size) on my GCP architecture. I want to migrate everything from that PVC to a new bucket. I already have the bucket up and running and ready to replace the PVC. The thing is that I have many…
0
votes
1 answer

PVCs not created at all after deletion, when using Retail reclaim policy in corresponding StorageClass

I am using the ECK operator, to create an Elasticsearch instance. The instance uses a StorageClass that has Retain (instead of Delete) as its reclaim policy. Here are my PVCs before deleting the Elasticsearch instance ▶ k get pvc NAME …
pkaramol
  • 16,451
  • 43
  • 149
  • 324
0
votes
1 answer

Copying pvc snapshot from one kubernetes cluster to another

Can someone suggest any ideas, or references that I could use to copy a pvc snapshot from one cluster to another without using any third-party like velero.
0
votes
0 answers

Copy files from PVC bound to a completed pod with Kubernetes

I have a backup job that runs on a cron schedule. Each time the job is run a Kubernetes pod is created, puts backup data into a bound PVC, and completes. I need to be able to manually copy data out of the PVC and put it somewhere else after the job…
A. Duff
  • 4,097
  • 7
  • 38
  • 69
0
votes
1 answer

Is it possible to take an existing PV which has Delete policy and different storage class and attach it to a new PVC with different storage class?

I don't have code for this as i am trying to understand it theoretically. Current state: a PV and PVC get dynamically created by a helm chart. This pv and pvc are using default storage class with delete policy Future state: I want to attach a new…
0
votes
1 answer

How to configure pv and pvc for single pod with multiple containers in kubernetes

Need to create a single pod with multiple containers for MySQL, MongoDB, MySQL. My question is should I need to create persistence volume and persistence volume claim for each container and specify the volume in pod configuration or single PV & PVC…
0
votes
1 answer

EKS volumesnapshot failing for PVC

I have dynamic PVC created with EBS volume which holds mysql. Now I am trying to create the snapshot of PVC using volumesnapshotclass and volumesnapshot. But the snapshot is not getting created. Below is my code: Volumesnapshotclass.yaml kind:…
0
votes
1 answer

Increasing PVC size for statefull set in kubernetes

I am want to increase the size of my pvc from 50 GB to 100GB, can you please help on this. EFK is deployed on Azure kubernetes Cluster and storage type is azurefile-standard-zrs i have deployed Elasticsearch as a statefullset using helm, tried…
Satyam Pandey
  • 593
  • 2
  • 10
  • 32
0
votes
1 answer

ReadOnly PV on multiple clusters

I am a newbie to kubernetes. I have multiple cluster and each cluster has multiple namespaces. We want to mount a NFS as ReadOnly PV on all clusters. The files on the NFS will be shared across all clusters and across all namespaces within each…
AmitK
  • 1