Purge cluster/kubectl.sh from nearly all docs.

Mark cluster/kubectl.sh as deprecated.
This commit is contained in:
Brendan Burns
2015-06-05 14:50:11 -07:00
parent 6a979704b7
commit 9e198a6ed9
22 changed files with 149 additions and 140 deletions

View File

@@ -18,6 +18,17 @@ set -o errexit
set -o nounset
set -o pipefail
echo "-=-=-=-=-=-=-=-=-=-="
echo "NOTE:"
echo "kubectl.sh is deprecated and will be removed soon."
echo "please replace all usage with calls to the kubectl"
echo "binary and ensure that it is in your PATH."
echo ""
echo "Please see 'kubectl help config' for more details"
echo "about configuring kubectl for your cluster."
echo "-=-=-=-=-=-=-=-=-=-="
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/cluster/kube-env.sh"
UTILS=${KUBE_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh