Deploy Seata Server By Helm

Quick start

  1. $ cd ./script/server/helm/seata-server
  2. $ helm install seata-server ./seata-server

Custom configuration

Environment

The environment is same with Docker, can reference Deploy Seata Server By Docker

Use specify configuration file

Can specify configuration file by mount files, like mount files under /root/workspace/seata/seata-config/file to pod. And need specify environment SEATA_CONFIG_NAME also, the value need start with file:, like file:/root/seata-config/registry

  • Values.yaml
  1. replicaCount: 1
  2. namespace: default
  3. image:
  4. repository: apache/seata-server
  5. tag: 2.1.0
  6. pullPolicy: IfNotPresent
  7. service:
  8. type: NodePort
  9. port: 30091
  10. env:
  11. seataPort: "8091"
  12. storeMode: "file"
  13. seataIp: "127.0.0.1"
  14. seataConfigName: "file:/root/seata-config/registry"
  15. volume:
  16. - name: seata-config
  17. mountPath: /root/seata-config
  18. hostPath: /root/workspace/seata/seata-config/file