Revert "Refactored kubemark into cloud-provider independent code and GCE specific code"

This commit is contained in:
Wojciech Tyczynski
2017-01-24 10:42:17 +01:00
committed by GitHub
parent bcc1dc5c15
commit fbd5c7c380
12 changed files with 361 additions and 522 deletions

View File

@@ -14,7 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This script assumes that kubectl binary is present in PATH.
curl https://sdk.cloud.google.com 2> /dev/null | bash
sudo gcloud components update kubectl -q
sudo ln -s /usr/local/share/google/google-cloud-sdk/bin/kubectl /bin/
kubectl config set-cluster hollow-cluster --server=http://localhost:8080 --insecure-skip-tls-verify=true
kubectl config set-credentials $(whoami)
kubectl config set-context hollow-context --cluster=hollow-cluster --user=$(whoami)