Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

Function domain is hardcoded as .svc.cluster.local and this is not correct for all clusters #9

@Jc2k

Description

@Jc2k

Is this a BUG REPORT or FEATURE REQUEST?:

Bug report

What happened:

When generating a request to a function it assumes the domain name is .svc.cluster.local. See here.

What you expected to happen:

One of:

  • The suffix is just .svc - the dns service will automatically expand it to the full form
  • nats-trigger automatically works out the correct FQDN
  • there is a config option to set it.

How to reproduce it (as minimally and precisely as possible):

I have a kubeadm cluster where the networking/dnsDomain setting of ClusterConfigration was set to a domain, not cluster.local.

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): 1.16
  • Kubeless version (use kubeless version): 1.0.6
  • Cloud provider or physical cluster: bare metal

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