Skip to content

Glossary: Kubernetes Beyond the Basics

restartPolicy

Also written: OnFailure, Never

A pod setting for what happens when a container ends. Jobs use `Never` (a new pod is made) or `OnFailure` (the container restarts in the same pod); `Always` isn't allowed.

Where the book teaches it

Related terms

JobbackoffLimit