mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 08:09:58 +00:00
Merge pull request #114180 from saschagrunert/tracing-local-up-cluster
Tracing: sample always in `hack/local-up-cluster.sh`
This commit is contained in:
commit
01e6efcc37
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user