Skip to content

NamespaceNotFound: Namespace not found #5180

Open
@yasharne

Description

@yasharne

What happened:
external DNS with aws-sd fails with this error:

level=fatal msg="Failed to do run once: operation error ServiceDiscovery: DiscoverInstances, https response error StatusCode: 400, RequestID: f21c7f72-1dcd-484c-86aa-163b5f2ec511, NamespaceNotFound: Namespace not found"

The serviceaccount used for the deployment already has AWSCloudMapFullAccess permission

What you expected to happen:
Connect to was cloudmap

How to reproduce it (as minimally and precisely as possible):
Follow the steps here: https://kubernetes-sigs.github.io/external-dns/latest/docs/tutorials/aws-sd/

Anything else we need to know?:

Environment:

  • External-DNS version (use external-dns --version): v0.15.1
  • DNS provider:
  • Others: deployed on EKS

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions