Skip to content

Commit

Permalink
kustomize: remove traces config
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <[email protected]>
  • Loading branch information
Iceber committed Aug 29, 2024
1 parent 58b67c8 commit edf281d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions kustomize/apiserver/clusterpedia_apiserver_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit edf281d

Please sign in to comment.