<p>I want statping to be independent of the infra it is monitoring. But I want to check the services uptime which are on clusterIP inside the k8s EKS cluster. Will setting up kubeconfig on the EC2 instance help ?</p>

ssbb191
<p>There are multiple ways to access Kubernetes Services from the statping EC2 Instance.</p>
<p>All of them are discussed in <a href="https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/</a></p>
<p><a href="https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#so-many-proxies" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#so-many-proxies</a></p>
<p>kubectl proxy <a href="https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#using-kubectl-proxy" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#using-kubectl-proxy</a> is a good option for your use case if you already have kubeconfig on the statping EC2 Instance.</p>
<p>You can use <a href="https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#manually-constructing-apiserver-proxy-urls" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#manually-constructing-apiserver-proxy-urls</a> to construct the Proxy URLs.</p>
