@@ -73,7 +73,7 @@ More information here: https://kubernetes.io/docs/tutorials/security/ns-level-ps
7373
7474- kubectl/kind/helm/jq binaries available in PATH,
7575- docker service up and running.
76- - full set of metrics avaiable only bare-metal instance or Cloud .metal instance.
76+ - full set of metrics available only bare-metal instance or Cloud .metal instance.
7777
7878#### 1) (Optionally) mount resctrl filesystem (for RDT metrics)
7979
9595 - hostPath: /sys/fs/resctrl
9696 containerPath: /sys/fs/resctrl
9797```
98- e.g. create kind cluster with local registry with [ this script] ( https://kind.sigs.k8s.io/docs/user/local-registry/ ) .
98+ e.g. create kind cluster with local registry with [ this script] ( https://kind.sigs.k8s.io/docs/user/local-registry/ )
9999and apply the patch to enable resctrl win following way:
100100
101101```
@@ -173,6 +173,7 @@ kubectl proxy &
173173```
174174
175175Access PCM metrics directly:
176+
176177``` sh
177178kubectl get daemonset pcm
178179kubectl get pods
@@ -185,7 +186,7 @@ curl -Ls http://127.0.0.1:8001/api/v1/namespaces/default/pods/$podname/proxy/met
185186curl -Ls http://127.0.0.1:8001/api/v1/namespaces/default/pods/$podname /proxy/metrics | grep DRAM_Joules_Consumed # source: energy
186187```
187188
188- or through Prometheus UI/prom tool (requires prometheus operator to be deployed and helm install with with ` --set podMonitor=true ` ):
189+ ... or through Prometheus UI/prom tool (requires prometheus operator to be deployed and helm install with with ` --set podMonitor=true ` ):
189190```
190191http://127.0.0.1:8001/api/v1/namespaces/default/services/prometheus-kube-prometheus-prometheus:http-web/proxy/graph
191192promtool query range --step 1m http://127.0.0.1:8001/api/v1/namespaces/default/services/prometheus-kube-prometheus-prometheus:http-web/proxy 'rate(DRAM_Writes{aggregate="system"}[5m])/1e9'
0 commit comments