# Synthetic monitoring using a pod

**URL:** <https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631>\
**Category:** Synthetics\
**Tags:** synthetics\
**Created:** [January 20, 2021, 10:58am UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631 "2021-01-20T10:58:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman26ps](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman26ps/32/82604_2.png) [@aman26ps](https://discuss.elastic.co/u/aman26ps)\
**Post date:** [January 20, 2021, 10:58am UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/1 "2021-01-20T10:58:17Z")

</div>

Hi Team,

I am running my ECK stack on a managed kubernetes clusters with no access to login into any of the kube nodes, now with this implementation currently i wont be able to run docker container in the same namespace as my ECK stack and service is not exposed outside the cluster

1. i can use dind image to write a pod specification file as a workaround, but is this implementation available

any help will be appreciated

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [January 29, 2021, 6:37pm UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/2 "2021-01-29T18:37:07Z")

</div>

Apologies for the delay, I'm a bit unclear as to how this relates to synthetics / uptime specifically. Can you expand a bit on what specific issue you're facing?

---

<div class="post-metadata">

**Author:** ![aman26ps](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman26ps/32/82604_2.png) [@aman26ps](https://discuss.elastic.co/u/aman26ps)\
**Post date:** [February 1, 2021, 1:23pm UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/3 "2021-02-01T13:23:09Z")

</div>

Sure Andrew,

I would like to use synthetic monitoring feature in kubernetes environment presuming we dont have access to run containers in cloud managed cluster, i want an out of the box solution where i can use a POD to perform my synthetic monitoring usecase, and having a pod based solution will be useful from maintainability perspective.

Hope that answers your question.

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [February 5, 2021, 2:10am UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/4 "2021-02-05T02:10:15Z")

</div>

I think the ultimate solution here is Fleet / Agent node with ECK. However, that's a bit down the road. I think @jsoriano might be able to help you here as he's more familiar with K8s

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [February 5, 2021, 12:02pm UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/5 "2021-02-05T12:02:25Z")

</div>

@aman26ps have you tried to deploy Heartbeat with ECK ([Run Beats on ECK | Elastic Cloud on Kubernetes [1.3] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/1.3/k8s-beat.html))?

If you want to use Agent, I think you will have to wait for a future version of ECK, this functionality is experimental and only available in master by now. ([Run Elastic Agent on ECK | Elastic Cloud on Kubernetes [master] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-elastic-agent.html))

If ECK doesn't exposes all the options that you need for your case, you should still be able to deploy Heartbeat as a pod in your Kubernetes cluster. ([Running Heartbeat on Kubernetes | Heartbeat Reference [7.10] | Elastic](https://www.elastic.co/guide/en/beats/heartbeat/7.10/running-on-kubernetes.html))

---

<div class="post-metadata">

**Author:** ![aman26ps](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman26ps/32/82604_2.png) [@aman26ps](https://discuss.elastic.co/u/aman26ps)\
**Post date:** [February 8, 2021, 8:45am UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/6 "2021-02-08T08:45:09Z")

</div>

sure thanks jaime, let me try this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 4, 2021, 8:45am UTC](https://discuss.elastic.co/t/synthetic-monitoring-using-a-pod/261631/7 "2021-03-04T08:45:35Z")

</div>

This topic was automatically closed 24 days after the last reply. New replies are no longer allowed.
