v1 · Namespaced Resource

Pod

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

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'

Tired of using Kubectl? 😓

Experience hassle-free Kubernetes management with a powerful GUI.

Screenshot of Aptakube showing a list of pods from 2 clusters in a single view