Merge pull request #114180 from saschagrunert/tracing-local-up-cluster

Tracing: sample always in `hack/local-up-cluster.sh`
This commit is contained in:
Kubernetes Prow Robot
2022-12-10 07:53:48 -08:00
committed by GitHub

View File

@@ -753,6 +753,15 @@ runtimeRequestTimeout: "${RUNTIME_REQUEST_TIMEOUT}"
staticPodPath: "${POD_MANIFEST_PATH}"
resolvConf: "${KUBELET_RESOLV_CONF}"
EOF
if [[ "$FEATURE_GATES" == *KubeletTracing=true* ]]; then
cat <<EOF >> /tmp/kubelet.yaml
tracing:
endpoint: localhost:4317 # the default value
samplingRatePerMillion: 1000000 # sample always
EOF
fi
{
# authentication
echo "authentication:"