public enum PolicyControllerDeploymentConfig.Affinity extends Enum<PolicyControllerDeploymentConfig.Affinity> implements ProtocolMessageEnum
The pod affinity configuration used by a deployment.
Protobuf enum
google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
AFFINITY_UNSPECIFIED |
No affinity configuration has been specified. |
AFFINITY_UNSPECIFIED_VALUE |
No affinity configuration has been specified. |
ANTI_AFFINITY |
Anti-affinity configuration will be applied to this deployment. Default for admissions deployment. |
ANTI_AFFINITY_VALUE |
Anti-affinity configuration will be applied to this deployment. Default for admissions deployment. |
NO_AFFINITY |
Affinity configurations will be removed from the deployment. |
NO_AFFINITY_VALUE |
Affinity configurations will be removed from the deployment. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |