Hitachi

Hitachi Microservices Platform - Paxos Commit Transaction Orchestrator ユーザーズガイド


3.8.5 EADSのHelmチャートのカスタマイズ(通常版限定)

EADSのHelmチャートをカスタマイズするために、helm show valuesコマンドを実行して、EADSのHelmチャートパッケージファイル(eads-server-chart.tgz)からデフォルト設定のvalues.yamlを抽出してください。コマンド例を次に示します。

helm show values ./eads-server-chart.tgz > ./eads-values.yaml

注 EADSサーバをインストールした環境から次のディレクトリをコピーします。

 /opt/hitachi/xeads/orchestration/chart

9.3.3 EADS(通常版限定)」に記載されているHelmチャートのvalues.yamlの各パラメタについて、必須パラメタの定義、および任意パラメタを必要に応じてデフォルト値から変更してください。

Helmチャートのカスタマイズ例を次に示します。

<永続ボリュームの種類をローカル永続ボリューム(local)とする場合>

release:
  service: "eads-service"
  server: "eads-server"
namespace: " my-namespace"
serverImage:
  repository: "eads-server-image"
  tag: ""
  imageOverride: ""
  pullSecrets: []
  pullPolicy: "IfNotPresent"
commandImage:
  repository: "eads-command-image"
  tag: ""
  imageOverride: ""
  pullSecrets: []
  pullPolicy: "IfNotPresent"
cluster:
  servers: 3
  replicationFactor: 2
caches:
- name: "hmppctoCache"
  type: "Disk"
  pvc:
    capacity: "258Mi"
    storageClassName: ""
    accessModes:
    - ReadWriteOnce
  properties:
  - eads.cache.disk.filenum=8
  - eads.cache.disk.filesize=16
  - eads.cache.eviction.policy=FIFO
  - eads.cache.eviction.keyCount=1024
service:
  server: 24600
  operation: 24620
  heartbeat: 24630
  failureDetector: 24631
  transfer: 24632
  replication: 24633
logs:
  capacity: "1Gi"
  storageClassName: ""
    accessModes:
    - ReadWriteOnce
store:
  capacity: "500Mi"
  storageClassName: ""
resources:
  limits:
    cpu: "2"
  requests:
    memory: "1664Mi"
properties:
  server:
  - eads.server.maxConnections=60
  - eads.server.cache.maxExecuteThreads=60
  - eads.java.nio.maxCachedBufferSize=8192
  - eads.logger.message.console.enable=true
  - eads.server.connection.keepAlive.timeout=70
  - eads.failureDetector.heartbeat.timeout=10000
  - eads.failureDetector.connection.timeout=2500
  - eads.failureDetector.read.timeout=2500
  command: []
  shared:
  - eads.java.heapsize=768
  - eads.java.external.heapsize=7
  - eads.replication.external.heapsize=6
  - eads.cache.key.maxsize=164
  - eads.cache.keyCount=1025
  cluster: []
  functions:
    eads: []
volumes: []
index: 0
args: "status"
schedule: "*/10 * * * *"
health: 
  timeout: 30
  forceStop:
    retry:
      count: 3
      intervalSecond: 3

<永続ボリュームの種類をNFSストレージとする場合>

release:
  service: "eads-service"
  server: "eads-server"
namespace: " my-namespace"
serverImage:
  repository: "eads-server-image"
  tag: ""
  imageOverride: ""
  pullSecrets: []
  pullPolicy: "IfNotPresent"
commandImage:
  repository: "eads-command-image"
  tag: ""
  imageOverride: ""
  pullSecrets: []
  pullPolicy: "IfNotPresent"
cluster:
  servers: 3
  replicationFactor: 2
caches:
- name: "hmppctoCache"
  type: "Disk"
  pvc:
    capacity: "258Mi"
    storageClassName: "eads-storage"
    accessModes:
    - ReadWriteMany
  properties:
  - eads.cache.disk.filenum=8
  - eads.cache.disk.filesize=16
  - eads.cache.eviction.policy=FIFO
  - eads.cache.eviction.keyCount=1024
  - eads.cache.disk.multipleWritePrevention.enable=true
service:
  server: 24600
  operation: 24620
  heartbeat: 24630
  failureDetector: 24631
  transfer: 24632
  replication: 24633
logs:
  capacity: "1Gi"
  storageClassName: "eads-storage"
  accessModes:
  - ReadWriteMany
  dirType: "nfs"
store:
  capacity: "500Mi"
  storageClassName: "eads-storage"
resources:
  limits:
    cpu: "2"
  requests:
    memory: "1664Mi"
properties:
  server:
  - eads.server.maxConnections=60
  - eads.server.cache.maxExecuteThreads=60
  - eads.java.nio.maxCachedBufferSize=8192
  - eads.logger.message.console.enable=true
  - eads.server.connection.keepAlive.timeout=70
  - eads.failureDetector.heartbeat.timeout=10000
  - eads.failureDetector.connection.timeout=2500
  - eads.failureDetector.read.timeout=2500
  - eads.logger.multipleWritePrevention.enable=true
  command: []
  shared:
  - eads.java.heapsize=768
  - eads.java.external.heapsize=7
  - eads.replication.external.heapsize=6
  - eads.cache.key.maxsize=164
  - eads.cache.keyCount=1025
  cluster: []
  functions:
    eads: []
volumes: []
index: 0
args: "status"
schedule: "*/10 * * * *"
health: 
  timeout: 30
  forceStop:
    retry:
      count: 3
      intervalSecond: 3