Catalog Details
CATEGORY
workloadsCREATED BY
UPDATED AT
August 08, 2024VERSION
0.0.1
What this pattern does:
This StatefulSet will create three Pods, each running a ZooKeeper server container. The Pods will be named my-zookeeper-cluster-0, my-zookeeper-cluster-1, and my-zookeeper-cluster-2. The volumeMounts section of the spec tells the Pods to mount the PersistentVolumeClaim my-zookeeper-cluster-pvc to the /zookeeper/data directory. This will ensure that the ZooKeeper data is persistent and stored across restarts.
Caveats and Consideration:
1. The storage for a given Pod must either be provisioned by a PersistentVolume Provisioner based on the requested storage class, or pre-provisioned by an admin. 2. Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources. 3. StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service. 4. StatefulSets do not provide any guarantees on the termination of pods when a StatefulSet is deleted. To achieve ordered and graceful termination of the pods in the StatefulSet, it is possible to scale the StatefulSet down to 0 prior to deletion. 5. When using Rolling Updates with the default Pod Management Policy (OrderedReady), it's possible to get into a broken state that requires manual intervention to repair.
Compatibility:
Recent Discussions with "meshery" Tag
- Aug 07 | Trying to build server on meshery is failing
- Aug 07 | Meshery Development Meeting | Aug 7th 2024
- Aug 04 | Unable to run Meshery locally
- Aug 04 | How to setup e2e testing environment with playwright and docker for Meshery
- Jul 31 | Unable to access meshery server after meshery server status is running
- Jan 13 | Successfully setup cloud based developer environment to contribute to Meshery using GitHub Codespaces
- Jul 20 | Looking for a Meshmate for LFX
- Jul 17 | Meshery Development Meeting | July 17th 2024
- Nov 11 | Unable setup local Meshery development server
- Jul 13 | Looking for a Meshmate as I want to apply for this project in LFX mentorship program