mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 09:36:58 +02:00
commit
8d06c84ac4
@ -57,7 +57,7 @@ Then apply one of the following manifests file to deploy ExternalDNS.
|
|||||||
|
|
||||||
Create a values.yaml file to configure ExternalDNS to use CloudFlare as the DNS provider. This file should include the necessary environment variables:
|
Create a values.yaml file to configure ExternalDNS to use CloudFlare as the DNS provider. This file should include the necessary environment variables:
|
||||||
|
|
||||||
```shell
|
```yaml
|
||||||
provider:
|
provider:
|
||||||
name: cloudflare
|
name: cloudflare
|
||||||
env:
|
env:
|
||||||
@ -75,7 +75,7 @@ env:
|
|||||||
|
|
||||||
Use this in your values.yaml, if you are using API Token:
|
Use this in your values.yaml, if you are using API Token:
|
||||||
|
|
||||||
```shell
|
```yaml
|
||||||
provider:
|
provider:
|
||||||
name: cloudflare
|
name: cloudflare
|
||||||
env:
|
env:
|
||||||
@ -270,7 +270,7 @@ will cause ExternalDNS to remove the corresponding DNS records.
|
|||||||
|
|
||||||
Create the deployment and service:
|
Create the deployment and service:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
$ kubectl create -f nginx.yaml
|
$ kubectl create -f nginx.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ This should show the external IP address of the service as the A record for your
|
|||||||
|
|
||||||
Now that we have verified that ExternalDNS will automatically manage Cloudflare DNS records, we can delete the tutorial's example:
|
Now that we have verified that ExternalDNS will automatically manage Cloudflare DNS records, we can delete the tutorial's example:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
$ kubectl delete -f nginx.yaml
|
$ kubectl delete -f nginx.yaml
|
||||||
$ kubectl delete -f externaldns.yaml
|
$ kubectl delete -f externaldns.yaml
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user