The recommended Kubernetes deployment of StackState is a production ready setup with many services running redundantly. However, it is also possible to run StackState in a non-redundant setup, where each service has only a single replica.
To run StackState in a non-high availability setup:
Create a Helm values file
nonha_values.yaml with the following content:
# This files defines additional Helm values to run StackState on a# non-high availability production setup. Use this file in combination# with a regular values.yaml file that contains your API key, etc.elasticsearch:minimumMasterNodes: 1replicas: 1hbase:hbase:master:replicaCount: 1regionserver:replicaCount: 1hdfs:datanode:replicaCount: 1secondarynamenode:enabled: falsetephra:replicaCount: 1kafka:replicaCount: 1defaultReplicationFactor: 1offsetsTopicReplicationFactor: 1transactionStateLogReplicationFactor: 1stackstate:components:ui:replicaCount: 1zookeeper:replicaCount: 1
Install StackState with the
nonha_values.yaml Helm values file:
helm upgrade \--install \--namespace stackstate \--values values.yaml \--values nonha_values.yaml \stackstate \stackstate/stackstate