From 028be1baea3ce3dfa4af30adc3ed8be881f6c8d4 Mon Sep 17 00:00:00 2001 From: yimingsu Date: Wed, 16 Oct 2024 21:52:50 -0500 Subject: [PATCH] Added tidb-operator.json --- chactos/tidb-operator.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/chactos/tidb-operator.json b/chactos/tidb-operator.json index c0de5baef..4bebfadd8 100644 --- a/chactos/tidb-operator.json +++ b/chactos/tidb-operator.json @@ -1,10 +1,20 @@ { "application_selector": { - "labelSelectors": {"app.kubernetes.io/instance": "test-cluster"} + "labelSelectors": { + "app.kubernetes.io/instance": "test-cluster" + } + }, + "priority_application_selector": { + "labelSelectors": { + "app.kubernetes.io/instance": "test-cluster" + } }, "operator_selector": { - "labelSelectors": {"instance": "tidb-operator"} + "labelSelectors": { + "instance": "tidb-operator" + } }, "application_pod_prefix": "test-cluster-", - "application_data_dir": "/tmp/tikv/store" + "application_data_dir": "/tmp/tikv/store", + "pod_failure_ratio": 0.1 } \ No newline at end of file