From b420a15984f3e71f6cd06ba0ae9f366f25a7cefb Mon Sep 17 00:00:00 2001 From: Iceber Gu Date: Thu, 29 Aug 2024 10:37:48 +0800 Subject: [PATCH] kustomize: remove traces config Signed-off-by: Iceber Gu --- .../clusterpedia_apiserver_deployment.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/kustomize/apiserver/clusterpedia_apiserver_deployment.yaml b/kustomize/apiserver/clusterpedia_apiserver_deployment.yaml index 6cd23fb62..97c988af8 100644 --- a/kustomize/apiserver/clusterpedia_apiserver_deployment.yaml +++ b/kustomize/apiserver/clusterpedia_apiserver_deployment.yaml @@ -41,7 +41,6 @@ spec: - /usr/local/bin/apiserver - --secure-port=443 - --storage-config=/etc/clusterpedia/storage/internalstorage-config.yaml - - --tracing-config-file=/etc/clusterpedia/trace/tracing-config.yaml - -v=3 env: - name: DB_PASSWORD @@ -53,9 +52,6 @@ spec: - name: internalstorage-config mountPath: /etc/clusterpedia/storage readOnly: true - - name: tracing-config - mountPath: /etc/clusterpedia/trace - readOnly: true serviceAccountName: clusterpedia-apiserver volumes: - name: internalstorage-config @@ -64,16 +60,3 @@ spec: - name: tracing-config configMap: name: clusterpedia-tracing-config ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: clusterpedia-tracing-config - namespace: clusterpedia-system -data: - tracing-config.yaml: | - apiVersion: apiserver.config.k8s.io/v1beta1 - kind: TracingConfiguration - # default - # endpoint: localhost:4317 - samplingRatePerMillion: 1000000