Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When installing according to the manual, jetstreams are NOT enabled #157

Closed
MDullak opened this issue Dec 28, 2023 · 1 comment · Fixed by #163
Closed

When installing according to the manual, jetstreams are NOT enabled #157

MDullak opened this issue Dec 28, 2023 · 1 comment · Fixed by #163
Assignees
Labels
defect Suspected defect such as a bug or regression

Comments

@MDullak
Copy link

MDullak commented Dec 28, 2023

What version were you using?

helm chart:
NATS: 2.10.7
NACK: 0.14.1

What environment was the server running in?

Clean debian 12 + k3sinstall

Is this defect reproducible?

yes

Given the capability you are leveraging, describe your expectation?

Running those:
helm repo add nats https://nats-io.github.io/k8s/helm/charts/
helm install nats nats/nats --set=nats.jetstream.enabled=true
helm install nack nats/nack --set jetstream.nats.url=nats://nats:4222

I would expect that NATS will be running with JetStreams.
Looking at the pod log this does not needs to be the case.
On top of that deploying sample stream and consumers results with error:

Status:
Conditions:
Last Transition Time: 2023-12-28T18:15:44.278033855Z
Message: failed to check if stream exists: nats: no responders available for request
Reason: Errored
Status: False

Given the expectation, what is the defect you are observing?

I would expect that running basic install steps would give me the result like in the ReadMe.

I had to manuall add jetstreams to nats.conf (via ConfigMap).
And then it started to work.

@MDullak MDullak added the defect Suspected defect such as a bug or regression label Dec 28, 2023
@Jarema Jarema self-assigned this Jan 5, 2024
@Jarema
Copy link
Member

Jarema commented Jan 22, 2024

Hey.

I think that with new Helm Charts, it's
https://github.com/nats-io/k8s/tree/main/helm/charts/nats#jetstream-cluster-on-3-separate-hosts

so it's under config.jetstream.enabled.

Jarema added a commit that referenced this issue Jan 22, 2024
Jarema added a commit that referenced this issue Jan 22, 2024
closes #157

* Fix installation guide
* Update examples to use file storage

This change was made so the default example config from
new Nats Helm Charts work out of the box with Nack examples.

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants