Comments (5)
Please include your values.yaml
file that recreates this
from k8s.
@caleblloyd, I used two values.yaml files. One was the default values.yaml given in the repo. Another is given below:
# values.yaml for NATS Helm chart
# Cluster configuration
cluster:
enabled: false
replicas: 3 # Number of NATS server nodes for high availability
# JetStream configuration
jetstream:
enabled: true
memStorage:
enabled: true
size: 2Gi # Memory storage size for JetStream
fileStorage:
enabled: true
size: 10Gi # File storage size for JetStream
storageDirectory: /data/jetstream # Directory for file storage
storageClassName: fast-ssd # StorageClass for the persistent volume
# Resource allocation
resources:
limits:
cpu: 2 # CPU limit for each NATS server pod
memory: 4Gi # Memory limit for each NATS server pod
requests:
cpu: 1 # CPU request for each NATS server pod
memory: 2Gi # Memory request for each NATS server pod
# Security configuration
auth:
enabled: false
systemAccountEnabled: true # Enable the system account for monitoring and administration
users:
- username: admin
password: your-admin-password
permissions:
publish: ">"
subscribe: ">"
- username: app-user
password: your-app-user-password
permissions:
publish: "foo.>"
subscribe: "foo.>"
# Monitoring and metrics
metrics:
enabled: true # Enable Prometheus metrics
port: 7777
path: /metrics
# NATS Exporter for Prometheus
natsExporter:
enabled: true
image: natsio/prometheus-nats-exporter
version: 0.9.0
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
from k8s.
This is the 0.x
values.yaml format. You should continue to use chart version 0.19.17
until you upgrade
Here is the upgrade guide
from k8s.
@caleblloyd, i tried the chart version 0.19.17
and looks like its working. Thanks.
Is there any reference file for the 1.x
values.yaml?
from k8s.
Great. Yes the best docs page is on ArtifactHub:
https://artifacthub.io/packages/helm/nats/nats
from k8s.
Related Issues (20)
- NATS Container restart frequently in AKS Cluster with the following error logs HOT 3
- Critical Vulnerabilities Detected - Alpine Linux Busybox & OpenSSL HOT 1
- NATS helm leaf node TLS setup - error: nats: secure connection not available HOT 1
- [Jetstream Controller] Use secrets for username/password authentication HOT 4
- Expose promExporter to service or Prometheus could not scrape HOT 6
- Add Priority Class Name Configuration to StatefulSet in Helm Chart HOT 1
- Add gatewayAPI HTTPRoute ressources, same as Ingress
- OpenSSL past due vulnerabilities detected in config-reloader and prometheus exporter images
- Critical Vulnerabilities detected for busybox, openssl, nats-server, and more
- allow nats service annotations HOT 3
- how to Allow leafnode remotes but not leafnode connections HOT 2
- OpenShift non root policy: missing emptyDir when no pvc is enabled HOT 1
- add possibility to set global annotations
- Doc incorrect https://github.com/nats-io/k8s/tree/main/helm/charts/nack#getting-started
- [nats] [nack] accounts vs authorization vs .creds, sensitive data not in secrets HOT 3
- [feature request] nats in security context of non root user HOT 1
- Modify the surveyor chart so that it can connect using the parameters --user --password
- Patch args in NATS container HOT 3
- Can't expose gateway service HOT 3
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 k8s.