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

NameDescriptionValue
replicasNumber of replicas2
resourcesExplicit CPU and memory configuration for each NATS replica. When left empty, the preset defined in resourcesPreset is applied.{}
resourcesPresetDefault sizing preset used when resources is omitted. Allowed values: nano, micro, small, medium, large, xlarge, 2xlarge.nano
storageClassStorageClass used to store the data""
externalEnable external access from outside the clusterfalse

Application-specific parameters

NameDescriptionValue
usersUsers configuration (see example){}
jetstream.enabledEnable or disable Jetstreamtrue
jetstream.sizeJetstream persistent storage size10Gi
config.mergeAdditional configuration to merge into NATS config (see example){}
config.resolverAdditional resolver configuration to merge into NATS config (see example){}

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 nameCPUmemory
nano250m128Mi
micro500m256Mi
small1512Mi
medium11Gi
large22Gi
xlarge44Gi
2xlarge88Gi