Questions tagged [kubernetes-volume]
Kubernetes volumes provide persistent storage to pods running in a Kubernetes cluster.
21 questions
0 votes
0 answers
6 views
How do I deploy a bundle of custom python processors in an air gapped NiFi 2.6 deployment?
My NiFiKop (Konpyutaika) Helm chart release version is v1.14.2-release. My NiFi version is 2.6. My nificluster apiVersion is nifi.konpyutaika.com/v1. I looked at the Python developer guide at: https://...
2 votes
1 answer
461 views
Failed to prepare subPath for volumeMount
I'm baffled by an issue that just started on my multi-node kubernetes cluster (I run it with microk8s): Error: failed to prepare subPath for volumeMount "scripts" of container "...
0 votes
0 answers
51 views
K8S volume binding delays
I'm using k3d for local development. I have 3 agent nodes, each with their own specific locally mounted folders for specialized tasks. I'm deploying gitea to agent-0 as a local repo mirror, which has ...
0 votes
0 answers
29 views
Unexpected subPath Behavior in Kubernetes: Auto-Created Directories with Root Ownership and Permission Issues
I’m observing unexpected behavior when using subPath in a Kubernetes Pod’s volume mount. Pod Definition: apiVersion: v1 kind: Pod metadata: name: my-pod spec: containers: - name: main-container ...
0 votes
0 answers
92 views
Longhorn Replicas Not Allocating on Worker Node 3
I've installed Longhorn on my Kubernetes cluster and configured specific settings, such as the default data path, over-provisioning (50% of the available space, with each node having 200GB, so 100GB ...
0 votes
2 answers
247 views
Has anyone gotten Kubernetes ImageVolume working, preferably in Minikube?
I'm trying to Use an Image Volume With a Pod, but having no luck. Wondering if someone has ever gotten it working? My Setup: bash-3.2$ minikube version minikube version: v1.34.0 commit: ...
1 vote
0 answers
39 views
CSI Driver: FSGroup mentioned in POD spec is not accessible from NodePublish volume
I am using volumeMountGroup := req.GetVolumeCapability().GetMount().GetVolumeMountGroup() klog.V(2).Infof("-NodePublishVolume-: volumeMountGroup: %v",volumeMountGroup) in my CSI ...
0 votes
1 answer
84 views
Performance differences of using Remote Block Volume in Kubernetes?
In Kubernetes, there are various types of PVs, and local PV is mentioned as the most performant type among those. refs) https://kubernetes.io/docs/concepts/storage/persistent-volumes/#types-of-...
0 votes
2 answers
1k views
Persistant storage claim stuck on pending with local storage in minikube, even with a storage class provided
Minimum reproducible example: # mongo-storage.yaml --- apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: slow provisioner: kubernetes.io/gce-pd parameters: type: pd-standard --- ...
0 votes
1 answer
1k views
How reliable is NFS for using in Kubernetes?
I'm setting up a self-managed Kubernetes cluster where I'm limited by the number of choices for the backend storage for Pods. I should use a remote storage, so that multiple Pods can read/write at the ...
2 votes
0 answers
665 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 ...
4 votes
1 answer
9k views
Kubernetes serve static content with ingress
I have a simple Django application and on a regular EC2 instance nginx is a reverse proxy serving static files and proxying requests to gunicorn/wsgi backend app. Should I have a separate deployment ...
0 votes
1 answer
129 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 ...
5 votes
1 answer
823 views
How to run a container from within another container while also mounting a volume from the first container?
I'm running a build in Jenkins which is running inside Kubernetes. When the job starts, a container starts in the cluster and the build runs inside it. A step in the build requires building an RPM ...
4 votes
2 answers
2k views
How to check available volume provisioners in Kubernetes cluster?
Is there a command or script that one can use to see or list enabled/available volume provisioners in a Kubernetes cluster? We have an on-premise cluster and I came to know the hard way that 'local' ...