Monitoring Serverless Pod
This document was translated by GPT-4
# 1. Introduction
The DeepFlow Agent can be deployed as a Sidecar in a Serverless Pod. Assuming you have successfully deployed the DeepFlow Server in a K8s cluster, this chapter will guide you on how to monitor applications inside the Serverless Pod.
# 2. Deployment Topology
# 3. Deploy deepflow-agent
Deploy deepflow-agent with daemonset and inject sidecar:
cat << EOF > values-custom.yaml
deployComponent:
- "daemonset"
- "watcher"
tke_sidecar: true
clusterNAME: process-example
EOF
helm install deepflow-agent -n deepflow deepflow/deepflow-agent --create-namespace \
-f values-custom.yaml
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
If you do not wish the deepflow-agent in the form of a sidecar to assume the role of list-watch apiserver, we recommend deploying a separate deepflow-agent deployment to synchronize K8s resources. For the detailed method, please refer to Deploy deployment mode DeepFlow Agent.
# 4. Next Steps
- Universal Service Map - Experience DeepFlow's AutoMetrics capabilities
- Distributed Tracing - Experience DeepFlow's AutoTracing capabilities
- Eliminate data silos - Learn about DeepFlow's AutoTagging and SmartEncoding capabilities
- Say goodbye to high-base troubles - Integrate metrics data like Promethes
- Full-stack Distributed Tracing - Integrate tracing data like OpenTelemetry