Getting Data In

Error when connecting to local Kubernetes cluster from Splunk App for Data Science and Deep Learning

sschimper
Splunk Employee
Splunk Employee

Hi,

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 .

k8s_input.png

When I click the "Test & Save" button, I receive the following error message: 

Exception: Could not connect to Kubernetes. HTTPConnectionPool(host='10.96.143.124', port=80): Max retries exceeded with url: //version/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f391087acd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

 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.

Any help on this would be greatly appreciated!

 

PS: Here is a screenshot of the error message:

Screenshot 2022-11-23 at 17.09.23.png

Labels (4)
0 Karma
1 Solution

sschimper
Splunk Employee
Splunk Employee

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. 

I am now working with AWS EKS as an alternative K8s environment. 

View solution in original post

0 Karma

sschimper
Splunk Employee
Splunk Employee

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. 

I am now working with AWS EKS as an alternative K8s environment. 

0 Karma
Get Updates on the Splunk Community!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...