Kubernetes persistent volume claims: These are requested by pods in a cluster, from a storage pool that is pre-defined (or else, dynamically allocated).
Questions tagged [kubernetes-pvc]
351 questions
0
votes
1 answer
Pod access PVC subdirectory that already existed
I have a pod created using a deployment using git-sync image and mount the volume to a PVC
kind: Deployment
metadata:
name: config
namespace: test
spec:
replicas: 1
selector:
matchLabels:
demo: config
template:
metadata:
…

Spadaboyz
- 369
- 2
- 4
- 18
0
votes
2 answers
Default StorageClass: what to check?
i am stuck with this issue:
i configured kubeadm (cluster on one dedicated server for now).
And i installed elasticsearch using helm. it is nearly working fine, except for storage. The chart is using the default StorageClass for dynamic…

Softlion
- 12,281
- 11
- 58
- 88
0
votes
0 answers
Error: failed to prepare subPath for volumeMount "site-data" of container "test-app"
I need to deploy that need plenty of volumes from different directory so i'm currently trying to use the subpath feature in a nfs volume but i keep getting this error : Error: failed to prepare subPath for volumeMount "site-data" of container…

Axelinux
- 96
- 6
0
votes
1 answer
How to bind a PVC with worker pod in airflow when using kubernetes executor?
I am using Kubernetes executor in airflow and for data management (sharing data across pod), trying to write data in some mounted directory but the issue that I am facing is how to mount PVC over the worker pod where that task executes.
Worker pod…

Akul Sharma
- 69
- 5
0
votes
1 answer
Error response from daemon: error while creating mount source path permission denied
This is my postgress config for K8s
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres-deployment
spec:
replicas: 1
selector:
matchLabels:
component: postgres
template:
metadata:
labels:
component:…

Dupinder Singh
- 7,175
- 6
- 37
- 61
0
votes
1 answer
Error: failed to prepare subPath for volumeMount "postgres-storage" of container "postgres"
I am trying to use persistent volume claims and facing this issue
This is my postgres-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres-deployment
spec:
replicas: 1
selector:
matchLabels:
component:…

Dupinder Singh
- 7,175
- 6
- 37
- 61
0
votes
1 answer
Is there a performance advantage to mounting a volume as readonly?
In Kubernetes deployments, you can specify volume mounts as readonly. Is there a performance advantage to it, or logical only?
Is it dependant on the volume type?
To make my intentions clear, I'm using a pv in a scenario where I have one writer and…

Mugen
- 8,301
- 10
- 62
- 140
0
votes
0 answers
pod with pvc stuck on container creating
My overall issue is that my pod which has a PVC is stuck on container-creating after it was deleted. My guess why, is because of the following:
So, I have a pod with a mounted PVC. I did a:
kubectl exec -it "name" bash
navigated to the path of the…

Christian Hjelmslund
- 320
- 3
- 10
0
votes
1 answer
Is there an API in Kubernetes which can fetch all volumes of a specific AWS account?
Was unable to find any K8s API which can query all volumeIDs related to specific AWS account region wide. My primary intention is to clean all stale volumes. For doing this, I'm collecting volume information from AWS which are in Available state…

jagatjyoti
- 699
- 3
- 10
- 29
0
votes
1 answer
How to dynamically create persistent volume claim?
I am running my application on a bare-metal K8s cluster and I am using an NFS provisioner which takes care of persistent voluems and I just need to create a persitent volume claim. I also have a DB (RethinkDB) on K8s that I am able to cluster and…

AVarf
- 4,481
- 9
- 47
- 74
0
votes
1 answer
Mutli-regional persistent disk with GKE in Google Cloud Platform
I understand we can mount persistent disks with containers created inside clusters. GCP offers us Regional persistent disks (standard and SSD) which is nothing but keeping a disk in two zones in one single region.
For example:
Disk-A is present in…

Amit Yadav
- 4,422
- 5
- 34
- 79
0
votes
3 answers
How to have input data ready for apps on K8S
How to have the input data ready before I deploy a POD on K8S?
As I understand, persistent volume is dynamically created using PVC (persistent volume claim), so in a POD yaml file, we can set the PVC and mount path like this:
apiVersion: v1
kind:…

Jaylin
- 70
- 9
0
votes
1 answer
How do I put storage quota limitation on storage class
I want to dynamically create PeristentVolumes and mount them into my pod using PVCs. SO, I am following kubernetes Dynamic Provisioning concept. I am creating PersistentVolumeClaim using Kubernetes StorageClasses.
I am creating PVC using…

Pradeep Kumar
- 17
- 7
0
votes
1 answer
Attach NGINX Configurations files with Persistence Volume on AWS EKS
I'am try attach my NGINX configurations files (config, ssl certificates, and others) to my NGINX POD on AWS EKS (Elastic Kubernetes Service). Reading about this i'am using Persistence Volume and Persistence Volume Claim as demonstrated on follow…
0
votes
4 answers
Kubernetes POD Failover
I am toying around with Kubernetes and have managed to deploy a statefull application (jenkins instance) to a single node.
It uses a PVC to make sure that I can persist my jenkins data (jobs, plugins etc).
Now I would like to experiment with…

Guardian
- 369
- 1
- 5
- 18