mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-22 19:09:30 +01:00
Add Docker Makefile target
With this change, the manifests are built in a Docker container without the need to install the pre-reqs like Golang, Jsonnet and etc.
This commit is contained in:
parent
9a9e92588c
commit
956a160a62
3
Makefile
3
Makefile
@ -18,6 +18,9 @@ manifests: $(JSONNET_BIN) ## Builds the manifests
|
||||
rm -rf manifests
|
||||
./scripts/build.sh main.jsonnet $(JSONNET_BIN)
|
||||
|
||||
docker: ## Builds the manifests in a Docker container to avoid installing pre-requisites (Golang, Jsonnet, etc)
|
||||
docker run -it --rm -v $(PWD):/work -w /work --rm golang make vendor && make
|
||||
|
||||
update_libs: $(JB_BINARY) ## Updates vendor libs. Require a regeneration of the manifests
|
||||
$(JB_BINARY) update
|
||||
|
||||
|
@ -38,7 +38,7 @@ The ingresses can use TLS with the default self-signed certificate from your Ing
|
||||
|
||||
Persistence for Prometheus and Grafana can be enabled in the `enablePersistence` section. Setting each to `true`, creates the volume PVCs. If no PV names are defined in `prometheusPV` and `grafanaPV`, the default StorageClass will be used to dynamically create the PVs The sizes can be adjusted in `prometheusSizePV` and `grafanaSizePV`.
|
||||
|
||||
Changing these parameters require a rebuild of the manifests with `make` followed by `make deploy`.
|
||||
Changing these parameters require a rebuild of the manifests with `make` followed by `make deploy`. To avoid installing all pre-requisites like Golang, Jsonnet, Jsonnet-bundler, use the target `make docker` to build in a container.
|
||||
|
||||
## Quickstart (non K3s)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user