You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cluster has been in a crash after an avalanche( a lot of nodes crash), I deleted the statefulset and then re-created it, so that pod started one by one, pod0 will not be ready because it is looking for other members, but other members must start pod0 successfully before starting.
# kubectl get pod
NAME READY STATUS RESTARTS AGE
cassandra-cassandra-dc1-dc1-rack1-0 0/2 CrashLoopBackOff 5 4d7h
cassandra-cassandra-dc1-dc1-rack1-1 2/2 Running 7 4d7h
cassandra-cassandra-dc1-dc1-rack1-2 1/2 Running 4 4d7h
cassandra-cassandra-dc1-dc1-rack1-3 0/2 CrashLoopBackOff 11 4d7h
cassandra-cassandra-dc1-dc1-rack1-4 0/2 CrashLoopBackOff 4 4d7h
cassandra-cassandra-dc1-dc1-rack1-5 0/2 CrashLoopBackOff 8 4d7h
# kubectl delete -f example-dc.yaml
# kubectl apply -f example-dc.yaml
I kept getting an error when I redeployed because sts cannot create pods in parallel
I need podManagementPolicy: Parallel, but see github code commit:
The text was updated successfully, but these errors were encountered: