Update docs to Helm v3

This commit is contained in:
stefanprodan
2020-02-13 12:59:13 +02:00
parent bd3435b82d
commit 6347861fda
2 changed files with 12 additions and 16 deletions
@@ -1,13 +1,10 @@
# Flagger install on Kubernetes
This guide walks you through setting up Flagger on a Kubernetes cluster with Helm or Kustomize.
This guide walks you through setting up Flagger on a Kubernetes cluster with Helm v3 or Kustomize.
### Prerequisites
Flagger requires a Kubernetes cluster **v1.11** or newer with the following admission controllers enabled:
* MutatingAdmissionWebhook
* ValidatingAdmissionWebhook
Flagger requires a Kubernetes cluster **v1.11** or newer.
### Install Flagger with Helm
@@ -75,25 +72,24 @@ helm upgrade -i flagger flagger/flagger \
--set msteams.url=https://outlook.office.com/webhook/YOUR/TEAMS/WEBHOOK
```
If you don't have Tiller you can use the helm template command and apply the generated yaml with kubectl:
You can use the helm template command and apply the generated yaml with kubectl:
```bash
# generate
helm fetch --untar --untardir . flagger/flagger &&
helm template flagger \
--name flagger \
helm template flagger ./flagger \
--namespace=istio-system \
--set metricsServer=http://prometheus.istio-system:9090 \
> $HOME/flagger.yaml
> flagger.yaml
# apply
kubectl apply -f $HOME/flagger.yaml
kubectl apply -f flagger.yaml
```
To uninstall the Flagger release with Helm run:
```text
helm delete --purge flagger
helm delete flagger
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
@@ -127,13 +123,12 @@ Or use helm template command and apply the generated yaml with kubectl:
```bash
# generate
helm fetch --untar --untardir . flagger/grafana &&
helm template grafana \
--name flagger-grafana \
helm template flagger-grafana ./grafana \
--namespace=istio-system \
> $HOME/flagger-grafana.yaml
> flagger-grafana.yaml
# apply
kubectl apply -f $HOME/flagger-grafana.yaml
kubectl apply -f flagger-grafana.yaml
```
You can access Grafana using port forwarding:
@@ -8,9 +8,10 @@ This guide shows you how to use the NGINX ingress controller and Flagger to auto
Flagger requires a Kubernetes cluster **v1.11** or newer and NGINX ingress **0.24** or newer.
Install NGINX with Helm:
Install NGINX with Helm v3:
```bash
kubectl create ns ingress-nginx
helm upgrade -i nginx-ingress stable/nginx-ingress \
--namespace ingress-nginx \
--set controller.stats.enabled=true \