Merge pull request #114180 from saschagrunert/tracing-local-up-cluster
Tracing: sample always in `hack/local-up-cluster.sh`
This commit is contained in:
@@ -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:"
|
||||
|
Reference in New Issue
Block a user