mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 08:51:59 +02:00
better backwards compatibility with old DNS name format for LBs (#2171)
* better backwards compatibility with legacy DNS name format for LBs * improve docs on DNS string
This commit is contained in:
@@ -627,22 +627,47 @@ In the CRD-based configuration they are grouped under the `load_balancer` key.
|
||||
the cluster. Can be overridden by individual cluster settings. The default
|
||||
is `false`.
|
||||
|
||||
* **external_traffic_policy** defines external traffic policy for load
|
||||
* **external_traffic_policy**
|
||||
defines external traffic policy for load
|
||||
balancers. Allowed values are `Cluster` (default) and `Local`.
|
||||
|
||||
* **master_dns_name_format** defines the DNS name string template for the
|
||||
master load balancer cluster. The default is
|
||||
`{cluster}.{namespace}.{hostedzone}`, where `{cluster}` is replaced by the cluster
|
||||
name, `{namespace}` is replaced with the namespace and `{hostedzone}` is replaced
|
||||
with the hosted zone (the value of the `db_hosted_zone` parameter). No other
|
||||
placeholders are allowed.
|
||||
* **master_dns_name_format**
|
||||
defines the DNS name string template for the master load balancer cluster.
|
||||
The default is `{cluster}.{namespace}.{hostedzone}`, where `{cluster}` is
|
||||
replaced by the cluster name, `{namespace}` is replaced with the namespace
|
||||
and `{hostedzone}` is replaced with the hosted zone (the value of the
|
||||
`db_hosted_zone` parameter). The `{team}` placeholder can still be used,
|
||||
although it is not recommened because the team of a cluster can change.
|
||||
If the cluster name starts with the `teamId` it will also be part of the
|
||||
DNS, aynway. No other placeholders are allowed!
|
||||
|
||||
* **replica_dns_name_format** defines the DNS name string template for the
|
||||
replica load balancer cluster. The default is
|
||||
`{cluster}-repl.{namespace}.{hostedzone}`, where `{cluster}` is replaced by the
|
||||
cluster name, `{namespace}` is replaced with the namespace and `{hostedzone}` is
|
||||
replaced with the hosted zone (the value of the `db_hosted_zone` parameter).
|
||||
No other placeholders are allowed.
|
||||
* **master_legacy_dns_name_format**
|
||||
*deprecated* default master DNS template `{cluster}.{team}.{hostedzone}` as
|
||||
of pre `v1.9.0`. If cluster name starts with `teamId` then a second DNS
|
||||
entry will be created using the template defined here to provide backwards
|
||||
compatibility. The `teamId` prefix will be extracted from the clustername
|
||||
because it follows later in the DNS string. When using a customized
|
||||
`master_dns_name_format` make sure to define the legacy DNS format when
|
||||
switching to v1.9.0.
|
||||
|
||||
* **replica_dns_name_format**
|
||||
defines the DNS name string template for the replica load balancer cluster.
|
||||
The default is `{cluster}-repl.{namespace}.{hostedzone}`, where `{cluster}`
|
||||
is replaced by the cluster name, `{namespace}` is replaced with the
|
||||
namespace and `{hostedzone}` is replaced with the hosted zone (the value of
|
||||
the `db_hosted_zone` parameter). The `{team}` placeholder can still be used,
|
||||
although it is not recommened because the team of a cluster can change.
|
||||
If the cluster name starts with the `teamId` it will also be part of the
|
||||
DNS, aynway. No other placeholders are allowed!
|
||||
|
||||
* **replica_legacy_dns_name_format**
|
||||
*deprecated* default master DNS template `{cluster}-repl.{team}.{hostedzone}`
|
||||
as of pre `v1.9.0`. If cluster name starts with `teamId` then a second DNS
|
||||
entry will be created using the template defined here to provide backwards
|
||||
compatibility. The `teamId` prefix will be extracted from the clustername
|
||||
because it follows later in the DNS string. When using a customized
|
||||
`master_dns_name_format` make sure to define the legacy DNS format when
|
||||
switching to v1.9.0.
|
||||
|
||||
## AWS or GCP interaction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user