How to map 2 different pods(statefulset) to one persistense volume?
We need to bind 2 pods to use one storage. Does it possible? We have the microk8s locally and create 2 manifests for two different pods, not replicas. We use dynamicly volumeClaimTemplates. But each time it creates 2 new pvc claims and pv, with different names.
Kubernetes: How to map 2 different pods(statefulset) to one persistense volume?
50 Views Asked by Dmitry Zimin At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- I can't create a pod in minikube on windows
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Summarize pods not running, by Namespace and Reason - I'm having trouble finding the reason
- How to get Java running parameters from Spring Boot running inside container in pod where no ps exist
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- In rke kube-proxy pod is not present
- problem with edge server registration in Eureka
- Unable to Access Kubernetes LoadBalancer Service from Local Device Outside Cluster
- Kubernetes cluster on GCE connection refused error
- Based on my experience, I've outlined the Kubernetes request flow. Could someone please add or highlight any points I might have overlooked?
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Python3.11 can't open file [Errno 2] No such file or directory
- Cannot find remote pod service - SERVICE_UNAVAILABLE
Related Questions in PERSISTENT-VOLUMES
- How to Configure MongoDB Collection to Persist in RAM and Disk?
- CSI Driver: FSGroup mentioned in POD spec is not accessible from NodePublish volume
- Is it possible to create a k8s Stateful Set without a persistent volume mounted?
- File IO operations in an application running in kubernetes
- PVC in deployment and stateful set
- Kubernetes strange behavior with Persistent Volume Claim and volumeMounts
- K3S Pod stuck in pending: "node(s) had volume node affinity conflict"
- Mounting azure files nfs share to pod
- mongodb statefulset pods restarting without any useful error during replication
- Persistent Volume State Pending
- Kubernetes: How to map 2 different pods(statefulset) to one persistense volume?
- Is named docker Volume stored on host machine
- How to create hostpath PV for db.sqlite3 database in minikube
- Why does Kubernetes not find any StorageClass even though it seems to exist?
- How to schedule replicas and persistent volume in different availability zones
Related Questions in KUBERNETES-PVC
- Multi attach error in AWS EKS deployment (rolling update)
- Kubernetes: I can't get my cronjob to mount a PersistentVolumeClaim
- PVC In pending state in eks
- The PersistentVolumeClaim is invalid Forbidden: spec is immutable after creation
- AKS - Cronjob use script file inside PVC
- Multi-Attach error for volume <pvcname> Volume is already exclusively attached to one node and can't be attached to another
- How are permissions determined for filesystems on the node, i.e., not mounted?
- initdb: error: directory "/var/lib/postgresql/data/pgdata" exists but is not empty
- persistent volume claim is unable to mount on the pod
- Kubernetes: How to map 2 different pods(statefulset) to one persistense volume?
- EFS content not showing
- Unable to mount GCP Filestore PVC to job pods
- How to replace dynamically provisioned PVCs for multi-replica StatefulSets
- PVC for helm hook jobs
- Kubernetes pod cannot attach to in-use volume
Related Questions in STATEFULSET
- Can I use existing GCE persistent disk in volumeClaimTemplate of Kubernetes Statefulset
- Route to a given replica of a statefulset in Openshift/Kubernetes
- How to tweak Redis config with Kubernetes statefulset?
- Strategy Replace for StatefulSet
- Statefulset Kubernetes : volumeMounts[0].name: Not found
- Incorrect Hostname of pods in same stateful set in an AKS cluster
- Statefulset Pods : Issue with Multiple Persistent Volume Claims
- statefulset stuck on volumeClaimTemplates pending
- Mount PVC in cronjob and statefulset
- Why deletion of a STS application is not deleting OpenEBS Jiva volume pvc's also automatically?
- Add additional volumeClaimTemplate to statefulSet
- Run MongoDB in Kubernetes with Keyfile
- Why not to use Kubernetes StatefulSet for stateless applications?
- Kubernetes control the order of scale and upgrade for a StatefulSet
- Kubernetes multiple stateful sets pods communication
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Check accessMode ReadWriteMany and its supported storage types (e.g. CephFS, NFS, CSI, etc.).