mirror of
https://github.com/fluxcd/flagger.git
synced 2026-02-28 16:50:31 +00:00
This commit updates the linkerd version to `2.10`, along with the install script to download the arm version. It also updates the install script and metricsTempalte to install and use the viz Prometheus respectively. Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
26 lines
784 B
Bash
Executable File
26 lines
784 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
|
|
LINKERD_VER="stable-2.10.0"
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
|
|
mkdir -p ${REPO_ROOT}/bin
|
|
|
|
curl -SsL https://github.com/linkerd/linkerd2/releases/download/${LINKERD_VER}/linkerd2-cli-${LINKERD_VER}-linux-amd64 > ${REPO_ROOT}/bin/linkerd
|
|
chmod +x ${REPO_ROOT}/bin/linkerd
|
|
|
|
echo ">>> Installing Linkerd ${LINKERD_VER}"
|
|
${REPO_ROOT}/bin/linkerd install | kubectl apply -f -
|
|
${REPO_ROOT}/bin/linkerd check
|
|
|
|
echo ">>> Installing Linkerd Viz"
|
|
${REPO_ROOT}/bin/linkerd viz install | kubectl apply -f -
|
|
${REPO_ROOT}/bin/linkerd viz check
|
|
|
|
echo '>>> Installing Flagger'
|
|
kubectl apply -k ${REPO_ROOT}/kustomize/linkerd
|
|
|
|
kubectl -n linkerd set image deployment/flagger flagger=test/flagger:latest
|
|
kubectl -n linkerd rollout status deployment/flagger
|