affinityAndTolerations parameter
The
affinityAndTolerations parameter is an array and is used to define a
list of affinity and toleration spec.
The server can refer affinityAndTolerations by using the group name. For more
information on configuring affinityAndTolerations, see affinity and toleration.
The following .yaml snippet is a sample schema of affinityAndTolerations:
affinityAndTolerations:
- name: ""
# affinity: <kubernetes-affinity-spec>
# tolerations:
# - <kubernetes-toleration-spec>
The following table explains the attributes applicable for
affinityAndTolerations of SIPEnvironment.
| Property | Default value | Value type | Required | Description |
|---|---|---|---|---|
name |
string | Yes | Specify the affinityAndTolerations group name. |
|
affinity |
object | No | For more information, see affinity. | |
tolerations |
array | No | For more information, see tolerations. | |
|
Note: The servers or resources that are without
affinityAndTolerations defined,
inherit the affinityAndTolerations configurations specified in the default
name. |
||||