mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
23a1e19635
* Add rbac.yaml which contains needed rules for NFD to work on a RBAC enabled cluster * Add lines to templates to use the RBAC policy * Update README
45 lines
1,002 B
Text
45 lines
1,002 B
Text
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "DaemonSet",
|
|
"metadata": {
|
|
"labels": {
|
|
"app": "node-feature-discovery"
|
|
},
|
|
"name": "node-feature-discovery"
|
|
},
|
|
"spec": {
|
|
"selector": {
|
|
"matchLabels": {
|
|
"app": "node-feature-discovery"
|
|
}
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"labels": {
|
|
"app": "node-feature-discovery"
|
|
}
|
|
},
|
|
"spec": {
|
|
"hostNetwork": true,
|
|
"serviceAccount": "node-feature-discovery",
|
|
"containers": [
|
|
{
|
|
"env": [
|
|
{
|
|
"name": "NODE_NAME",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"fieldPath": "spec.nodeName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"image": "quay.io/kubernetes_incubator/node-feature-discovery:v0.1.0",
|
|
"name": "node-feature-discovery",
|
|
"args": ["--sleep-interval=60s"]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|