Questions tagged [kubernetes-dns]
16 questions
8
votes
1 answer
How to get FQDN DNS name of a kubernetes service?
How to get a full FQDN of the service inside Kubernetes?
➜ k get svc -o wide
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
airflow-flower-service ClusterIP …

DmitrySemenov
- 9,204
- 15
- 76
- 121
2
votes
2 answers
How to update DNS configuration of K8S Pod
I had a project that wanted to update the DNS configuration of Pod with Operator,
get dns message
get matched pod
modify:
pod.Spec.DNSConfig = CRD_SPEC
pod.Spec.DNSPolicy = corev1.DNSNone
client.Update(ctx,&pod)
But when I implemented it, I…

moluzhui
- 1,003
- 14
- 34
2
votes
2 answers
Istio: RequestAuthentication jwksUri does not resolve internal services names
Notice
The root cause of this is the same than Istio: Health check / sidecar fails when I enable the JWT RequestAuthentication, but after further diagnose, I have reworded to simply (trying to get help)
Problem
I'm trying to configure…

Sourcerer
- 1,891
- 1
- 19
- 32
1
vote
1 answer
Block externa-IP resolving in kubernetes
I have a created an nginx pod and nginx clusterIP service and assign an externalIP to that service like below
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
test-nginx ClusterIP …

prasanna kumar
- 257
- 3
- 4
- 17
1
vote
1 answer
Is it possible to configure a pod to prioritize using `hostNetwork` but still reference internal service endpoints?
I have a statefulset that I need to run using the host network, purely for performance reasons. But I also want to be able to reference service-name endpoints. Is it possible to do this? ClusterFirstWithHostNet does not work because it doesn't…

Mike
- 961
- 6
- 19
- 43
1
vote
1 answer
Kubernetes - Calling Microservice by Service Name
I have two Microservices deployed on K8S cluster (Locally on 3 VMs - 1 Master and 2 Worker Nodes):
1- currency-exchange Microservice
2- currency-conversion Microservice
I am trying to call currency-exchange Microservice from currency-conversion by…

Faris Rjoub
- 65
- 8
1
vote
1 answer
kubernetes dns list all ips for service
I have a list of pods like so:
❯ kubectl get pods -l app=test-pod (base)
NAME READY STATUS …

Tarmac
- 13
- 1
- 3
1
vote
2 answers
kubernetes-cli command to get dns of a kubernetes resource
I have gone through the doc mentioned here gitlink as well as doclink
But my job would be a whole lot easier if I could get the dns of a resource type by using any kubernetes command.
Also tried this commands-link
For example, i would like to get…

codeaprendiz
- 2,703
- 1
- 25
- 49
1
vote
2 answers
DNS for kubernetes pods and airflow worker logs
➜ k get pods -n edna
NAME READY STATUS RESTARTS AGE
airflow-79d5f59644-dd4k7 1/1 Running 0 16h
airflow-worker-67bcf7844b-rq7r8 1/1 Running 0 22h
backend-65bcb6546-wvvqj…

DmitrySemenov
- 9,204
- 15
- 76
- 121
0
votes
1 answer
Pods on Windows worker can't reach CoreDns
I have k8s master on Debian and 2 worker nodes, linux(Debian) and windows(Server 2019).
From Pods on linux node I can ping coreDNS and I can reach services by using its DNS names. nslookup google.pl returns addres of google.pl
On Pods on windows…

Kambey
- 96
- 1
- 7
0
votes
0 answers
Some pods not resolving via CoreDNS in k3s
I am running k3s cluster on RPis with Ubuntu Server 20.04 and have a drive mounted onto the master node to serve as shared NFS storage.
For some reason I can only access the server using the ClusterIP of the service, but no the name. CoreDNS is…

timberhill
- 67
- 1
- 7
0
votes
1 answer
How do I change the external DNS not kubernetes(CoreDNS)?
My pods can't find the URL https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4.
I did a test and added the DNS 8.8.8.8 and 8.8.4.4 in the /etc/resolve.conf file of one of the pods, and the URL is found.
The file /etc/resolve.conf looks like…

Guilherme
- 31
- 3
0
votes
1 answer
How to set up DNS for Ingress with MetallLB not work?
Previously, I tried to make it work ingress using NodeIP.
How to make My First ingress work on baremetal NodeIP?
It did not work too, perhaps the problem is the same as now, that I did not configure it correctly.
I gave up this option and tried…

Andrew Kaa
- 117
- 9
0
votes
0 answers
Why Kubernetes Not Able to access ip by the Domain Name?
i am trying to ping website by the Domain Name but pod is not able to ping the machine
but when i tried with ip address it is able to ping the machine.After i add the ip with
domain name in the hosts file on /etc folder it is able to ping the…
0
votes
1 answer
K8s Statefulset DNS
I'm crafting a custom REDIS StatefulSet yaml. So far i've succedded in deploying the application but that is something wrong with the REDIS SLAVE. It cant find the master, and i'm not guessing the reason why the DNS configuration is wrong.
My…

Bruno Araújo
- 91
- 2
- 9