You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/flags.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,7 @@
107
107
|`--inmemory-zone=`| Provide a list of pre-configured zones for the inmemory provider; specify multiple times for multiple zones (optional) |
108
108
|`--ovh-endpoint="ovh-eu"`| When using the OVH provider, specify the endpoint (default: ovh-eu) |
109
109
|`--ovh-api-rate-limit=20`| When using the OVH provider, specify the API request rate limit, X operations by seconds (default: 20) |
110
+
|`--[no-]ovh-enable-cname-relative`| When using the OVH provider, specify if CNAME should be treated as relative on target without final dot (default: false) |
110
111
|`--pdns-server="http://localhost:8081"`| When using the PowerDNS/PDNS provider, specify the URL to the pdns server (required when --provider=pdns) |
111
112
|`--pdns-server-id="localhost"`| When using the PowerDNS/PDNS provider, specify the id of the server to retrieve. Should be `localhost` except when the server is behind a proxy (optional when --provider=pdns) (default: localhost) |
112
113
|`--pdns-api-key=""`| When using the PowerDNS/PDNS provider, specify the API key to use to authorize requests (required when --provider=pdns) |
Copy file name to clipboardExpand all lines: docs/tutorials/ovh.md
+18-13Lines changed: 18 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,31 @@
1
1
# OVHcloud
2
2
3
3
This tutorial describes how to setup ExternalDNS for use within a
4
-
Kubernetes cluster using OVH DNS.
4
+
Kubernetes cluster using OVHcloud DNS.
5
5
6
6
Make sure to use **>=0.6** version of ExternalDNS for this tutorial.
7
7
8
-
## Creating a zone with OVH DNS
8
+
## Creating a zone with OVHcloud DNS
9
9
10
-
If you are new to OVH, we recommend you first read the following
10
+
If you are new to OVHcloud, we recommend you first read the following
11
11
instructions for creating a zone.
12
12
13
-
[Creating a zone using the OVH manager](https://docs.ovh.com/gb/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/)
13
+
[Creating a zone using the OVHcloud Manager](https://help.ovhcloud.com/csm/en-gb-dns-create-dns-zone?id=kb_article_view&sysparm_article=KB0051667/)
14
14
15
-
[Creating a zone using the OVH API](https://api.ovh.com/console/)
15
+
[Creating a zone using the OVHcloud API](https://api.ovh.com/console/)
16
16
17
-
## Creating OVH Credentials
17
+
## Creating OVHcloud Credentials
18
18
19
-
You first need to create an OVH application.
20
-
21
-
Using the [OVH documentation](https://docs.ovh.com/gb/en/api/first-steps-with-ovh-api/#advanced-usage-pair-ovhcloud-apis-with-an-application_2) you will have your `Application key` and `Application secret`
19
+
You first need to create an OVHcloud application: follow the
Verify that the annotation on the service uses the same hostname as the OVH DNS zone created above. The annotation may also be a subdomain of the DNS zone (e.g. 'www.example.com').
231
+
Verify that the annotation on the service uses the same hostname as the OVHcloud DNS zone created above. The annotation may also be a subdomain of the DNS zone (e.g. 'www.example.com').
227
232
228
233
The TTL annotation can be used to configure the TTL on DNS records managed by ExternalDNS and is optional. If this annotation is not set, the TTL on records managed by ExternalDNS will default to 10.
229
234
@@ -235,11 +240,11 @@ ExternalDNS uses the hostname annotation to determine which services should be r
235
240
kubectl create -f nginx.yaml
236
241
```
237
242
238
-
Depending on where you run your service, it may take some time for your cloud provider to create an external IP for the service. Once an external IP is assigned, ExternalDNS detects the new service IP address and synchronizes the OVH DNS records.
243
+
Depending on where you run your service, it may take some time for your cloud provider to create an external IP for the service. Once an external IP is assigned, ExternalDNS detects the new service IP address and synchronizes the OVHcloud DNS records.
239
244
240
-
## Verifying OVH DNS records
245
+
## Verifying OVHcloud DNS records
241
246
242
-
Use the OVH manager or API to verify that the A record for your domain shows the external IP address of the services.
247
+
Use the OVHcloud manager or API to verify that the A record for your domain shows the external IP address of the services.
app.Flag("inmemory-zone", "Provide a list of pre-configured zones for the inmemory provider; specify multiple times for multiple zones (optional)").Default("").StringsVar(&cfg.InMemoryZones)
545
547
app.Flag("ovh-endpoint", "When using the OVH provider, specify the endpoint (default: ovh-eu)").Default(defaultConfig.OVHEndpoint).StringVar(&cfg.OVHEndpoint)
546
548
app.Flag("ovh-api-rate-limit", "When using the OVH provider, specify the API request rate limit, X operations by seconds (default: 20)").Default(strconv.Itoa(defaultConfig.OVHApiRateLimit)).IntVar(&cfg.OVHApiRateLimit)
549
+
app.Flag("ovh-enable-cname-relative", "When using the OVH provider, specify if CNAME should be treated as relative on target without final dot (default: false)").Default(strconv.FormatBool(defaultConfig.OVHEnableCNAMERelative)).BoolVar(&cfg.OVHEnableCNAMERelative)
547
550
app.Flag("pdns-server", "When using the PowerDNS/PDNS provider, specify the URL to the pdns server (required when --provider=pdns)").Default(defaultConfig.PDNSServer).StringVar(&cfg.PDNSServer)
548
551
app.Flag("pdns-server-id", "When using the PowerDNS/PDNS provider, specify the id of the server to retrieve. Should be `localhost` except when the server is behind a proxy (optional when --provider=pdns) (default: localhost)").Default(defaultConfig.PDNSServerID).StringVar(&cfg.PDNSServerID)
549
552
app.Flag("pdns-api-key", "When using the PowerDNS/PDNS provider, specify the API key to use to authorize requests (required when --provider=pdns)").Default(defaultConfig.PDNSAPIKey).StringVar(&cfg.PDNSAPIKey)
0 commit comments