k8s
k8s copied to clipboard
Microk8s can't bring up nats/stan from minimal setup
I followed the docs at https://github.com/nats-io/nats.docs/blob/master/nats-on-kubernetes/minimal-setup.md and ran the nats-box. But stan is not available.
I already checked the status of the pod:
NAME READY STATUS RESTARTS AGE
nats-0 1/1 Running 0 89s
stan-0 0/1 Pending 0 5m12s
To exclude this as a cause I downloaded the provided yaml files and updated them to use the 2.1.7-alpine image of nats and the 0.17.0-linux image. But unfortunately I still see the same effect.
To further diagnose this I removed microk8s and installed kind on which I configured a three node (1 master, two workers) setup.
There I'm able to bring nats and stan up, but stan crashed twice ....
NAME READY STATUS RESTARTS AGE
nats-0 1/1 Running 0 47s
stan-0 0/1 CrashLoopBackOff 2 43s
...
before it was started properly:
NAME READY STATUS RESTARTS AGE
nats-0 1/1 Running 0 99s
stan-0 1/1 Running 3 95s
@wallyqs could you review this issue and decide if the documentation needs updating or if this is an unrelated issue so we can move it to where it needs to be? Thanks!
Closing due to age of issue; if experiencing in current versions please open a new issue.