Comments (4)
I am also hitting this issue. Is it possible to implement a similar solution flux that uses labels to partition the CRs over multiple instances of the same controller?
https://fluxcd.io/flux/installation/configuration/sharding/#assign-resources-to-shards
from nack.
I tried using Accounts -- which specify the server -- in order to do this but it seems like its ignored and uses the underlying NACK config.
Eg.
---
apiVersion: jetstream.nats.io/v1beta2
kind: Account
metadata:
name: a
spec:
name: a
servers:
- nats://nats.namespace_a.svc.cluster.local:4222
---
apiVersion: jetstream.nats.io/v1beta2
kind: Stream
metadata:
name: foo
spec:
name: foo
subjects: ["foo", "foo.>"]
storage: file
replicas: 1
account: a # <-- Create stream using account A information
I would have expected the account information to be respected and used in creating the stream.
from nack.
For anyone struggling we this, our end work-around was to change to namespaced: true
and then centrally manage the stream CRDs for each cluster within the controller namespace.
This doesn't allow adding the CRDs between various project namespaces throughout the cluster though so may not work for everyone.
from nack.
Related Issues (20)
- Container for 0.9.1 is not tagged with the version HOT 2
- Unable to start image when using `/jetstream-controller` path on 0.9.1 HOT 1
- Log all operator events
- Nack doesn't rename streams/consumers
- Release new image on updated Alpine and Go to address vulnerabilities HOT 2
- YAML config doesn't support all time formats on maxAge
- KeyValue management on NACK
- nats-server-config-reloader: Inotify Not Working in K8 with the secrets
- Add support for UserCredentials for consumer HOT 1
- AckWait default value seems to be wrong
- Feature request: Add support for Jetstream domain HOT 2
- Lack of subject update Changing nats filter subjects HOT 15
- Connections to NATS server not closed HOT 5
- When installing according to the manual, jetstreams are NOT enabled HOT 1
- Unable to map the account CRD to the nats server's existing account when creating jetstreams with multi-tenants support HOT 2
- Number of issues with ReadMe manual HOT 1
- When a consumer is deleted from the server, NACK does not recreate it HOT 8
- Docker image for 0.8.0 not published to natsio/nats-server-config-reloader HOT 2
- error when deploying push consumer. consumer with flow control also needs heartbeats (10108) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nack.