Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeJobOptions ¶
type NodeJobOptions struct {
// Environment variables to set in the container.
Env []corev1.EnvVar
// Backoff limit for the job, i.e. how many times to retry the job if it fails.
JobBackoffLimit *int32
// Restart policy for the container. Should be RestartPolicyNever for the JobBackoffLimit to work correctly.
ContainerRestartPolicy corev1.RestartPolicy
}
NodeJobOptions customizes a node Job (env vars, backoff, restart policy).
Click to show internal directories.
Click to hide internal directories.