Master Public name, Internal name, etcd member pre-built DNS records doesn't resolve to Master external IP address on GCE

1/7/2019

I created a k8s cluster on GCE (Google Compute Engine) using Kops. After creating the cluster, ran kops validate cluster command which threw following error.

unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.apic.gcpdemo.cloudtechexpert.net on x.x.x.x.254:53: no such host

I looked at the DNS records in managed zone created using Cloud DNS service on GCP and noticed that all following records are pointing to some random IP address which I'm not even able to ping.

Do I need to manually point them to master IP address? Is it a known issue?

DNS Records

  • api.apic.gcpdemo.cloudtechexpert.net
  • api.internal.apic.gcpdemo.cloudtechexpert.net
  • etcd-a.internal.apic.gcpdemo.cloudtechexpert.net
  • etcd-events-a.internal.apic.gcpdemo.cloudtechexpert.net
-- Sunny Goel
google-cloud-dns
google-compute-engine
kops
kubernetes

0 Answers