Support for External DNS names #211
Labels
area/controller
Issue related to the operator controller
kind/enhancement
Enhancement of an existing feature
pravega version 0.6.0
priority/P1
Recoverable error, functionality/performance impaired but not lost, no permanent damage
version 0.4.0
Issue with Operator 0.4.0
Description
The goal is to assign an external DNS name to each segment store, compatible with the External-DNS component. Given a domain suffix for the cluster, each segment store should be assigned a reasonable name, e.g.
<name>.<domain>
where<name>
is the segment store pod name, and<domain>
is a value provided by thePravegaCluster
spec. The assigned name should become the 'advertised' address of the segment store for use by the Pravega client.The motivation is to support TLS connections to segment store with hostname verification enabled. Related to pravega/pravega#3899.
Suggestions for an improvement
Approach:
PravegaCluster
spec, e.g.ingress/domain
.Service
for a givenSegmentStore
, compute an FQDN as follows:<name>.<domain>.
(note the period after the suffix).annotation
on theService
resource. The annotation should have the keyexternal-dns.alpha.kubernetes.io/hostname
, to be compatible with the External-DNS component.The expected result is:
The text was updated successfully, but these errors were encountered: