apiVersion: apps.wandb.com/v1kind: WeightsAndBiasesmetadata: labels: app.kubernetes.io/name: weightsandbiases app.kubernetes.io/instance: wandb name: wandb namespace: defaultspec: values: global: [...] clickhouse: host: <release-name>-headless.<namespace>.svc.cluster.local port: 8123 password: <password> user: <username> database: wandb_weave # `replicated` must be set to `true` if replicating data across multiple nodes # This is in preview, use the env var `WF_CLICKHOUSE_REPLICATED` replicated: true weave-trace: enabled: true [...] weave-trace: install: true extraEnv: WF_CLICKHOUSE_REPLICATED: "true" [...]
Set the clusterName in values.yaml to weave_cluster. If it is not, the database migration will fail.または、異なるクラスター名を使用する場合は、以下の例に示すように、WF_CLICKHOUSE_REPLICATED_CLUSTER環境変数をweave-trace.extraEnvで選択した名前と一致するように設定します。
[...] clickhouse: host: <release-name>-headless.<namespace>.svc.cluster.local port: 8123 password: <password> user: <username> database: wandb_weave # `replicated` must be set to `true` if replicating data across multiple nodes # This is in preview, use the env var `WF_CLICKHOUSE_REPLICATED` replicated: true weave-trace: enabled: true[...]weave-trace: install: true extraEnv: WF_CLICKHOUSE_REPLICATED: "true" WF_CLICKHOUSE_REPLICATED_CLUSTER: "different_cluster_name"[...]