-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #561 from pwschuurman/arm64-support
Added arm64 targets for linux binaries
- Loading branch information
Showing
4 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,12 +137,16 @@ For example, to run without auth, use the following config: | |
|
||
## Build Image | ||
|
||
* Install development dependencies for `libsystemd` and the ARM GCC toolchain | ||
* Debian: `apt install libsystemd-dev gcc-aarch64-linux-gnu` | ||
* Ubuntu: `apt install libsystemd-journal-dev gcc-aarch64-linux-gnu` | ||
|
||
* `go get` or `git clone` node-problem-detector repo into `$GOPATH/src/k8s.io` or `$GOROOT/src/k8s.io` | ||
with one of the below directions: | ||
* `cd $GOPATH/src/k8s.io && git clone [email protected]:kubernetes/node-problem-detector.git` | ||
* `cd $GOPATH/src/k8s.io && go get k8s.io/node-problem-detector` | ||
|
||
* run `make` in the top directory. It will: | ||
* Run `make` in the top directory. It will: | ||
* Build the binary. | ||
* Build the docker image. The binary and `config/` are copied into the docker image. | ||
|
||
|
@@ -158,11 +162,6 @@ and [System Stats Monitor](https://github.com/kubernetes/node-problem-detector/t | |
Check out the [Problem Daemon](https://github.com/kubernetes/node-problem-detector#problem-daemon) section | ||
to see how to disable each problem daemon during compilation time. | ||
|
||
**Note**: | ||
By default, node-problem-detector will be built with systemd support with the `make` command. This requires systemd develop files. | ||
You should download the systemd develop files first. For Ubuntu, the `libsystemd-journal-dev` package should | ||
be installed. For Debian, the `libsystemd-dev` package should be installed. | ||
|
||
## Push Image | ||
|
||
`make push` uploads the docker image to a registry. By default, the image will be uploaded to | ||
|
@@ -320,4 +319,4 @@ See [NPD e2e test documentation](https://github.com/kubernetes/node-problem-dete | |
* [Slides](https://docs.google.com/presentation/d/1bkJibjwWXy8YnB5fna6p-Ltiy-N5p01zUsA22wCNkXA/edit?usp=sharing) | ||
* [Plugin Interface Proposal](https://docs.google.com/document/d/1jK_5YloSYtboj-DtfjmYKxfNnUxCAvohLnsH5aGCAYQ/edit#) | ||
* [Addon Manifest](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/node-problem-detector) | ||
* [Metrics Mode Proposal](https://docs.google.com/document/d/1SeaUz6kBavI283Dq8GBpoEUDrHA2a795xtw0OvjM568/edit) | ||
* [Metrics Mode Proposal](https://docs.google.com/document/d/1SeaUz6kBavI283Dq8GBpoEUDrHA2a795xtw0OvjM568/edit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters