openfaas / workshop

Learn Serverless for Kubernetes with OpenFaaS
https://www.openfaas.com
MIT License
957 stars 313 forks source link

Lab 1 Invalid curl url to install kubectl on Mac #171

Closed brp-magnusd closed 4 years ago

brp-magnusd commented 4 years ago

Expected Behaviour

Copy paste the commands to install kubectl into a terminal should work on MacOS.

Current Behaviour

The url to kubectl is incorrect so chmod will fail as the kubctl-file does not exist.

Possible Solution

Remove .exe in curl -LO https://storage.googleapis.com/kubernetes-release/release/$VER/bin/darwin/amd64/kubectl.exe will fix the problem.

Steps to Reproduce (for bugs)

  1. Copy paste the commands to install kubectl into a terminal on MacOS.

Context

Your Environment

MacOS

alexellis commented 4 years ago

Thank you