Usage Scenario
Having just discovered which kind of objects you can create in Kubernetes, let's find out how to interact with the Kubernetes API to create, update, and delete these objects. For this, you will use the kubectl command-line tool, which is the primary way to interact with the Kubernetes API.
What is kubectl?
To interact with the Kubernetes API, you need a client. The Kubernetes API is a REST API, which means that you can interact with it using any HTTP client. Since, you typically also have to deal with authentication and authorization, it is much easier to use a dedicated client like kubectl.