1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
node-feature-discovery/demo/helper-scripts/demo-pod-with-discovery.yaml.parsec.template
Markus Lehtonen 655f5c5555 sources: move all cpu related features under the cpu source
Remove 'cpuid', 'pstate' and 'rdt' feature sources and move their
functionality under the 'cpu' source. The goal is to have a more
systematic organization of feature sources and labels. After this change
we now basically have one source per type of hw, one for kernel and one
for userspace sw.

Related feature labels are changed, correspondingly, new labels being:
    feature.node.k8s.io/cpu-cpuid.<cpuid flag>
    feature.node.k8s.io/cpu-pstate.turbo
    feature.node.k8s.io/cpu-rdt.<rdt feature>
2019-05-09 20:18:36 +03:00

14 lines
350 B
Text

apiVersion: v1
kind: Pod
metadata:
name: demo-parsec-NUM
spec:
containers:
- image: quay.io/kubernetes_incubator/node-feature-discovery-APP
name: demo-container-parsec-NUM
ports:
- containerPort: 3351
hostPort: 10001
nodeSelector:
feature.node.kubernetes.io/cpu-pstate.turbo: 'true'
restartPolicy: Never