Kubespec Logo kubespec.dev

v1 · Cluster Resource

Pod

        Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
      

Click on Property Name to see the description, and Pink Types to expand schema.

Looking for some examples?

There are 3 examples of Pod that you can use as a starting point to create your own.

apiVersion: v1
kind: Pod
metadata:
  name: sleep
  namespace: default # Pod is a namespaced a resource
spec:
  containers:
    - name: pods-sleep
      image: busybox
      command:
        - sleep
        - '3600'

Other useful resources