mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
54 lines
1.2 KiB
Text
54 lines
1.2 KiB
Text
{
|
|
"apiVersion": "extensions/v1beta1",
|
|
"kind": "Job",
|
|
"metadata": {
|
|
"labels": {
|
|
"app": "node-feature-discovery"
|
|
},
|
|
"name": "node-feature-discovery"
|
|
},
|
|
"spec": {
|
|
"completions": COMPLETION_COUNT,
|
|
"parallelism": PARALLELISM_COUNT,
|
|
"template": {
|
|
"metadata": {
|
|
"labels": {
|
|
"app": "node-feature-discovery"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"env": [
|
|
{
|
|
"name": "POD_NAME",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"fieldPath": "metadata.name"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "POD_NAMESPACE",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"fieldPath": "metadata.namespace"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"image": "quay.io/kubernetes_incubator/node-feature-discovery:v0.1.0",
|
|
"name": "node-feature-discovery",
|
|
"ports": [
|
|
{
|
|
"containerPort": 2233,
|
|
"hostPort": 7156
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"restartPolicy": "Never"
|
|
}
|
|
}
|
|
}
|
|
}
|