dns-discovery | Record DNS lookups and convert them into service registry | DNS library
kandi X-RAY | dns-discovery Summary
kandi X-RAY | dns-discovery Summary
Record DNS lookups and convert them into service registry entries
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- createAndForward is used to create a service entry
- sends SIGINT SIGTERM
- parseFlags parses the command line flags .
- NewServer creates a new server
- New returns a new crdCreator .
- setLogLevel - set log level .
- NewProxy returns a new proxy .
dns-discovery Key Features
dns-discovery Examples and Code Snippets
Community Discussions
Trending Discussions on dns-discovery
QUESTION
I have kubeDNS set up on a bare metal kubernetes cluster. I thought that would allow me to access services as described here (http:// for those who don't want to follow the link), but when I run
...ANSWER
Answered 2017-Oct-23 at 21:05The service discovery that you're trying to is documented at https://kubernetes.io/docs/concepts/services-networking/dns-pod-service, and is for communications within one pod talking to an existing service, not from nodes (or the master) to speak to Kubernetes services.
You will want to leverage the DNS for the service in form of .
or ..svc.cluster.local
. To see this in operation, kick up an interactive pod with busybox (or use an existing pod of your own) with something like:
kubectl run -i --tty alpine-interactive --image=alpine --restart=Never
and within that shell that is provided there, make an nslookup command. From your example, I'm guessing you're trying to access influxDB from https://github.com/kubernetes/heapster/tree/master/deploy/kube-config/influxdb, then it will be installed into the kube-system
namespace, and the service name you'd use from another Pod internally to the cluster would be:
monitoring-influxdb.kube-system.svc.cluster.local
For example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dns-discovery
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page