cozystack/packages/apps/nats
Nick Volynkin 1609931e3f
[docs] Fix a typo in preset resource tables in the README's
Signed-off-by: Nick Volynkin <nick.volynkin@gmail.com>
2025-07-08 16:17:23 +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 [platform] Always set resources for managed apps 2025-07-03 17:45:32 +03:00
.helmignore Add NATS (#224) 2024-07-22 23:31:56 +02:00
Chart.yaml [platform] Always set resources for managed apps 2025-07-03 17:45:32 +03:00
Makefile [apps] Add enum of allowed values to resourcePreset in all applications 2025-06-25 16:48:20 +03:00
README.md [docs] Fix a typo in preset resource tables in the README's 2025-07-08 16:17:23 +03:00
values.schema.json [apps] Give examples of new resources in managed app README's 2025-07-03 22:58:06 +03:00
values.yaml [apps] Give examples of new resources in managed app README's 2025-07-03 22:58: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 Value
external Enable external access from outside the cluster false
replicas Persistent Volume size for NATS 2
storageClass StorageClass used to store the data ""
users Users configuration {}
jetstream.size Jetstream persistent storage size 10Gi
jetstream.enabled Enable or disable Jetstream true
config.merge Additional configuration to merge into NATS config {}
config.resolver Additional configuration to merge into NATS config {}
resources Explicit CPU and memory configuration for each NATS replica. When left empty, the preset defined in resourcesPreset is applied. {}
resourcesPreset Default sizing preset used when resources is omitted. Allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge. nano

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