1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/featurelabeling-daemonset.json

52 lines
1.6 KiB
JSON
Raw Normal View History

2016-07-01 18:46:05 +00:00
{
"apiVersion": "extensions/v1beta1",
"kind": "DaemonSet",
"metadata": {
"labels": {
"app": "dbi-nodelabel"
},
"name": "dbi-nodelabel"
},
"spec": {
"template": {
"metadata": {
"labels": {
"app": "dbi-nodelabel"
}
},
"spec": {
"containers": [
{
"env": [
{
"name": "POD_NAME",
"valueFrom": {
"fieldRef": {
"fieldPath": "metadata.name"
}
}
},
{
"name": "POD_NAMESPACE",
"valueFrom": {
"fieldRef": {
"fieldPath": "metadata.namespace"
}
}
}
],
"image": "intelsdi/nodelabels",
"name": "nodelabeler",
"resources": {
"limits": {
"cpu": "1000m",
"memory": "1000Mi"
}
}
}
]
}
}
}
}