intel / intel/pcm

Pods are crashing to pin and collect from specific CPU

Open
#981 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.3k
Forks
528
Avg merge
1h 40m
Merged PRs (30d)
2

Description

hi Team,

We are getting below message for few of the nodes when we deploy it as a pod. Not sure why it is marking it as the core are offline. And not sure why the pods are getting crashed to start it.

Any help on this would be much appreciated.

`pthread_setaffinity_np for core 5 failed with code 22`

> apiVersion: apps/v1
kind: DaemonSet
metadata:
name: intel-metrics-exporter
namespace: ns-sy-rcp-observability
labels:
k8s-app: intel-metrics-exporter
spec:
selector:
matchLabels:
name: intel-metrics-exporter
template:
metadata:
labels:
name: intel-metrics-exporter
spec:
nodeSelector:
kubernetes.io/os: linux
hostNetwork: true
containers:
- name: intel-metrics-exporter
image: intel-metrics-exporter:1.1.1
ports:
- containerPort: 9738
hostPort: 9738
resources:
limits:
memory: 500Mi
requests:
cpu: 1000m
memory: 50Mi
securityContext:
privileged: true

Regards,
Arun Raj. R

![tmp_7dbada5a-cd23-45b6-b313-b832a2eb1da2.jpg](https://github.com/user-attachments/assets/6ffbb29c-f94a-4ff8-8b0c-70c451974e9c)

![tmp_7ca93f8c-aaf2-4fc3-96ca-0ecda6c30683.jpg](https://github.com/user-attachments/assets/873edf7a-f49f-412c-9278-ecd10f9e3f91)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.