This is a cache of https://docs.okd.io/4.10/networking/external_dns_operator/understanding-external-dns-operator.html. It is a snapshot of the page at 2024-11-17T22:02:05.386+0000.
Understanding the External <strong>dns</strong> Operator - External <strong>dns</strong> Operator | Networking | OKD 4.10
×

The External dns Operator deploys and manages Externaldns to provide the name resolution for services and routes from the external dns provider to OKD.

External dns Operator

The External dns Operator implements the External dns API from the olm.openshift.io API group. The External dns Operator deploys the Externaldns using a deployment resource. The Externaldns deployment watches the resources such as services and routes in the cluster and updates the external dns providers.

Procedure

You can deploy the Externaldns Operator on demand from the OperatorHub, this creates a Subscription object.

  1. Check the name of an install plan:

    $ oc -n external-dns-operator get sub external-dns-operator -o yaml | yq '.status.installplan.name'
    Example output
    install-zcvlr
  2. Check the status of an install plan, the status of an install plan must be Complete:

    $ oc -n external-dns-operator get ip <install_plan_name> -o yaml | yq .status.phase'
    Example output
    Complete
  3. Use the oc get command to view the Deployment status:

    $ oc get -n external-dns-operator deployment/external-dns-operator
    Example output
    NAME                    READY     UP-TO-DATE   AVAILABLE   AGE
    external-dns-operator   1/1       1            1           23h

External dns Operator logs

You can view External dns Operator logs by using the oc logs command.

Procedure
  1. View the logs of the External dns Operator:

    $ oc logs -n external-dns-operator deployment/external-dns-operator -c external-dns-operator