Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installers for kustomize >= 3.6.0 #646

Merged
merged 2 commits into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/gitbook/install/flagger-install-on-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,37 +171,37 @@ As an alternative to Helm, Flagger can be installed with Kustomize **3.5.0** or
Install Flagger for Istio:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/istio | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/istio | kubectl apply -f -
```

Install Flagger for AWS App Mesh:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/appmesh | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/appmesh | kubectl apply -f -
```

This deploys Flagger and sets the metrics server URL to App Mesh's Prometheus instance.

Install Flagger for Linkerd:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/linkerd | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/linkerd | kubectl apply -f -
```

This deploys Flagger in the `linkerd` namespace and sets the metrics server URL to Linkerd's Prometheus instance.

If you want to install a specific Flagger release, add the version number to the URL:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/linkerd?ref=0.18.0 | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/linkerd?ref=v1.0.0 | kubectl apply -f -
```

**Generic installer**

Install Flagger and Prometheus for Contour, Gloo or NGINX ingress:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/kubernetes | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/kubernetes | kubectl apply -f -
```

This deploys Flagger and Prometheus in the `flagger-system` namespace, sets the metrics server URL
Expand Down
14 changes: 7 additions & 7 deletions kustomize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,44 @@ As an alternative to Helm, Flagger can be installed with [Kustomize](https://kus
**Prerequisites**

- Kubernetes cluster **>=1.13.0**
- Kustomize **>=3.5.0**
- Kustomize **>=3.6.0**

## Service mesh specific installers

Install Flagger for Istio:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/istio | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/istio | kubectl apply -f -
```

This deploys Flagger in the `istio-system` namespace and sets the metrics server URL to Istio's Prometheus instance.

Install Flagger for AWS App Mesh:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/appmesh | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/appmesh | kubectl apply -f -
```

This deploys Flagger in the `appmesh-system` namespace and sets the metrics server URL to App Mesh Prometheus instance.

Install Flagger for Linkerd:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/linkerd | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/linkerd | kubectl apply -f -
```

This deploys Flagger in the `linkerd` namespace and sets the metrics server URL to Linkerd's Prometheus instance.

If you want to install a specific Flagger release, add the version number to the URL:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/linkerd?ref=0.18.0 | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/linkerd?ref=v1.0.0 | kubectl apply -f -
```

Install Flagger for Contour:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/contour | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/contour | kubectl apply -f -
```

This deploys Flagger and Prometheus in the `projectcontour` namespace and sets Prometheus to scrape Contour's Envoy instances.
Expand All @@ -52,7 +52,7 @@ This deploys Flagger and Prometheus in the `projectcontour` namespace and sets P
Install Flagger and Prometheus:

```bash
kustomize build github.com/weaveworks/flagger//kustomize/kubernetes | kubectl apply -f -
kustomize build https://github.com/weaveworks/flagger/kustomize/kubernetes | kubectl apply -f -
```

This deploys Flagger and Prometheus in the `flagger-system` namespace,
Expand Down