diff --git a/deploy/clusterpedia_apiserver_deployment.yaml b/deploy/clusterpedia_apiserver_deployment.yaml index 6cd23fb62..86e8b9d98 100644 --- a/deploy/clusterpedia_apiserver_deployment.yaml +++ b/deploy/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 @@ -61,19 +60,3 @@ spec: - name: internalstorage-config configMap: name: clusterpedia-internalstorage - - 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 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