spec.provider
.deployment/<targetRef.name>-primary
hpa/<autoscalerRef.name>-primary
app: <DEPLOYMENT-NAME>
:app
, Flagger supports name
and app.kubernetes.io/name
selectors. If you use a different convention you can specify your label with the -selector-labels=my-app-label
command flag in the Flagger deployment manifest under containers args or by setting --set selectorLabels=my-app-label
when installing Flagger with Helm.-primary
suffix and will reference these objects in the primary deployment. If you annotate your ConfigMap or Secret with flagger.app/config-tracking: disabled
, Flagger will use the same object for the primary deployment instead of making a primary copy. You can disable the secrets/configmaps tracking globally with the -enable-config-tracking=false
command flag in the Flagger deployment manifest under containers args or by setting --set configTracking.enabled=false
when installing Flagger with Helm, but disabling config-tracking using the per Secret/ConfigMap annotation may fit your use-case better.service.port
or service.targetPort
. The service.name
is optional, defaults to spec.targetRef.name
. The service.targetPort
can be a container port number or name. The service.portName
is optional (defaults to http
), if your workload uses gRPC then set the port name to grpc
.<service.name>.<namespace>.svc.cluster.local
app=<name>-primary
<service.name>-primary.<namespace>.svc.cluster.local
app=<name>-primary
<service.name>-canary.<namespace>.svc.cluster.local
app=<name>
podinfo.test:9898
will be routed to the latest stable release of your app. The podinfo-canary.test:9898
address is available only during the canary analysis and can be used for conformance testing or load testing.apex
annotations are added to both the generated Kubernetes Service and the generated service mesh/ingress object. This allows using external-dns with Istio VirtualServices
and TraefikServices
. Beware of configuration conflicts here.Promoted
status condition can have one of the following reasons: Initialized, Waiting, Progressing, WaitingPromotion, Promoting, Finalising, Succeeded or Failed. A failed canary will have the promoted status set to false
, the reason to failed
and the last applied spec will be different to the last promoted one.revertOnDeletion
attribute can be enabled.skipAnalysis
attribute, which limits the need for resource reconciliation. Utilizing the revertOnDeletion
attribute should be enabled when you no longer plan to rely on Flagger for deployment management.