mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
updated gloo unit tests
Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> intermediate commit Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> updated gloo unit tests Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> copy config from upstream ref to flagger-generateed upstreams Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> removed unneeded types Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> make fmt Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> added code-generator to replace Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> reverted go.mod Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> fixed struct Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> updated e2es with new upstream ref Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io> Add note to docs about upstreamRef Signed-off-by: Kevin Dorosh <kevin.dorosh@solo.io> Fix typo, improve clarity Signed-off-by: Kevin Dorosh <kevin.dorosh@solo.io>
This commit is contained in:
committed by
Kevin Dorosh
parent
3ad55c9750
commit
a286625ad9
@@ -10,8 +10,8 @@ and Flagger to automate canary releases and A/B testing.
|
||||
Flagger requires a Kubernetes cluster **v1.16** or newer and Gloo Edge ingress **1.6.0** or newer.
|
||||
|
||||
This guide was written for Flagger version **1.6.0** or higher. Prior versions of Flagger
|
||||
used Gloo upstream groups to handle canaries, but newer versions of Flagger use Gloo
|
||||
route tables to handle canaries as well as A/B testing.
|
||||
used Gloo `UpstreamGroup`s to handle canaries, but newer versions of Flagger use Gloo
|
||||
`RouteTable`s to handle canaries as well as A/B testing.
|
||||
|
||||
Install Gloo with Helm v3:
|
||||
|
||||
@@ -36,7 +36,7 @@ helm upgrade -i flagger flagger/flagger \
|
||||
## Bootstrap
|
||||
|
||||
Flagger takes a Kubernetes deployment and optionally a horizontal pod autoscaler (HPA),
|
||||
then creates a series of objects (Kubernetes deployments, ClusterIP services and Gloo route tables groups).
|
||||
then creates a series of objects (Kubernetes deployments, ClusterIP services, Gloo route tables and upstreams).
|
||||
These objects expose the application outside the cluster and drive the canary analysis and promotion.
|
||||
|
||||
Create a test namespace:
|
||||
@@ -94,6 +94,14 @@ metadata:
|
||||
name: podinfo
|
||||
namespace: test
|
||||
spec:
|
||||
# upstreamRef (optional)
|
||||
# defines an upstream to copy the spec from when flagger generates new upstreams.
|
||||
# necessary to copy over TLS config, circuit breakers, etc. (anything nonstandard)
|
||||
# upstreamRef:
|
||||
# apiVersion: gloo.solo.io/v1
|
||||
# kind: Upstream
|
||||
# name: podinfo-upstream
|
||||
# namespace: gloo-system
|
||||
provider: gloo
|
||||
# deployment reference
|
||||
targetRef:
|
||||
|
||||
Reference in New Issue
Block a user