mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-30 19:54:46 +00:00
Nixed build instrs for rdt outside container.
This commit is contained in:
parent
4bd63cb7f3
commit
308d999845
1 changed files with 7 additions and 19 deletions
26
README.md
26
README.md
|
@ -66,7 +66,6 @@ At a minimum, you will need:
|
||||||
|
|
||||||
1. Linux (x86_64)
|
1. Linux (x86_64)
|
||||||
1. [kubectl] [kubectl-setup] (properly set up and configured to work with your Kubernetes cluster)
|
1. [kubectl] [kubectl-setup] (properly set up and configured to work with your Kubernetes cluster)
|
||||||
1. [GCC] [gcc-down] (only required to build software to detect Intel RDT feature set)
|
|
||||||
1. [Docker] [docker-down] (only required to build and push docker images)
|
1. [Docker] [docker-down] (only required to build and push docker images)
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
@ -91,19 +90,7 @@ Download the source code.
|
||||||
git clone https://github.com/intelsdi-x/dbi-iafeature-discovery
|
git clone https://github.com/intelsdi-x/dbi-iafeature-discovery
|
||||||
```
|
```
|
||||||
|
|
||||||
The build steps described below are optional. The default docker image in
|
**Build the Docker image:**
|
||||||
Dockerhub at `intelsdi/nodelabels` can be used to decorate the Kubernetes node
|
|
||||||
with CPU features. Skip to usage instructions if you do not need to build your
|
|
||||||
own docker image.
|
|
||||||
|
|
||||||
**Build the Intel RDT Detection Software Using `make` (Optional):**
|
|
||||||
|
|
||||||
```
|
|
||||||
cd <project-root>/rdt-discovery
|
|
||||||
make
|
|
||||||
```
|
|
||||||
|
|
||||||
**Build the Docker image (optional):**
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cd <project-root>
|
cd <project-root>
|
||||||
|
@ -116,17 +103,18 @@ Push the Docker Image (optional)
|
||||||
docker push
|
docker push
|
||||||
```
|
```
|
||||||
|
|
||||||
**Change the job spec to use your new image (optional):**
|
**Change the job spec to use your custom image (optional):**
|
||||||
|
|
||||||
To use your published image from the step above instead of the
|
To use your published image from the step above instead of the
|
||||||
`intelsdi/nodelabels` image, edit line 40 in the file
|
`intelsdi/nodelabels` image, edit line 40 in the file
|
||||||
[dbi-iafeature-discovery-job.json.template](dbi-iafeature-discovery-job.json.template) to
|
[dbi-iafeature-discovery-job.json.template](dbi-iafeature-discovery-job.json.template)
|
||||||
the new location (`<user>/<image-name>`).
|
to the new location (`<user>/<image-name>`).
|
||||||
|
|
||||||
## Targeting Nodes with Specific Features
|
## Targeting Nodes with Specific Features
|
||||||
|
|
||||||
Nodes with specific features can be targeted using the `nodeSelector` field. The following example shows
|
Nodes with specific features can be targeted using the `nodeSelector` field.
|
||||||
how to target the Intel RDT L3 cache allocation (RDTL3CA) feature.
|
The following example shows how to target the Intel RDT L3 cache allocation
|
||||||
|
(RDTL3CA) feature.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue