nats-io / nats-streaming-operator

NATS Streaming Operator
Apache License 2.0
174 stars 44 forks source link

nats-streaming pod stuck in status Completed #83

Open oana-cit opened 3 years ago

oana-cit commented 3 years ago

kubectl cluster with a single node. Do a Power off for the node (not a shutdown). When the node is started, the nats-streaming-operator pod reaches a Ready state, but the nats-streaming pod is stuck in Completed. cluster mode is disabled.

No errors/warnings are present in the nats-streaming-operator logs:

root@test-000c295c19b3:~# kubectl logs -f test-nats-streaming-operator-7b678ddb66-8lzdh
time="2021-02-01T09:51:06Z" level=info msg="Starting NATS Streaming Operator v0.4.0"
time="2021-02-01T09:51:06Z" level=info msg="Go Version: go1.15.1"
time="2021-02-01T09:51:06Z" level=info msg="Adding cluster 'default/nats-streaming-test' (uid=7ce2c21c-c7b3-4ae8-9f3d-81c492714d17)"

describePod.txt livenessProbe and readinessProbe are also disabled. When enabled, the nats-streaming-operator gets restarted every few minutes, but the state of the nats-streaming pod doesn't change. Attached pods description.