在云端和本地基础设施上构建、部署和管理您的应用程序
公有云中的单租户高可用性 Kubernetes 集群
开发人员在公有云中构建、托管和扩展应用程序的最快方式
外部 DNS 操作符包含以下配置参数。
外部 DNS 操作符包含以下配置参数
spec
启用云提供商的类型。
spec: provider: type: AWS (1) aws: credentials: name: aws-access-key (2)
zones
允许您通过其域名指定 DNS 区域。如果您未指定区域,则ExternalDNS资源会发现云提供商帐户中存在的所有区域。
ExternalDNS
zones: - "myzoneid" (1)
domains
允许您通过其域名指定 AWS 区域。如果您未指定域,则ExternalDNS资源会发现云提供商帐户中存在的所有区域。
domains: - filterType: Include (1) matchType: Exact (2) name: "myzonedomain1.com" (3) - filterType: Include matchType: Pattern (4) pattern: ".*\\.otherzonedomain\\.com" (5)
regex-domain-filter
source
允许您指定 DNS 记录的来源,Service或Route。
Service
Route
source: (1) type: Service (2) service: serviceType:(3) - LoadBalancer - ClusterIP labelFilter: (4) matchLabels: external-dns.mydomain.org/publish: "yes" hostnameAnnotation: "Allow" (5) fqdnTemplate: - "{{.Name}}.myzonedomain.com" (6)
service-type-filter
serviceType
default: LoadBalancer
default
LoadBalancer
expected: ClusterIP
expected
ClusterIP
NodePort
ExternalName
hostnameAnnotation
Ignore
fqdnTemplates
Allow
external-dns.alpha.kubernetes.io/hostname
source: type: OpenShiftRoute (1) openshiftRouteOptions: routerName: default (2) labelFilter: matchLabels: external-dns.mydomain.org/publish: "yes"
OpenShiftRoute