KubernetesPodsOn this pagePodsCreate a pod (declarative) kubectl run nginx --image=nginx Create a pod and a ClusterIP service (declarative) kubectl run nginx --image=nginx --port=80 --expose Notes: expose flag creates a service.