Steps:
- Get an Authentication Token for your private probe, see here for steps
- Get Probe API Server URL from Private Probe docs
- Replace
YOUR_TOKEN_HERE
in secret.yaml with your Authentication Token - Replace
PROBE_API_SERVER_URL
in deployment.yaml with your API server URL - Apply namespace.yaml to create the
synthetic-monitoring
namespace - Apply secret.yaml to create the
sm-agent-1
secret - Apply deployment.yaml to deploy your agent
Here are these steps as commands:
kubectl apply -f namespace.yaml
kubectl apply -f secret.yaml
kubectl apply -f deployment.yaml
Now you should have the agent reporting as private probe.
If you are running it in production, you should pin the image to an specific version instead of latest
,
see all tags on docker hub
The process exposes Prometheus-style metrics on an HTTP server running on port 4050 (/metrics endpoint). You can scrape and monitor your private probe in this way using either Prometheus or the Grafana Cloud Agent.
Checkout Private Probe docs for more details.