From 47de152365702c678a6bedb32ef7f471839b1bda Mon Sep 17 00:00:00 2001 From: "Madhusudan.C.S" Date: Thu, 18 May 2017 16:57:44 -0700 Subject: [PATCH] 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. --- federation/cluster/federation-down.sh | 3 ++- federation/cluster/federation-up.sh | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/federation/cluster/federation-down.sh b/federation/cluster/federation-down.sh index f3f71b2ae26..be91e974f60 100755 --- a/federation/cluster/federation-down.sh +++ b/federation/cluster/federation-down.sh @@ -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 } diff --git a/federation/cluster/federation-up.sh b/federation/cluster/federation-up.sh index b5c120353a1..62efca9cdfc 100755 --- a/federation/cluster/federation-up.sh +++ b/federation/cluster/federation-up.sh @@ -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 }