Pod Manifest Files
Inspect a Pod manifest.
We'll cover the following...
Introduction to Pod manifest files
Let’s see our first Pod manifest. This is the pod.yml
file from the pods
folder.
Press + to interact
kind: PodapiVersion: v1metadata:name: hello-podlabels:zone: prodversion: v1spec:containers:- name: hello-ctrimage: nigelpoulton/k8sbook:1.0ports:- containerPort: 8080resources:limits:memory: 128Micpu: 0.5
It’s a simple example, but straight away, we can see four top-level fields: kind
, ...