Questions tagged [kubernetes-pvc]

Kubernetes persistent volume claims: These are requested by pods in a cluster, from a storage pool that is pre-defined (or else, dynamically allocated).

351 questions
0
votes
0 answers

How to have highly available Moodle in Kubernetes?

Want to set up highly available Moodle in K8s (on-prem). I'm using Bitnami Moodle with helm charts. After a successful Moodle installation, it becomes work. But when a K8s node down, Moodle web page displays/reverts/redirects to the Moodle…
0
votes
1 answer

Failed to provision volume with StorageClass - could not get storage key for storage account

I'm trying to provide a PVC to a pod deployment and I'm facing this error: Failed to provision volume with StorageClass "xxxxxxxxxxx": could not get storage key for storage account yyyyyyyyyyy: could not get storage key for storage account…
Diego Rafael Souza
  • 5,241
  • 3
  • 23
  • 62
0
votes
1 answer

creation of pod with pvc label of a volume

I have created a pv and pvc and they were bounded .I need to create a pod with pvc and they given me a storage volume with label and a mount path to mount volume. But they have not given me image of pod how can i create?
Devi
  • 1
  • 1
0
votes
2 answers

List kubernetes pvc using labels of AGE

I have more than 4000 pvc in my kubernetes aws eks cluster. From those 4000+ pvc I have to delete almost 3999 pvcs and not delete like 30 pvc. I will be using the command: kubectl delete pvc --field-selector metadata.name!= to…
devgirl
  • 671
  • 3
  • 16
  • 39
0
votes
2 answers

Delete Kubernetes PVC ebs volumes in batch

I have more than 4000 pvc in my kubernetes aws eks cluster. From those 4000+ pvc I have to delete almost 3999 pvcs Now instead of using command: kubetcl delete pvc pvc-data-name and delete every pvc separately which can take me sooo long.. I want…
devgirl
  • 671
  • 3
  • 16
  • 39
0
votes
1 answer

how does PVC on Kubernetes work with MYSQL?

I am an computer enginering student. In my freetime I am working an a K8s project. I was wondering how PVC works, I understand the basic concept. But here is my question. So this is the code for a basic wordpress with mysql application. I was…
Bram Breda
  • 71
  • 7
0
votes
1 answer

pod has unbound immediate PersistentVolumeClaims (repeated 2 times)

I'm using AKS, I am trying to create a statefulset with pvc from yaml. It looks like pvc created successfully and is bound. but I see that the pod state is CrashLoopBackOff When I use describe on the pod, i get this events: Type Reason …
toto
  • 1,197
  • 2
  • 15
  • 26
0
votes
1 answer

kubernetes expanding pvc for cluster

I have a pvc on my cluster. I can expand it on my provider (digital ocean) but then on the cluster do I need to somehow let it know that it expanded? here is my file that I deployed to enable the creation of the pvc apiVersion: v1 kind:…
Henry
  • 91
  • 1
  • 1
  • 7
0
votes
1 answer

MySQL databases lost upon attempt to use Persistent Volume Claim clone feature

We are trying to create MySQL pod with databases ready by cloning PVC of already running MySQL pod. Use case: we have a staging environment with database imported and want to create dynamic environments based off that database structure and data.…
0
votes
1 answer

Create a Kubernetes Persistent Volume on GKE connected to an external NFS server on GCE

I have a NFS server running on a VM in GCE. The NFS server /etc/exports file is already configured to allow mounting by the K8s cluster. I attempted to create a Persistent Volume (PV) and Persistent Volume Claim (PVC) and I added…
0
votes
1 answer

How to deploy logstash with persistent volume on kubernetes?

Using GKE to deploy logstash by statefulset kind with pvc. Also need to install an output plugin. When don't use while true; do sleep 1000; done; in container's command args, it can't deploy with pvc successfully. The pod will cause CrashLoopBackOff…
iooi
  • 453
  • 2
  • 10
  • 23
0
votes
0 answers

How to keep Django 2.2 migrations on Kubernetes while developing?

I have a rather complex K8s environment that one of the Deployments is a Django application. Currently we are having a very hard time whenever I need to update a model that has already been migrated to a PostgreSQL database. Let's say for instance…
0
votes
0 answers

Kafka Streams Local State Store persistence with Persistent Volumes on Kubernetes/OpenShift

I currently have a Kafka Streams application that has a GlobalKTable materialized as a state store and persisted locally on disk. When I deploy this application to OpenShift/Kubernetes it only has access those resources within that specific…
0
votes
1 answer

How to manage pod replicas while using PVC

I have an Open Source project that I deployed in Kubernetes. It has a master, data, and query pod. The data pod is used to store the data. Unfortunately, when the data pod goes down it loses all its stored data as well. So I figured, I have to use a…
CSUNNY
  • 414
  • 1
  • 7
  • 23
0
votes
2 answers

Kubernetes Pod - Sync pod directory with a local directory

I have a python pod running. This python pod is using different shared libraries. To make it easier to debug the shared libraries I would like to have the libraries directory on my host too. The python dependencies are located in…
Jérémy Octeau
  • 689
  • 1
  • 10
  • 26