Creating a Pod
POST {{kube-api-server}}/api/v1/namespaces/default/pods?fieldManager=kubectl-client-side-apply
Pod
In Kubernetes, pods are a group of containers and also the smallest deployable unit. Pod will define the configuration that is required to create the app container.

Let's create a pod for dobby now. You should find the configuration as json in the request body. We have created a collection variable called project-name, this variable is going to be used throughout the collection while creating resources, so it made perfect sense to extract it.
Feel free to rename the variable, if you like. Let's head over to the request body again. You will find fields like metadata name - name of the pod, and labels. We'll discuss how labels are useful in the subsequent requests. If you scroll below to the spec you will also find the image that we are using for the containers and the port the app is supposed to run on.
Press Send! There will be a lot of details in the response body, keep an eye on the Visualization tab for a sneak peek. You should see a message like in the picture.

Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fieldManager | string |
Request Body
{"apiVersion"=>"v1", "kind"=>"Pod", "metadata"=>{"name"=>"{{project-name}}-pod", "labels"=>{"app"=>"{{project-name}}-pod"}}, "spec"=>{"containers"=>[{"name"=>"{{project-name}}-container", "image"=>"thecasualcoder/dobby", "ports"=>[{"containerPort"=>4444}]}]}}