Questions tagged [kube-dns]
209 questions
0
votes
2 answers
Accessing Pod through kubedns without expose as service
I am trying to test inter-pod communication without expose as service.
I have read that a pod does have FQDN in kubedns.
kubernetes doc
Its default should be (A…

Maxi Wu
- 1,274
- 3
- 20
- 38
0
votes
1 answer
I create a single master cluster with kubeadm, everything is fine but CoreDNS didn't work
I create a single master cluster with kubeadm, according to doc, I did it like this:
kubeadm init --pod-network-cidr=172.20.0.0/16
kubectl apply -f rbac-kdd.yaml
kubectl apply -f calico.yml
Now, everything is fine, all pods and services are…

Juey
- 123
- 1
- 6
0
votes
2 answers
Kubernetes readness cannot visit service by DNS
I deploy Elastic Search and Fluentd in same namespace test, and write below config to ensure Fluentd can visit Elastic serach:
livenessProbe:
failureThreshold: 5
httpGet:
host: elasticsearch-logging
…

daixiang0
- 193
- 2
- 10
0
votes
1 answer
kube-dns. High Availability. Error handling in kuberntes
I have a kubernetes cluster with several nodes. I have kube-dns running in 3 nodes.
The issue I'm having is that if 1 of those 3 nodes goes down the requests between my pods/containers start to fail more or less 1 of 3 times.
This is because when…

Jxadro
- 1,497
- 2
- 16
- 36
0
votes
1 answer
unable to chage type: ClusterIP to type: LoadBalancer for kube-dns in kubernetes
When I run kubectl get svc -n kube-system it tells me:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns ClusterIP xx.xx.xx.xx 53/UDP,53/TCP 13h
But when I try to kubectl edit svc/kube-dns -n…

Srinivasa Reddy
- 3
- 3
0
votes
1 answer
External DNS in Kubernetes involving istio out of nowhere from version 1.11
Since today in version 1.11 of externaldns installed via helm i got this problem. The k8s provider is rancher and it's fresh, without anything else on it. The config is as per documentation. Please help.
time="2018-12-05T15:08:00Z"…

qubsup
- 1,241
- 5
- 15
- 23
0
votes
1 answer
Kubernetes: no such host for modify hostname slave
Version: kubeadm and kubectl 1.12
I get this error when I change the hostname of one of the Kubernetes slaves.
The error I get from the metric service:
dial tcp: lookup ops-kube-slave-dev-1 on 10.96.0.10:53: no such host
This IP is not the public…

pioupiou
- 836
- 2
- 14
- 29
0
votes
1 answer
Custom URL name for internal services
I have a Kubernetes cluster. Some internal services (such as Kubernetes Dashboard) are only accessible via an OpenVPN instance I set up.
Per default kube-dns resolves services like: http://{service-name}.{namespace-name}.svc.cluster.local
For…

Hedge
- 16,142
- 42
- 141
- 246
0
votes
1 answer
Coredns couldn't reach to Host Nameserver
I've created a kubernetes cluster from scratch as the directions of Kelsey Hightower. As I checked, everything works without any error but after I've deployed my first application, I figured out my application couldn't resolve the DNSes.
I've…

Muhammet Arslan
- 975
- 1
- 9
- 33
0
votes
1 answer
Can't ping other pods by hostname on minikube
I have a statefulSet with two replicas.
It's headless service name is "gov-svc"
It's ->
.metadata.name: sts
.metadata.namespace: default
.spec.serviceName: gov-svc
.spec.template.spec.subdomain: gov-svc
.spec.replicas: 2
Before running…

Shudipta Sharma
- 5,178
- 3
- 19
- 33
0
votes
2 answers
Memcached Kubernetes Client Golang
I am attempting to connect to my memcached instance via golang. Both my app and Memcached will be in Kubernetes.
I couldn't find a good way (or example) on how to dynamically discover memcached and ensure that it will update if the pods scale.
I…

mornindew
- 1,993
- 6
- 32
- 54
0
votes
1 answer
Kubernetes DNS Disk Utilization is High. Is there a way to tailor the logging to assist?
Can someone suggest what level of logging should be enabled for kube-dns and what parameters to use? My kube-dns pod is using 23GB of disk space and I fear its related to logging.
Has anyone else seen this behavior?

Steveno
- 171
- 1
- 7
0
votes
0 answers
Flannel pod failure (and DNS) for Kubernetes on CoreOS VMs
I have deployed a 3-node CoreOS Vagrant VMs following this guide, modified as described here.
The VMs are healthy and running; K8s controller/worker nodes are fine; and I can deploy Pods; ReplicaSets; etc.
However, DNS does not seem to work and,…

Marco Massenzio
- 2,822
- 1
- 25
- 37
0
votes
0 answers
Config parameters / Command Line flags for kube-dns?
Where are kube-dns command-line / configmap parameters documented?
I miss a short reference doc like the one here for kubernetes dashboard: https://github.com/kubernetes/dashboard/wiki/Dashboard-arguments
I could (just) look into the code, but even…

Johan Thomsen
- 174
- 4
0
votes
1 answer
kube-dns pods does not run when install with kops
I've setup a standalone k8s cluster using kops, so I want all pods running on only 1 master too. The cluster started well but kube-dns and kube-autoscaler pods does not running, it's in pending status. This is node describe
kubectl describe…

Jin
- 81
- 1
- 1
- 10