Additional instance identity properties
Each ADS instance has a unique identity that aids in distinguishing it from other instances. By default, ADS automatically generates this identity using the following format:
default-<xxxxxxxx>
The ID consists of the following:
default-is a constant prefix.<xxxxxxxx>is a randomly generated 8-digit hexadecimal string.This random part is regenerated every time the ADS service restarts, ensuring that each ADS instance has a unique identity.
However, you can customize the ADS instance identity by either setting a constant identity, or by defining a prefix proceeding the random generated part. In order to do this, you have to add the identity section in the deployment.yaml file and set one of the following options:
- Constant identity
- Prefix identity
This option will set ADS to have a constant value as an identity.
identity:
constant: <constant-value>
This constant ID will not change across restarts of the ADS service.
This option generates an identity that has your custom string prefix to precede the randomly generated part.
identity:
prefix: <your-custom-prefix>
The random section of the ID is updated during each restart of the ADS service. This will create identities in the following format:
your-custom-prefix-<xxxxxxxx>
The value of the constant and prefix properties can include any alphanumeric character and/or the '-' and '_' characters. However, the length of the constant or the prefix should not exceed 100 characters.