Questions tagged [kubernetes-volume]
Kubernetes volumes provide persistent storage to pods running in a Kubernetes cluster.
20 questions
0
votes
1
answer
27
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: ...
0
votes
0
answers
25
views
EKS- pod stuck in containerCreating state when attached to 2 claims with RWX accessmode and efs storage class
I have pod deployed in EKS which has 2 PVCs attached, below is yaml snipped for the same
- name: dev1-rwx-volume
persistentVolumeClaim:
claimName: dev1-rwx-volume-pvc
- name: dev2-rwx-...
0
votes
0
answers
12
views
Kubernetes RWO PersistentVolume node semantics with ceph-rbd
Context:
Imagine I have a StatefulSet in a multi-node cluster, using a VolumeClaimTemplate to auto-provision storage using a rbd.csi.ceph.com provisioner using RWO.
At runtime, I'll have I have ...
0
votes
0
answers
54
views
Path no access problems
I am trying to setup a Dotnet deployment, that are using some external denepdencies that are giving me problems. I am new to all this k8's and deployments. So far I have lots of stuff deployed with ...
0
votes
0
answers
15
views
Mount Job Directory as Copy-on-Write
I’m working on a build system and have a master job that spawns other child jobs (ie build, deploy, etc).
I am currently downloading the repo in the master job and would like to share the directory as ...
1
vote
0
answers
23
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
65
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
898
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
577
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
102
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
632
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 ...
3
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' ...
1
vote
1
answer
962
views
Deploying a statefulSet with static volume provisioning but controller insists to use dynamic
I am trying to deploy a statefulSet that will use static volume provisioning (claim existing PVs) based on their label. However, it seems that the persistentvolume-controller is trying to provision ...
5
votes
1
answer
5k
views
Angular config maps in kubernetes
How can I integrate a config map into my angular application in kubernetes?
Any useful blogs or videos implementing this would be helpful. I found a few, but they didn't work for me.
1
vote
1
answer
868
views
Terraform and Kubernetes' StorageClass with node affinity
Im able to make a number of kubernetes constructs in terraform and even have done so for my ephemeral stateful data that requires low latency disk performance. I can terraform up a ...
0
votes
1
answer
201
views
Bare-Metal Kubernetes storage in enterprise
Problem in a nutshell
What kind of storage for dynamic provisioning in a bare-metal kubernetes should i use.
Our configuration
Each of our kubernetes nodes (worker and master) are running on VMs. ...
2
votes
1
answer
782
views
How do you reuse a specific volume in Kubernetes?
Let's say that you wanted to create a Jenkins Deployment. As Jenkins uses a local XML file for configuration and state, you would want to create a PersistentVolume so that your data could be saved ...
3
votes
0
answers
2k
views
How to tell on which node a local storage PV has been created on k8s? [closed]
I have provisioned manually a few small local storage PVs for a redis stateful set (I have provisioned 10 on a 3 node cluster)
They seem to to be working fine. The pods created by the redis stateful ...