Skip to content

Service.IsResolved(entrypoint) returns false for type:ExternalName  #1

@taehwoi

Description

@taehwoi

Hi,

Current code looks for endpoints with the same name to check if a service is resolved.

However, I believe that services created with ExternalNames should be considered as resolved, even without any endpoints.

apiVersion: v1
kind: Service
metadata:
  name: mariadb
spec:
  type: ExternalName
  externalName: some.db.domain
dig +short mariadb.default.svc.cluster.local
some.db.domain.
.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions