All Questions
Tagged with kubernetes persistent-volumes
712
questions
0
votes
0
answers
101
views
KubernetesPodOperator don't see PersistentVolume and PersistentVolumeClaim
I have an issue with KubernetesPodOperator.
Maybe someone could give me an advice or know the answer.
I'm implementing Liquibase tool on my project. And we are going to trigger Liquibase from Airflow ...
0
votes
0
answers
14
views
How to confirm data security after adjust Kubernetes PV's reclaimPolicy and delete the pvc bound with such PV
I have encountered such problem. Clients want to migrate data from namespace A to namespace B. The data is stored in Ceph and managed by ceph csi. The default reclaim policy is delete. So If I want to ...
1
vote
1
answer
85
views
Is there a way to mount only the file from k8s secret to a pod without disturbing the existing files in the location?
I am trying to mount a file secret.txt from the secret to location /opt/tomcat/conf/secret.txt. there are other files at the same location e.g. /opt/tomcat/conf/creds.txt that I want to retain.
This ...
0
votes
0
answers
28
views
Cannot mount existing OCI Block Volume into OKE container
I'm trying but failing to mount an existing OCI Block Volume in a container in OKE. The Oracle documentation describes how to do this with FlexVolumes (here). I'm using CSI volumes as these are ...
0
votes
0
answers
117
views
How to make csi-driver-nfs auto create subfolder at nfs shared when create Persistent Volume?
I am trying to setup automation around my Kubernetes storage and hitting some problems. I thought I would ask if there is a solution for this in the community.
I'm working with csi-driver-nfs for ...
1
vote
1
answer
102
views
How to upload files to Kubernetes node with `hostpath` storage class?
I have a Kubernetes cluster with one node (docker-desktop). The cluster has a default storage class hostpath and created a PV as well as a corresponding PVC making use of hostpath storage class. The ...
0
votes
1
answer
65
views
Allowing 2 Deployments access Persistent Disk in Kubernetes
Problem statement:
Designing a system where one Deployment (W) writes data to Persistent Disk (PD) and other Deployment/Daemonset (R) moves data out of the PD. It would be fair to assume this is a ...
0
votes
0
answers
27
views
Reclaim an already claimed before PersistentVolume
We have a an SMB container storage interface driver running in our cluster to access CIFS shares.
The 'smb' storage class is installed with provisioner: smb.csi.k8s.io and the PersistentVolume points ...
0
votes
1
answer
202
views
Why a Kubernetes persistent volume does not have namespace?
Context:
Initially, I had a set of k8s files. Resources from the files were deployed and worked well in namespace 'namespace1'.
Then I tried to install another copy of all k8s infrastructure to ...
-1
votes
1
answer
144
views
How to Delete Azure FileShare Snapshots Along with Persistent Volume in Azure Kubernetes Services?
I am working with Azure Kubernetes Services (AKS), where I have configured Persistent Volumes (PV) using Azure FileShares. Some of these FileShares have enabled backup functionality. When I delete a ...
0
votes
1
answer
56
views
Is it possible to create a k8s Stateful Set without a persistent volume mounted?
I try to create the following stateful set but it fails in 10 seconds while trying to start its only Pod.
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: dbss
spec:
selector:
matchLabels:...
1
vote
0
answers
110
views
File IO operations in an application running in kubernetes
In my application, I have a requirement to save an object to a file.
Application runs in kubernetes environment, so file is to be saved in persistent volumes configured.
I wanted to know what is best ...
0
votes
1
answer
286
views
PVC in deployment and stateful set
I am in the early stage of learning kubernetes. I am not able to understand how persistent volumes works with replica set with HPA and statefulset with HPA.
Assume we deployed a pod with 1 replica and ...
0
votes
2
answers
58
views
Kubernetes strange behavior with Persistent Volume Claim and volumeMounts
I can't understand why there are differences in the pod filesystem, when this is deployed using a volumeMount, compared to the same pod but without a volumeMount, in details using the following ...