| Interface | Description |
|---|---|
| ConfigValidator<C extends Configuration> |
The
ConfigurationValidation interface should be implemented by any class which intends to
validate a new Configuration, either on its own, or w.r.t. |
| Class | Description |
|---|---|
| ConfigValidationError |
Signals that a certain configuration value, or transition between two configurations, did not
pass validation.
|
| DefaultConfigValidators |
Catalog of
ConfigValidators to be enabled in services by default. |
| DomainCapabilityValidator |
This validator enforces that zones and regions are only referenced by placement rules when the cluster can
provide this information in
org.apache.mesos.Protos.DomainInfos. |
| PodSpecsCannotChangeNetworkRegime |
Validates that pods do not move from a virtual network that does not use port mapping (and thus ignores the ports
as Mesos resources) to a network (virtual or Host) that does use the ports on the host machine.
|
| PodSpecsCannotShrink |
Configuration validator which validates that a ServiceSpecification's number of PodSpecs
and number of tasks within those PodSpecs never go down.
|
| PodSpecsCannotUseUnsupportedFeatures |
This class contains logic for validating that a
ServiceSpec only requires features supported by the DC/OS
cluster being run on. |
| PreReservationCannotChange |
Validates that the pre-reserved-role of a Pod cannot change.
|
| ServiceNameCannotContainDoubleUnderscores |
Sample configuration validator which validates that a ServiceSpecification's number of PodSpecs
and number of tasks within those PodSpecs never go down.
|
| TaskEnvCannotChange |
Customizable configuration validator which requires that a specified task environment variable cannot be changed
after initial deployment.
|
| TaskVolumesCannotChange |
Validates that each TaskSpecification's volumes have not been modified.
|
| TLSRequiresServiceAccount |
A
TLSRequiresServiceAccount checks whether the configuration contains provisioning of TLS artifacts
and whether the provided SchedulerConfig contains a service account. |
| UserCannotChange |
Configuration validator which validates that a
ServiceSpec's user
cannot change between deployments. |
| Enum | Description |
|---|---|
| TaskEnvCannotChange.Rule |
Variances to how enforcement should be performed.
|