mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/{vmagent,vmalert}: add instruction on how to build for ARM
This commit is contained in:
parent
8c8c14c127
commit
3f498cf2dc
4 changed files with 66 additions and 0 deletions
|
@ -274,6 +274,22 @@ by setting it via `<ROOT_IMAGE>` environment variable. For example, the followin
|
||||||
ROOT_IMAGE=scratch make package-vmagent
|
ROOT_IMAGE=scratch make package-vmagent
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### ARM build
|
||||||
|
|
||||||
|
ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://blog.cloudflare.com/arm-takes-wing/).
|
||||||
|
|
||||||
|
#### Development ARM build
|
||||||
|
|
||||||
|
1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13.
|
||||||
|
2. Run `make vmagent-arm` or `make vmagent-arm64` from the root folder of the repository.
|
||||||
|
It builds `vmagent-arm` or `vmagent-arm64` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
#### Production ARM build
|
||||||
|
|
||||||
|
1. [Install docker](https://docs.docker.com/install/).
|
||||||
|
2. Run `make vmagent-arm-prod` or `make vmagent-arm64-prod` from the root folder of the repository.
|
||||||
|
It builds `vmagent-arm-prod` or `vmagent-arm64-prod` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
|
||||||
### Profiling
|
### Profiling
|
||||||
|
|
||||||
|
|
|
@ -286,3 +286,20 @@ It is recommended using
|
||||||
1. [Install docker](https://docs.docker.com/install/).
|
1. [Install docker](https://docs.docker.com/install/).
|
||||||
2. Run `make vmalert-prod` from the root folder of the repository.
|
2. Run `make vmalert-prod` from the root folder of the repository.
|
||||||
It builds `vmalert-prod` binary and puts it into the `bin` folder.
|
It builds `vmalert-prod` binary and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
|
||||||
|
#### ARM build
|
||||||
|
|
||||||
|
ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://blog.cloudflare.com/arm-takes-wing/).
|
||||||
|
|
||||||
|
#### Development ARM build
|
||||||
|
|
||||||
|
1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13.
|
||||||
|
2. Run `make vmalert-arm` or `make vmalert-arm64` from the root folder of the repository.
|
||||||
|
It builds `vmalert-arm` or `vmalert-arm64` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
#### Production ARM build
|
||||||
|
|
||||||
|
1. [Install docker](https://docs.docker.com/install/).
|
||||||
|
2. Run `make vmalert-arm-prod` or `make vmalert-arm64-prod` from the root folder of the repository.
|
||||||
|
It builds `vmalert-arm-prod` or `vmalert-arm64-prod` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
|
@ -274,6 +274,22 @@ by setting it via `<ROOT_IMAGE>` environment variable. For example, the followin
|
||||||
ROOT_IMAGE=scratch make package-vmagent
|
ROOT_IMAGE=scratch make package-vmagent
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### ARM build
|
||||||
|
|
||||||
|
ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://blog.cloudflare.com/arm-takes-wing/).
|
||||||
|
|
||||||
|
#### Development ARM build
|
||||||
|
|
||||||
|
1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13.
|
||||||
|
2. Run `make vmagent-arm` or `make vmagent-arm64` from the root folder of the repository.
|
||||||
|
It builds `vmagent-arm` or `vmagent-arm64` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
#### Production ARM build
|
||||||
|
|
||||||
|
1. [Install docker](https://docs.docker.com/install/).
|
||||||
|
2. Run `make vmagent-arm-prod` or `make vmagent-arm64-prod` from the root folder of the repository.
|
||||||
|
It builds `vmagent-arm-prod` or `vmagent-arm64-prod` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
|
||||||
### Profiling
|
### Profiling
|
||||||
|
|
||||||
|
|
|
@ -286,3 +286,20 @@ It is recommended using
|
||||||
1. [Install docker](https://docs.docker.com/install/).
|
1. [Install docker](https://docs.docker.com/install/).
|
||||||
2. Run `make vmalert-prod` from the root folder of the repository.
|
2. Run `make vmalert-prod` from the root folder of the repository.
|
||||||
It builds `vmalert-prod` binary and puts it into the `bin` folder.
|
It builds `vmalert-prod` binary and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
|
||||||
|
#### ARM build
|
||||||
|
|
||||||
|
ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://blog.cloudflare.com/arm-takes-wing/).
|
||||||
|
|
||||||
|
#### Development ARM build
|
||||||
|
|
||||||
|
1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13.
|
||||||
|
2. Run `make vmalert-arm` or `make vmalert-arm64` from the root folder of the repository.
|
||||||
|
It builds `vmalert-arm` or `vmalert-arm64` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
||||||
|
#### Production ARM build
|
||||||
|
|
||||||
|
1. [Install docker](https://docs.docker.com/install/).
|
||||||
|
2. Run `make vmalert-arm-prod` or `make vmalert-arm64-prod` from the root folder of the repository.
|
||||||
|
It builds `vmalert-arm-prod` or `vmalert-arm64-prod` binary respectively and puts it into the `bin` folder.
|
||||||
|
|
Loading…
Reference in a new issue