cbd7938596
This should be done after we are happy with the cleanups that nodepool has performed particularly against the zk database. Otherwise we may need to do manual cleanup after this provider config is removed. We also remove the auto generation of the linaro cloud grafana dashboard rules but don't remove the dashboard itself. We typically keep the dashboards around for a while as the information exposed there may continue to be useful after the cloud is gone. Change-Id: I40acd28146484cb81f87ee825787d578eb964de8
27 lines
733 B
Bash
Executable File
27 lines
733 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# Creates graphs for nodepool regions from a given provider
|
|
#
|
|
# Note we are somewhat particular about keeping these separate to
|
|
# avoid the idea that we are providing some sort of cross-provider
|
|
# benchmark.
|
|
#
|
|
|
|
function create {
|
|
local provider="$1"
|
|
local stat_list="$2"
|
|
local output_file="$3"
|
|
|
|
sed -e "s/%PROVIDER%/${provider}/; " \
|
|
-e "s/%STAT_LIST%/${stat_list}/" \
|
|
-e "s/%OUTPUT_FILE%/${output_file}/" \
|
|
nodepool.template > ${output_file}
|
|
}
|
|
|
|
create Rackspace 'rax-*' nodepool-rax.yaml
|
|
create OVH 'ovh-*' nodepool-ovh.yaml
|
|
create Vexxhost 'vexxhost-*' nodepool-vexxhost.yaml
|
|
create OSUOSL 'osuosl-*' nodepool-osuosl.yaml
|
|
create OpenMetal 'openmetal-*' nodepool-openmetal.yaml
|