The Kubernetes API is a RESTful HTTP API, based on client-server architecture. In this hands-on lab, you’ll demonstrate the Kubernetes API server’s availability to standard client requests through use of the command-line web browser `curl`.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Gather Pod Information
Discover the available pods and the specific pod name requested.
- Set Up and Run the curl Command
Execute the
curl
command, outputting the response to a JSON-formatted file.- Review Output File
Confirm that the file has been created and contains the appropriate information.