FahamLah

Commands

kubectl run

kubectl run <name> --image=<image> [-- command …]

Risk: Careful

What it does

Starts one lone pod. Nothing replaces it if it goes.

When to use it

For a quick test pod, not for your app.

Example

$ kubectl run tray --image=nginx:1.29-alpine

One tray, no manager.