mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Log kubefed operations at log level 4 in our test environments.
This is useful for debugging test failures that involve federation control plane turn up/down.
This commit is contained in:
parent
17b22cb01c
commit
47de152365
@ -52,7 +52,8 @@ function unjoin_clusters() {
|
||||
"${context}" \
|
||||
--federation-system-namespace=${FEDERATION_NAMESPACE} \
|
||||
--context="${FEDERATION_KUBE_CONTEXT}" \
|
||||
--host-cluster-context="${HOST_CLUSTER_CONTEXT}"
|
||||
--host-cluster-context="${HOST_CLUSTER_CONTEXT}" \
|
||||
--v=4
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,8 @@ function init() {
|
||||
--apiserver-enable-basic-auth=true \
|
||||
--apiserver-enable-token-auth=true \
|
||||
--apiserver-arg-overrides="--v=4" \
|
||||
--controllermanager-arg-overrides="--v=4"
|
||||
--controllermanager-arg-overrides="--v=4" \
|
||||
--v=4
|
||||
}
|
||||
|
||||
# join_clusters joins the clusters in the local kubeconfig to federation. The clusters
|
||||
@ -107,7 +108,8 @@ function join_clusters() {
|
||||
"${context}" \
|
||||
--federation-system-namespace=${FEDERATION_NAMESPACE} \
|
||||
--host-cluster-context="${HOST_CLUSTER_CONTEXT}" \
|
||||
--context="${FEDERATION_KUBE_CONTEXT}"
|
||||
--context="${FEDERATION_KUBE_CONTEXT}" \
|
||||
--v=4
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user