Questions tagged [kubernetes-statefulset]
357 questions
0
votes
1 answer
How to update environment variables in a StatefulSet
I wants to update the environment variables in a Kubernetes StatefulSet. I Updated the YAML file and executed $kubectl apply -f my-statefulset.yml, but nothing changed. Then I tried $kubectl scale sts my-statefulset --replicas=0; kubectl scale sts…

Nitish mittal
- 31
- 1
- 5
0
votes
1 answer
Spark Standalone on Kubernetes - application got finished after consecutive master then driver failure
Trying to achieve High Availability of SparkMaster using ZooKeeper with SparkDriver resiliency using metaData checkpoint into GlusterFS.
Some Informations :
Using Spark 2.2.0 (prebuilt binary)
Submitting a streaming app with --deploy-mode cluster…

Sayak Ghosh
- 31
- 4
0
votes
0 answers
Write in Solr during Kubernetes Deployment
I'm trying to deploy Solr Cloud into Kubernetes using StatefulSets. My problem is that if I'm writing into Solr during a rolling update of the statefulset I get errors when I reach the deployment of the solr cluster leader. With just reads I can…

Bruno René Santos
- 401
- 4
- 10
0
votes
1 answer
How to notify POD in statefull set about other PODS in Kubernetes
I was reading the tutorial on deploying a Cassandra ring and zookeeper with statefulsets. What I don't understand is if I decide to add another replica into the statefulset, how do I notify the other PODS that there is another one. What are best…

Martin Kosicky
- 471
- 4
- 12
-1
votes
1 answer
Best practices for sharded services with varying RAM consumption in kubernetes
I have sharded services, where each one have to have its ordinal. Also, each service consume different amount RAM, for example one - 4Gib, another - 20Gib. I would like to roll out these services on kubernates cluster.
I thought of using Stateful…

Denis319199
- 272
- 1
- 8
-1
votes
1 answer
Changing MinIO standalone mode to distributed
I have a Kubernetes cluster running on GKE, with minio instance on it, installed using bitnami minio chart.
Currently, the minio is operating in standalone mode, as a Deployment with one pod.
The problem I'm facing is that every time I want to…

Alon Peslin
- 1
- 1
-1
votes
1 answer
Elasticsearch statefulset does not create volumesClaims on rook-cephfs
I am trying to deploy an elasticsearch statfulset and have the storage provisioned by rook-ceph storageclass.
The pod is in pending mode because of:
Warning FailedScheduling 87s default-scheduler 0/4 nodes are available: 4 pod has unbound…

zozo6015
- 557
- 2
- 11
- 27
-1
votes
1 answer
zookeeper statefulset require all instance to manually restart after upgrade
I am running 3 zookeeper kubernetes statefulset for my kafka clusters. Named zookeeper-0 , zookeeper-1, zookeeper-2. And I have liveness probe enabled with ruok command. If any statefulset pod get restarted due to any failures the quorum will fail…

Matt
- 99
- 1
- 9
-1
votes
2 answers
Understanding deleting stateful sets
New to k8s. I want to understand, what kubectl delete sts --cascade=false does?
If i remove cascade, it deletes the statefulsets pods.

Ankush Ganatra
- 500
- 5
- 23
-2
votes
1 answer
Helm upgrade fails during updates in spec.resources.requests.storage as they are forbidden
I am on EKS 1.24 and using ElasticSearch 6.5.4 helm chart.
I followed below steps to make updates to the disk size.
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
{{ if and (.Values.enableEncryption) (eq…

Darshan Deshmukh
- 353
- 1
- 4
- 15
-2
votes
2 answers
MinIO Error on distributed Cluster on Kubernetes
i try to deploy MinIO distributed Cluster on Kubernetes , i wrote yaml file in the below link ,
i got errors logs from the pods , could you please review my yaml and support me for run minio as Cluster MinIO on Kubernetes
cluster 4 replicas,…

ahmed
- 39
- 7
-3
votes
1 answer
Kubernetes - statefulSet and volume permissions
I am trying to create statefulSet like below where I run init container apply permissions to volume data before I use it in the main container but I get permissions error as below
apiVersion: apps/v1
kind: StatefulSet
metadata:
name:…

Sergei
- 387
- 1
- 6
- 16