Kubernetes send HTTP request from Pods

5/24/2019

Currently I have an Kubernetes cluster which is to analyze Video Feeds and send particular results based on the video. I wish to send an HTTP request from my Kubernetes pod from from time to time if the requested Video needs to be retrieved over the internet. However all of these requests seem to Fail. When I issued a CURL command in the shell of the container I receive an error message saying

could not resolve host

I have looked into a few answers and many of them involve exposing a port in the container running a server to the Kubernetes node and making it publicly available through a external IP which I have already Implemented.

I am still very much a Novice in this area. So any guidance is appreciated

-- Ranika Nisal
kubernetes

1 Answer

5/27/2019

Answered in comments, kube-dns was unavailable due to resource constraints.

-- coderanger
Source: StackOverflow