|
| 1 | +:_content-type: ASSEMBLY |
| 2 | +[id="ingress-controller-dnsmgt"] |
| 3 | += Configuring an Ingress Controller for manual DNS Management |
| 4 | +include::_attributes/common-attributes.adoc[] |
| 5 | +:context: ingress-controller-dnsmgt |
| 6 | + |
| 7 | +toc::[] |
| 8 | + |
| 9 | +As a cluster administrator, when you create an Ingress Controller, the Operator manages the DNS records automatically. This has some limitations when the required DNS zone is different from the cluster DNS zone or when the DNS zone is hosted outside the cloud provider. |
| 10 | + |
| 11 | +As a cluster administrator, you can configure an Ingress Controller to stop automatic DNS management and start manual DNS management. Set `dnsManagementPolicy` to specify when it should be automatically or manually managed. |
| 12 | + |
| 13 | +When you change an Ingress Controller from `Managed` to `Unmanaged` DNS management policy, the Operator does not clean up the previous wildcard DNS record provisioned on the cloud. |
| 14 | +When you change an Ingress Controller from `Unmanaged` to `Managed` DNS management policy, the Operator attempts to create the DNS record on the cloud provider if it does not exist or updates the DNS record if it already exists. |
| 15 | + |
| 16 | +[IMPORTANT] |
| 17 | +==== |
| 18 | +When you set `dnsManagementPolicy` to `unmanaged`, you have to manually manage the lifecycle of the wildcard DNS record on the cloud provider. |
| 19 | +==== |
| 20 | + |
| 21 | +== `Managed` DNS management policy |
| 22 | +The `Managed` DNS management policy for Ingress Controllers ensures that the lifecycle of the wildcard DNS record on the cloud provider is automatically managed by the Operator. |
| 23 | + |
| 24 | +== `Unmanaged` DNS management policy |
| 25 | +The `Unmanaged` DNS management policy for Ingress Controllers ensures that the lifecycle of the wildcard DNS record on the cloud provider is not automatically managed, instead it becomes the responsibility of the cluster administrator. |
| 26 | + |
| 27 | +[NOTE] |
| 28 | +==== |
| 29 | +On the AWS cloud platform, if the domain on the Ingress Controller does not match with `dnsConfig.Spec.BaseDomain` then the DNS management policy is automatically set to `Unmanaged`. |
| 30 | +==== |
| 31 | + |
| 32 | +include::modules/creating-a-custom-ingress-controller.adoc[leveloffset=+1] |
| 33 | + |
| 34 | +include::modules/modifying-an-existing-ingress-controller.adoc[leveloffset=+1] |
| 35 | + |
| 36 | + |
| 37 | +[role="_additional-resources"] |
| 38 | +[id="configuring-ingress-controller-dns-management-additional-resources"] |
| 39 | +== Additional resources |
| 40 | +* xref:../networking/ingress-operator.adoc#nw-ingress-controller-configuration-parameters_configuring-ingress[Ingress Controller configuration parameters] |
0 commit comments