mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-07 01:56:57 +02:00
update the document for Tencent provider.
This commit is contained in:
parent
6d92c8619c
commit
b36d06482d
@ -1,7 +1,7 @@
|
|||||||
# Setting up ExternalDNS for Tencent Cloud
|
# Setting up ExternalDNS for Tencent Cloud
|
||||||
|
|
||||||
## External Dns Version
|
## External Dns Version
|
||||||
* Make sure to use **>=1.7.2** version of ExternalDNS for this tutorial
|
* Make sure to use **>=0.13.1** version of ExternalDNS for this tutorial
|
||||||
|
|
||||||
## Set up PrivateDns or DNSPod
|
## Set up PrivateDns or DNSPod
|
||||||
|
|
||||||
@ -101,7 +101,8 @@ data:
|
|||||||
"regionId": "ap-shanghai",
|
"regionId": "ap-shanghai",
|
||||||
"secretId": "******",
|
"secretId": "******",
|
||||||
"secretKey": "******",
|
"secretKey": "******",
|
||||||
"vpcId": "vpc-******"
|
"vpcId": "vpc-******",
|
||||||
|
"internetEndpoint": false # Default: false. Access the Tencent API through the intranet. If you need to deploy on the public network, you need to change to true
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@ -128,7 +129,7 @@ spec:
|
|||||||
- --policy=sync # set `upsert-only` would prevent ExternalDNS from deleting any records
|
- --policy=sync # set `upsert-only` would prevent ExternalDNS from deleting any records
|
||||||
- --tencent-cloud-zone-type=private # only look at private hosted zones. set `public` to use the public dns service.
|
- --tencent-cloud-zone-type=private # only look at private hosted zones. set `public` to use the public dns service.
|
||||||
- --tencent-cloud-config-file=/etc/kubernetes/tencent-cloud.json
|
- --tencent-cloud-config-file=/etc/kubernetes/tencent-cloud.json
|
||||||
image: k8s.gcr.io/external-dns/external-dns:v1.7.2
|
image: registry.k8s.io/external-dns/external-dns:v0.13.1
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: external-dns
|
name: external-dns
|
||||||
resources: {}
|
resources: {}
|
||||||
@ -139,6 +140,11 @@ spec:
|
|||||||
name: config-volume
|
name: config-volume
|
||||||
readOnly: true
|
readOnly: true
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
|
hostAliases:
|
||||||
|
- hostnames:
|
||||||
|
- privatedns.internal.tencentcloudapi.com
|
||||||
|
- dnspod.internal.tencentcloudapi.com
|
||||||
|
ip: 169.254.0.95
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
schedulerName: default-scheduler
|
||||||
securityContext: {}
|
securityContext: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user