A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
5.3 The API Endpoint
The snippet from this slide suggests us to ssh the minikube VM then to curl the API.
When I tried this I ran into the issue that minikube VM doesn't come with curl.
After looking at some docs, I took another approach (and write this here in case other student wonder how to curl the API)
From my host machine, I ran
kubectl proxy --port=8080 --api-prefix=/
To proxy the api endpoints on my localhost
I'm now able to curl the api with
curl http://localhost:8080/apis | jq curl http://localhost:8080/api curl http://localhost:8080/api/va
Hope this might save some time to other students with the same issue.