Files
flagger/test/skipper/kustomization.yaml
David Hohengaßner e09f44df77 📝 add documentation about Skipper Ingress (#15)
Skipper Ingress Controller support is added with
https://github.com/weaveworks/flagger/pull/670.

This commit add the documentation and links to mention
Skipper is now an available option.

Currently only Canary deployments are supported.
2020-08-18 17:02:53 +02:00

68 lines
2.5 KiB
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../kustomize/base/prometheus/
- ../../kustomize/base/flagger/
- https://raw.githubusercontent.com/zalando/skipper/v0.11.140/docs/kubernetes/deploy/deployment/rbac.yaml
- https://raw.githubusercontent.com/zalando/skipper/v0.11.140/docs/kubernetes/deploy/deployment/service.yaml
- https://raw.githubusercontent.com/zalando/skipper/v0.11.140/docs/kubernetes/deploy/deployment/deployment.yaml
- namespace.yaml
patchesStrategicMerge:
- patch.yaml
patches:
- target:
kind: Deployment
name: skipper-ingress
patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: skipper-ingress
spec:
template:
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "9911"
prometheus.io/scrape: "true"
spec:
nodeSelector:
$patch: delete
affinity:
$patch: delete
containers:
- name: skipper-ingress
image: registry.opensource.zalan.do/pathfinder/skipper:v0.11.141
ports:
- name: metrics-port
containerPort: 9911
resources:
$patch: delete
readinessProbe:
initialDelaySeconds: 5
args:
- skipper
- -default-filters-prepend=enableAccessLog(4,5)
- -address=:9999
- -disable-metrics-compat
- -enable-connection-metrics
- -enable-profile
- -enable-ratelimits
- -experimental-upgrade
- -histogram-metric-buckets=.01,1,10,100
- -kubernetes-in-cluster
- -kubernetes-path-mode=path-prefix
- -kubernetes
- -lb-healthcheck-interval=3s
- -max-audit-body=0
- -max-idle-connection-backend=0
- -metrics-exp-decay-sample
- -metrics-flavour=prometheus
- -proxy-preserve-host
- -route-backend-metrics
- -route-backend-error-counters
- -route-response-metrics
- -serve-host-metrics
- -serve-route-metrics
- -whitelisted-healthcheck-cidr=0.0.0.0/0 # kind uses other IP addresse