Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,19 @@ spec:
```
Inside this container, `/dev/tpmrm0` will be available.

## Monitoring

Applying the Prometheus monitoring manifest allows you to observe the device plugin status:

```bash
kubectl apply -f manifests/cc-device-plugin-pod-monitoring.yaml
```

You can view the metrics in the [Cloud Monitoring Metrics Explorer](https://console.cloud.google.com/monitoring/metrics-explorer) using PromQL, for example to see CPU usage:
```promql
rate(process_cpu_seconds_total[5m])
```

[dp]: https://kubernetes.io/docs/concepts/cluster-administration/device-plugins/
[k8s]: https://kubernetes.io
[tpm]: https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#vtpm
Expand Down
Loading