Skip to content

Not able to connect to kubernetes resources #42492

Answered by ethannws
ethannws asked this question in Q&A
Discussion options

You must be logged in to vote

issue was that TKG does not use cluster.local as a domain, updated kube-dns as per below in case anybody else gets this. im getting cert errors now on some services but thats not related to this.

apiVersion: v1
data:
Corefile: |
.:53 {
errors
health {
lameduck 5s
}
ready
kubernetes cluster.local tanzukubernetescluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf {
max_concurrent 1000
}
cache 30
loop
reload
loadbalance
}
kind: ConfigMap
metadata:
creationTimestamp: "2024-05-29T20:29:29Z"
name: coredns
namespace: kube-system
resourceVersion: "2346516"
uid:

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ethannws
Comment options

@ethannws
Comment options

@ethannws
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ethannws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #42477 on June 05, 2024 14:50.