increase docker mem allocation (#31197)

This commit is contained in:
axleiro 2023-04-14 03:06:23 -05:00 committed by GitHub
parent 1bf69b448b
commit 577cc185fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 20 additions and 0 deletions

View File

@ -34,6 +34,7 @@ sudo chmod 0444 certs/*
# (Re) start the Alertmanager container # (Re) start the Alertmanager container
sudo docker run -it -d \ sudo docker run -it -d \
--memory=10g \
--publish 9094:9094 \ --publish 9094:9094 \
--name=alertmanager-discord \ --name=alertmanager-discord \
--env DISCORD_WEBHOOK="$DISCORD_WEBHOOK_ALERTMANAGER" \ --env DISCORD_WEBHOOK="$DISCORD_WEBHOOK_ALERTMANAGER" \

View File

@ -36,6 +36,7 @@ sudo chown buildkite-agent:buildkite-agent certs
# (Re) start the Alertmanager container # (Re) start the Alertmanager container
sudo docker run -it -d \ sudo docker run -it -d \
--memory=10g \
--user root:root \ --user root:root \
--publish 9093:9093 \ --publish 9093:9093 \
--name=alertmanager \ --name=alertmanager \

View File

@ -37,6 +37,7 @@ sudo chown buildkite-agent:buildkite-agent certs
#(Re) start the container #(Re) start the container
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--env AUTH_DURATION=24h \ --env AUTH_DURATION=24h \
--env inactivity-duration=48h \ --env inactivity-duration=48h \

View File

@ -35,6 +35,7 @@ sudo chown buildkite-agent:buildkite-agent certs
# (Re) start the container # (Re) start the container
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--name=chronograf_8889 \ --name=chronograf_8889 \
--env AUTH_DURATION=24h \ --env AUTH_DURATION=24h \

View File

@ -35,6 +35,7 @@ sudo chmod 0444 certs/*
# (Re) start the container # (Re) start the container
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--name=grafana \ --name=grafana \
--net=influxdb \ --net=influxdb \

View File

@ -26,6 +26,7 @@ container=kapacitor
#running influx kapacitor service #running influx kapacitor service
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--name=kapacitor \ --name=kapacitor \
--env KAPACITOR_USERNAME="$KAPACITOR_USERNAME" \ --env KAPACITOR_USERNAME="$KAPACITOR_USERNAME" \

View File

@ -35,6 +35,7 @@ sudo chmod 0444 certs/*
# (Re) start prometheus container # (Re) start prometheus container
sudo docker run -it -d \ sudo docker run -it -d \
--memory=10g \
--user root:root \ --user root:root \
--publish 9090:9090 \ --publish 9090:9090 \
--name=prometheus \ --name=prometheus \

View File

@ -77,3 +77,9 @@ scrape_configs:
scrape_timeout: 14s scrape_timeout: 14s
static_configs: static_configs:
- targets: ['kin-rpc-am6-1:9100','kin-rpc-da11-1:9100','kin-validator-am6-1:9100','kin-validator-da11-1:9100','kin-validator-ny5-1:9100','kin-validator-sg1-1:9100','kin-spare-sg1-1:9100'] - targets: ['kin-rpc-am6-1:9100','kin-rpc-da11-1:9100','kin-validator-am6-1:9100','kin-validator-da11-1:9100','kin-validator-ny5-1:9100','kin-validator-sg1-1:9100','kin-spare-sg1-1:9100']
- job_name: 'Metrics'
scrape_interval: 15s
scrape_timeout: 14s
static_configs:
- targets: ['metrics-main:9100']

View File

@ -50,6 +50,7 @@ sudo chmod 0444 certs/*
sudo chown buildkite-agent:buildkite-agent certs sudo chown buildkite-agent:buildkite-agent certs
sudo docker run -it -d \ sudo docker run -it -d \
--memory=10g \
--user root:root \ --user root:root \
--publish 9090:9090 \ --publish 9090:9090 \
--name=prometheus \ --name=prometheus \
@ -60,6 +61,7 @@ sudo docker run -it -d \
$PROMETHEUS_IMAGE $PROMETHEUS_IMAGE
sudo docker run -it -d \ sudo docker run -it -d \
--memory=10g \
--user root:root \ --user root:root \
--publish 9093:9093 \ --publish 9093:9093 \
--name=alertmanager \ --name=alertmanager \
@ -68,12 +70,14 @@ sudo docker run -it -d \
$ALERTMANAGER_IMAGE $ALERTMANAGER_IMAGE
sudo docker run -it -d \ sudo docker run -it -d \
--memory=10g \
--publish 9094:9094 \ --publish 9094:9094 \
--name=alertmanager-discord \ --name=alertmanager-discord \
--env DISCORD_WEBHOOK="$DISCORD_WEBHOOK_ALERTMANAGER" \ --env DISCORD_WEBHOOK="$DISCORD_WEBHOOK_ALERTMANAGER" \
$ALERTMANAGER_DISCORD_IMAGE $ALERTMANAGER_DISCORD_IMAGE
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--name=grafana \ --name=grafana \
--net=influxdb \ --net=influxdb \
@ -94,6 +98,7 @@ sudo docker run \
sleep 20s sleep 20s
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--name=chronograf_8889 \ --name=chronograf_8889 \
--env AUTH_DURATION=24h \ --env AUTH_DURATION=24h \
@ -114,6 +119,7 @@ sudo docker run \
$CHRONOGRAF_IMAGE --influxdb-url=https://"$HOST":8086 --influxdb-username="$INFLUXDB_USERNAME" --influxdb-password="$INLUXDB_PASSWORD" --auth-duration="720h" --inactivity-duration="48h" $CHRONOGRAF_IMAGE --influxdb-url=https://"$HOST":8086 --influxdb-username="$INFLUXDB_USERNAME" --influxdb-password="$INLUXDB_PASSWORD" --auth-duration="720h" --inactivity-duration="48h"
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--env AUTH_DURATION=24h \ --env AUTH_DURATION=24h \
--env inactivity-duration=48h \ --env inactivity-duration=48h \
@ -135,6 +141,7 @@ sudo docker run \
$CHRONOGRAF_IMAGE --influxdb-url=https://"$HOST":8086 --auth-duration="720h" --inactivity-duration="48h" $CHRONOGRAF_IMAGE --influxdb-url=https://"$HOST":8086 --auth-duration="720h" --inactivity-duration="48h"
sudo docker run \ sudo docker run \
--memory=10g \
--detach \ --detach \
--name=kapacitor \ --name=kapacitor \
--env KAPACITOR_USERNAME="$KAPACITOR_USERNAME" \ --env KAPACITOR_USERNAME="$KAPACITOR_USERNAME" \