Add Flagger Kustomize installer for Contour

This commit is contained in:
stefanprodan
2019-12-20 11:46:23 +02:00
parent 851c6701b3
commit a537637dc9
4 changed files with 37 additions and 0 deletions
+8
View File
@@ -41,6 +41,14 @@ If you want to install a specific Flagger release, add the version number to the
kubectl apply -k github.com/weaveworks/flagger//kustomize/linkerd?ref=0.18.0
```
Install Flagger for Contour:
```bash
kubectl apply -k github.com/weaveworks/flagger//kustomize/contour
```
This deploys Flagger and Prometheus in the `projectcontour` namespace and sets Prometheus to scrape Contour's Envoy instances.
## Generic installer
Install Flagger and Prometheus:
+8
View File
@@ -0,0 +1,8 @@
namespace: flagger-system
resources:
- namespace.yaml
bases:
- ../base/flagger/
- ../base/prometheus/
patchesStrategicMerge:
- patch.yaml
+5
View File
@@ -0,0 +1,5 @@
apiVersion: v1
kind: Namespace
metadata:
name: projectcontour
+16
View File
@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flagger
spec:
template:
spec:
containers:
- name: flagger
args:
- -log-level=info
- -mesh-provider=contour
- -metrics-server=http://flagger-prometheus:9090
- -slack-user=flagger
- -slack-channel=
- -slack-url=