Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External probe: Add ability to retrieve external probe binary (or script/source code) from a remote location (Git/GCS/S3) #27

Open
manugarg opened this issue Nov 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@manugarg
Copy link
Contributor

manugarg commented Nov 2, 2021

Copied from google/cloudprober#25, originally filed by @manugarg.

I am not super sure about it, but it may allow for quick prototyping.

@manugarg manugarg added the enhancement New feature or request label Nov 2, 2021
@manugarg
Copy link
Contributor Author

manugarg commented Nov 2, 2021

@DazWilkin's comment:

Having been initially drawn to deploying Cloudprober (as a container) on Kubernetes, I propose we consider a model in which external probes are (also) deployed as containers.

For Kubernetes, this would then enable delivering external probes as sidecars but this approach appears to provide more general benefits:

  • leveraging container registries for hosting external probes (rather than GCS|S3);
  • unifying deployments; and
  • perhaps consider network (simple http) rather than stdout/pipe-based integration?

The latter could make external probes just a special case of http (or perhaps udp) probes.

@manugarg
Copy link
Contributor Author

manugarg commented Mar 7, 2022

Other interesting options:

  • We can fetch Python, Go, Shell code from Github (git-sync) as well, and then run that code through local Python interpreter, Go compiler, and Shell interpreter respectively.

There are a couple of changes required here:

  • Provide a way to get files from Git.
  • Provide a way to configure external probe to retrieve such code, and run it differently.

@manugarg manugarg changed the title External prober should be able to retrieve external probe binary from remote location (GCS/S3/etc) External probe: Add ability to retrieve external probe binary (or script/source code) from a remote location (Git/GCS/S3) Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant