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

NFS Persistant Volume monitoring in prometheus

I have a Persistent Volume of type NFS with a source server running locally. This NFS server is using a Persistent Volume Claim that lives on GCP. Everything is running fine, however, I cannot monitor the PVC on Prometheus for some reason. It's…
0
votes
1 answer

Kops - unable to bound to storage class using pvc

I am trying to deploy a WordPress site with MySQL database using kops. When I run these YAML files the PVC is in pending state and doesn't create the volume on ebs. I first thought it was because of the availability zone in the storage YAML file but…
user13879829
0
votes
0 answers

`mkdir` returns successfully but doesn't work in kubernetes (minikube) shared volume

I am trying to set up a shared volume in a minikube Kubernetes cluster to allow multiple pods to communicate with each other. What is configured is: A PVC using the nfs-server-provisioner dynamic provisioner Multiple Pods (some are jobs) that mount…
Dan
  • 188
  • 1
  • 7
0
votes
0 answers

pvc volume different from kubelet_volume_stats_capacity_bytes

in gke, there is a PVC. $ kubectl -n team-x describe pvc kafka-data-0 | grep -r "Capacity" (standard input):Capacity: 1Ti but kubelet_volume_stats_capacity_bytes{namespace=~"team-x", persistentvolumeclaim=~"kafka-data-0"} returns…
BAE
  • 8,550
  • 22
  • 88
  • 171
0
votes
0 answers

Reason for Pending PVC in Kubernetes

➜ kubectl get pvc -A NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE blog pg-data Pending …
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
0
votes
2 answers

k8s pods not able to retry when attach volume timeout

Sometimes I got a bunch of jobs to launch, and each of them mounts a pvc. As our resource is limited, some pods fail to mount in less than one minute. Unable to mount volumes for pod…
Nick Allen
  • 1,647
  • 14
  • 20
0
votes
2 answers

PVC status is stuck on pending and PV status is available

I was trying to increase the PVC size from 10G to 20G, since we are running on 1.9.3 doing it online is not there. So i have deleted the PVC and created with new value of 20G as storage. pvc-b196868cd-bc75-12e8-ad32-075738325c 100Gi RWO …
Nishanth
  • 161
  • 2
  • 11
0
votes
1 answer

Create a new volume when pod restart in a statefulset

I'm using azure aks to create a statefulset with volume using azure disk provisioner. I'm trying to find a way to write my statefulset YAML file in a way that when a pod restarts, it will get a new Volume and the old volume will be deleted. I know I…
toto
  • 1,197
  • 2
  • 15
  • 26
0
votes
1 answer

persistentvolumeclaim "media" not found

I am trying to deploy a Magento app but I am getting the following error. This cluster is created on EKS and PVC is there persistentvolumeclaim "media" not found Error: failed to start container "magento-web": Error response from daemon: OCI…
0
votes
0 answers

gitlab repositories are not showing in my navigator

I deployed successfully my gitlab with kubernetes via pods and services. but when I open navigator to log in my account, my created repositories does not appear. I set up a pv and pvc to save my repositories. when I am creating a project with same…
Inès Toùzi
  • 49
  • 1
  • 8
0
votes
1 answer

move file between two different filesystems using file.renameTo returns false

file.renameTo method returns false, in docker container. I am using PVC in container instance. I tried removing PVC, then it works fine, but when I use PVC then returns false Returns false means file is not getting moved or renamed . In my case, the…
Dupinder Singh
  • 7,175
  • 6
  • 37
  • 61
0
votes
1 answer

PVC created with no accessmode and storage class

I am using the following yaml to deploy Keydb into my cluster --- # Source: keydb/templates/cm-utils.yaml apiVersion: v1 kind: ConfigMap metadata: name: keydb-utils labels: helm.sh/chart: keydb-0.8.0 app.kubernetes.io/name: keydb …
0
votes
1 answer

Providing the persistent volume of standard type for statefulSet fails

I get the following errors in the cloud console after the deployment of a statefulset (bitnami/redis) with the PVC: (combined from similar events): Failed to provision volume with StorageClass "standard": googleapi: Error 503: Internal error.…
0
votes
2 answers

Kubernetes. Is it possible to mount volume to path containing pod id?

I want to define pvc and create volume in order to get some internal files from container outside (I am using helm charts definitions). I want to know is there any way to use POD IP in mountPath that I am defining in deployment.yaml. At the end I…
liotur
  • 809
  • 2
  • 17
  • 36
0
votes
1 answer

Kubernetes with Wordpress PVC get old Wordpress file

I have create a docker image for my wordpress application with just this FROM wordpress:php7.4-apache COPY . /var/www/html after i have push my image on my private repo. When i run my new image the file of my custom wordpress are well in the…
john
  • 468
  • 1
  • 9
  • 26