Closed patrickmuhi closed 6 years ago
Luckily this hack did the trick https://stackoverflow.com/a/49987895/2506749
apiVersion: v1
kind: ConfigMap
metadata:
name: kube-dns
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
data:
upstreamNameservers: |-
["8.8.8.8", "8.8.4.4"]
Issue Report Template
Tectonic Version
1.9.6-tectonic.1
Environment
AWS
Expected Behavior
All domains must resolve
Actual Behavior
Not all domains are resolving, few domains revolve.
Reproduction Steps
I ran this command and found something wrong with kube-state-metrics, i couldn't understand what to do
kubectl logs --namespace=kube-system $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -o name | head -1) -c kubedns
The error says
Could not find endpoints for service "kube-state-metrics" in namespace "tectonic-system". DNS records will be created once endpoints show up.
Environment
AWS