Open evheniyt opened 2 weeks ago
@swoehrl-mw @prudhvigodithi I want to add support of PV for the bootstrap pod, WDYT?
I want to add support of PV for the bootstrap pod, WDYT?
@evheniyt Fine for me. I think the bootstrap pod being restarted was not a scenario ever considered as it is only running for a few minutes. IMO there are no reasons against having a PV for the pod, but it should be cleaned up afterwards.
Eventually, I have found a correlation between this issue and a recreation of bootstrap pod. We are using Karpenter and sometimes, during bootstrap process it could decide to move bootstrap pod to another node. When that happens, the cluster creation stack with this error:
I believe it is caused by the fact that bootstrap pod is not using persistent disk, and if it is restarted it gets a new cluster UUID which is non equal with the UUID on node-0
Originally posted by @evheniyt in https://github.com/opensearch-project/opensearch-k8s-operator/issues/811#issuecomment-2443349818