apiVersion: v1
kind: Pod
metadata:
name: web
spec:
containers:
- name: web
image: nginx:1.27
ports:
- containerPort: 80
kubectl apply -f pod.yaml
kubectl get pods -o wide — which node, which IPkubectl describe pod web — events, status, why it's stuckkubectl logs web — the container's outputkubectl exec -it web -- bash — a shell inside