Class DeploymentFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.kubernetes.operator.exception.DeploymentFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class DeploymentFailedException extends java.lang.RuntimeException
Exception to signal terminal deployment failure.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REASON_CRASH_LOOP_BACKOFF
static java.lang.String
REASON_ERR_IMAGE_PULL
static java.lang.String
REASON_IMAGE_PULL_BACKOFF
-
Constructor Summary
Constructors Constructor Description DeploymentFailedException(io.fabric8.kubernetes.api.model.apps.DeploymentCondition deployCondition)
DeploymentFailedException(io.fabric8.kubernetes.api.model.ContainerStateWaiting stateWaiting)
DeploymentFailedException(java.lang.String message, java.lang.String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReason()
-
-
-
Field Detail
-
REASON_CRASH_LOOP_BACKOFF
public static final java.lang.String REASON_CRASH_LOOP_BACKOFF
- See Also:
- Constant Field Values
-
REASON_IMAGE_PULL_BACKOFF
public static final java.lang.String REASON_IMAGE_PULL_BACKOFF
- See Also:
- Constant Field Values
-
REASON_ERR_IMAGE_PULL
public static final java.lang.String REASON_ERR_IMAGE_PULL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeploymentFailedException
public DeploymentFailedException(io.fabric8.kubernetes.api.model.apps.DeploymentCondition deployCondition)
-
DeploymentFailedException
public DeploymentFailedException(io.fabric8.kubernetes.api.model.ContainerStateWaiting stateWaiting)
-
DeploymentFailedException
public DeploymentFailedException(java.lang.String message, java.lang.String reason)
-
-