mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Merge pull request #115750 from saschagrunert/otel-beta
Graduate `KubeletTracing` feature to beta
This commit is contained in:
@@ -93,6 +93,7 @@ STORAGE_BACKEND=${STORAGE_BACKEND:-"etcd3"}
|
||||
STORAGE_MEDIA_TYPE=${STORAGE_MEDIA_TYPE:-"application/vnd.kubernetes.protobuf"}
|
||||
# preserve etcd data. you also need to set ETCD_DIR.
|
||||
PRESERVE_ETCD="${PRESERVE_ETCD:-false}"
|
||||
ENABLE_TRACING=${ENABLE_TRACING:-false}
|
||||
|
||||
# enable Kubernetes-CSI snapshotter
|
||||
ENABLE_CSI_SNAPSHOTTER=${ENABLE_CSI_SNAPSHOTTER:-false}
|
||||
@@ -753,7 +754,7 @@ staticPodPath: "${POD_MANIFEST_PATH}"
|
||||
resolvConf: "${KUBELET_RESOLV_CONF}"
|
||||
EOF
|
||||
|
||||
if [[ "$FEATURE_GATES" == *KubeletTracing=true* ]]; then
|
||||
if [[ "$ENABLE_TRACING" = true ]]; then
|
||||
cat <<EOF >> "${TMP_DIR}"/kubelet.yaml
|
||||
tracing:
|
||||
endpoint: localhost:4317 # the default value
|
||||
|
Reference in New Issue
Block a user