Questions tagged [persistent-volumes]
This tag is for Kubernetes persistent volume related questions.
persistent-volumes
794
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
16
views
How to make elasticsearch.keystore persistent in statefullset Openshift?
Currently, I have set up an Elasticsearch in a StatefulSet with 3 replicas and Kibana with 1 replica in a deployment in OpenShift. Now, I am facing persistence problems in both Kibana and ...
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 ...
0
votes
1
answer
116
views
Best practice when backing up up persistent container data in Podman
I'm using Vaultwarden to store passwords and other sensitive data. Vaultwarden runs in a container, where the SQLite database is hosted on a volume mapped to the host. The configuration is stored in a ...
0
votes
1
answer
97
views
How to mount azure Share file to conatiners (in VM ) via docker compose?
I am using Docker compose to create 5 containers in VM and i want to mount the azure files share to each container.
my docker-compose.yml file is as follow :
version: '3.8'
services:
jenkins:
...
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
vote
0
answers
41
views
What is the proper way to use the local storage PV in AKS on a storage optimized Windows node?
I am investigating the local storage option. It seems to require an existing directory on the node where the volume is created. In my case these are Windows nodes.
And that raises the question - what ...
-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
0
answers
26
views
Persistent volume claim status pending?
My pvc is not bound to the volume after creation.
My Persistent Volume file is:
# mysql-pv.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: mysql-pv
namespace: ns-flask-app
spec:
...