Skip to content

DNS errors when accessing dynamically added app running in a kubernetes cluster #43392

Answered by zmb3
alexkunin asked this question in Q&A
Discussion options

You must be logged in to vote

@webvictim's answer is correct.

You appear to be using dynamic registration. I recommend having a read through the docs to better understand how this feature works.

In a nutshell, you have registered an app named test with terraform that contains the following labels:

  metadata = {
    name = "test"
    labels = {
      "teleport.dev/kubernetes-cluster" = "cluster-1"
      "teleport.dev/origin" = "discovery-kubernetes"
    }
  }

Your app service is declaring that it can proxy the traffic for any and all apps with these labels:

app_service:
  enabled: true
  resources:
  - labels:
      teleport.dev/kubernetes-cluster: cluster-1
      teleport.dev/origin: discovery-kubernetes

If you are…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@ak-purplesmart-ai
Comment options

@ak-purplesmart-ai
Comment options

@ak-purplesmart-ai
Comment options

@zmb3
Comment options

Answer selected by webvictim
@ak-purplesmart-ai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants