treasuremap/tools/deployment/40_deploy_lma.sh
Steven Fitzpatrick 7aef5fe7a7 Treasuremap Monitoring composite
This change adds a function for deploying banzaicloud/thanos-operator,
a composite which deploys grafana and a thanos querier,
and a phase documents for running this composite in the target cluster

This change includes a couple of thanos operator CRs, located in
function/lma-configs, which can be applied by running the phase
lma-configs

Change-Id: I406b45373b6029b2503e11883bb6aa91ebbac481
2021-03-15 14:54:43 +00:00

22 lines
722 B
Bash
Executable File

#!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -xe
echo "Deploying LMA stack"
airshipctl phase run --debug lma-infra
airshipctl phase run --debug lma-stack
airshipctl phase run --debug lma-configs