1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-16 21:38:23 +00:00
node-feature-discovery/demo/helper-scripts/demo-pod-with-discovery.yaml.cloverleaf.template
Balaji Subramaniam 0d31ad8f0e Updated demo.
- Updated pod templates with new label prefix.
- Minor changes to job scripts and readme.
2016-11-17 11:15:32 -08:00

30 lines
1,020 B
Text

apiVersion: v1
kind: Pod
metadata:
name: demo-cloverleaf-NUM
annotations:
scheduler.alpha.kubernetes.io/affinity: |
{
"nodeAffinity": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "node.alpha.kubernetes-incubator.io/nfd-pstate-turbo",
"operator": "DoesNotExist"
}
]
}
]
}
}
}
spec:
containers:
- name: demo-container-cloverleaf-NUM
image: quay.io/kubernetes_incubator/node-feature-discovery-APP
ports:
- containerPort: 3551
hostPort: 10001
restartPolicy: Never