<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error when connecting to local Kubernetes cluster from Splunk App for Data Science and Deep Learning in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Error-when-connecting-to-local-Kubernetes-cluster-from-Splunk/m-p/621880#M107069</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having a local minikube Kubernetes cluster set up. Furthermore, I want to setup the Splunk App for Data Science and Deep Learning, to be able to interact with my local Kubernetes Cluster. On the setup page, I provide the information in the input field as shown in the screenshot below. For the Cluster CA, Cluster Certificate and Client key, I am using the contents of the files in ~/.minikube/certs .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="k8s_input.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22618i89444D2FCAA05411/image-size/large?v=v2&amp;amp;px=999" role="button" title="k8s_input.png" alt="k8s_input.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I click the "Test &amp;amp; Save" button, I receive the following error message:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Exception: Could not connect to Kubernetes. HTTPConnectionPool(host='10.96.143.124', port=80): Max retries exceeded with url: //version/ (Caused by NewConnectionError('&amp;lt;urllib3.connection.HTTPConnection object at 0x7f391087acd0&amp;gt;: Failed to establish a new connection: [Errno 110] Connection timed out'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I know that this means Splunk is having troubles connecting to my local cluster. But unfortunately I feel I reached a dead end, and I am not sure how I can fix this issue.&lt;/P&gt;&lt;P&gt;Any help on this would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Here is a screenshot of the error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-23 at 17.09.23.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22619iA9106B09C302C1AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-11-23 at 17.09.23.png" alt="Screenshot 2022-11-23 at 17.09.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 16:24:55 GMT</pubDate>
    <dc:creator>sschimper</dc:creator>
    <dc:date>2022-11-23T16:24:55Z</dc:date>
    <item>
      <title>Error when connecting to local Kubernetes cluster from Splunk App for Data Science and Deep Learning</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-when-connecting-to-local-Kubernetes-cluster-from-Splunk/m-p/621880#M107069</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having a local minikube Kubernetes cluster set up. Furthermore, I want to setup the Splunk App for Data Science and Deep Learning, to be able to interact with my local Kubernetes Cluster. On the setup page, I provide the information in the input field as shown in the screenshot below. For the Cluster CA, Cluster Certificate and Client key, I am using the contents of the files in ~/.minikube/certs .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="k8s_input.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22618i89444D2FCAA05411/image-size/large?v=v2&amp;amp;px=999" role="button" title="k8s_input.png" alt="k8s_input.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I click the "Test &amp;amp; Save" button, I receive the following error message:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Exception: Could not connect to Kubernetes. HTTPConnectionPool(host='10.96.143.124', port=80): Max retries exceeded with url: //version/ (Caused by NewConnectionError('&amp;lt;urllib3.connection.HTTPConnection object at 0x7f391087acd0&amp;gt;: Failed to establish a new connection: [Errno 110] Connection timed out'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I know that this means Splunk is having troubles connecting to my local cluster. But unfortunately I feel I reached a dead end, and I am not sure how I can fix this issue.&lt;/P&gt;&lt;P&gt;Any help on this would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Here is a screenshot of the error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-23 at 17.09.23.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22619iA9106B09C302C1AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-11-23 at 17.09.23.png" alt="Screenshot 2022-11-23 at 17.09.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 16:24:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-when-connecting-to-local-Kubernetes-cluster-from-Splunk/m-p/621880#M107069</guid>
      <dc:creator>sschimper</dc:creator>
      <dc:date>2022-11-23T16:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when connecting to local Kubernetes cluster from Splunk App for Data Science and Deep Learning</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-when-connecting-to-local-Kubernetes-cluster-from-Splunk/m-p/622560#M107164</link>
      <description>&lt;P&gt;After a while I realised that minikube is a tool that is meant for deploying K8s locally, and exposing the deployed cluster to the internet - if it can be done at all - is ton-trivial, at least for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now working with AWS EKS as an alternative K8s environment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 07:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-when-connecting-to-local-Kubernetes-cluster-from-Splunk/m-p/622560#M107164</guid>
      <dc:creator>sschimper</dc:creator>
      <dc:date>2022-11-30T07:27:26Z</dc:date>
    </item>
  </channel>
</rss>

