cozystack/packages/apps/nats
Andrei Kvapil 759d64c738
Fix types and revert default node group in Kubernetes config
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2025-08-10 22:50:06 +03:00
..
charts Use library chart for resource management 2025-06-04 09:05:21 +03:00
logos Update dashboard icons (#274) 2024-08-12 14:47:11 +02:00
templates bugfix fix nats 2025-07-11 22:47:19 +03:00
.helmignore Add NATS (#224) 2024-07-22 23:31:56 +02:00
Chart.yaml [apps] Remove preset 'none' from app charts and README 2025-07-14 19:31:10 +03:00
Makefile [apps] Use new OpenAPI schema and README generator for packages/apps 2025-08-09 10:16:36 +03:00
README.md Fix types and revert default node group in Kubernetes config 2025-08-10 22:50:06 +03:00
values.schema.json [apps] Use new OpenAPI schema and README generator for packages/apps 2025-08-09 10:16:36 +03:00
values.yaml Fix types and revert default node group in Kubernetes config 2025-08-10 22:50:06 +03:00

Managed NATS Service

NATS is an open-source, simple, secure, and high performance messaging system. It provides a data layer for cloud native applications, IoT messaging, and microservices architectures.

Parameters

Common parameters

Name Description Type Value
replicas Number of replicas int 2
resources Explicit CPU and memory configuration for each NATS replica. When left empty, the preset defined in resourcesPreset is applied. *object {}
resources.cpu CPU *quantity null
resources.memory Memory *quantity null
resourcesPreset Default sizing preset used when resources is omitted. Allowed values: nano, micro, small, medium, large, xlarge, 2xlarge. string nano
storageClass StorageClass used to store the data string ""
external Enable external access from outside the cluster bool false

Application-specific parameters

Name Description Type Value
users Users configuration map[string]object {...}
users[name].password Password for the user *string null
jetstream Jetstream configuration object {}
jetstream.enabled Enable or disable Jetstream. Set to true (default) to enable Jetstream for persistent messaging in NATS. bool true
jetstream.size Jetstream persistent storage size. Specifies the size of the persistent storage for Jetstream (message store). quantity 10Gi
config NATS configuration object {}
config.merge Additional configuration to merge into NATS config (see example) *object {}
config.resolver Additional resolver configuration to merge into NATS config (see example) *object {}

Parameter examples and reference

resources and resourcesPreset

resources sets explicit CPU and memory configurations for each replica. When left empty, the preset defined in resourcesPreset is applied.

resources:
  cpu: 4000m
  memory: 4Gi

resourcesPreset sets named CPU and memory configurations for each replica. This setting is ignored if the corresponding resources value is set.

Preset name CPU memory
nano 250m 128Mi
micro 500m 256Mi
small 1 512Mi
medium 1 1Gi
large 2 2Gi
xlarge 4 4Gi
2xlarge 8 8Gi