mathetake
64efd56ce9
pkg/metrics/observers: wrap errors
2020-03-08 10:56:35 +09:00
mathetake
5843b02931
pkg/canary: refator error messages
2020-03-08 10:42:51 +09:00
mathetake
2ec24bb17d
pkg/metrics/providers: wrap ErrNoValuesFound and modify controller accordingly
2020-03-08 00:17:52 +09:00
mathetake
7fb675e8aa
make deployment tests aligned with daemonset
2020-03-07 23:28:50 +09:00
mathetake
8e9b9a358f
pkg/canary: refator error handlings and enhance messages
2020-03-07 23:10:07 +09:00
stefanprodan
23e6209789
Release Flagger 1.0.0-rc.1
2020-03-04 16:13:49 +02:00
mathetake
a616199b81
refactor tests: simplify assertion
2020-03-04 21:46:08 +09:00
mathetake
ecb8207488
pkg/metrics/provider: fix a type in cloudwatch permission name in comments
2020-03-02 22:26:55 +09:00
mathetake
7b6a5f96a1
pkg/metrics/providers: add region filed for MetricTemplate.Provider
...
and make Address not required
2020-03-02 21:58:58 +09:00
mathetake
4ff28d7bd5
pkg/metrics/providers: add AWS CloudWatch metrics provider
2020-03-02 21:58:58 +09:00
stefanprodan
a30f688450
fmt: fix imports formatting
...
- run gofmt and goimports
2020-02-28 12:52:23 +02:00
stefanprodan
3e0867040f
Add unit tests for canary phases
2020-02-28 11:31:47 +02:00
stefanprodan
287977c2b5
Deprecate spec.canaryAnalysis replaced by spec.analysis
...
- add analysis field to Canary spec
- deprecate canaryAnalysis filed (to be removed in the next API version)
- maintain backwards compatibility with v1alpha3 by using spec.canaryAnalysis if spec.analysis is nil
- set analysis threshold default value to 1
2020-02-28 11:24:38 +02:00
mathetake
a157824130
metrics/provider: add datadog metrics provider
...
implement metrics provider interface for datadog, tested against
the actual datadog account
resolves #284
2020-02-27 17:35:03 +09:00
mathetake
9c8b887d30
use LastTransitionTime for deadline calculation
...
and run goimports on several files
2020-02-26 12:57:26 +09:00
mathetake
eec343f3aa
prevent infinite loop
2020-02-25 18:14:43 +09:00
mathetake
cc07c2891e
add DaemonSet targetKind in crd and change label selector
...
and ignore daemonSetScaleDownNodeSelector in target spec change detection
2020-02-25 13:00:36 +09:00
mathetake
5af1665ef8
pkg/controller: add unit test for daemonset target
2020-02-23 13:39:11 +09:00
mathetake
a828b43463
pkg/canary: add daemonset target controller
2020-02-23 12:25:38 +09:00
stefanprodan
3968e84efd
Fix Contour header override for Linkerd
2020-02-22 00:46:00 +02:00
Stefan Prodan
91ef81201e
Merge pull request #449 from ta924/loadtesterRollbackSupport
...
Add support for rollback gating in tester API
2020-02-19 10:13:28 +02:00
Tanner Altares
0598e4b51e
add support for rollback gating for loadtester
2020-02-18 12:33:52 -06:00
stefanprodan
c3b1ee6dae
Add test for last promoted hash
2020-02-18 08:32:56 +02:00
stefanprodan
f5182061ef
Compute spec hash with spew instead of hashstructure
2020-02-17 20:00:35 +02:00
stefanprodan
172c4f56dd
Use header operations in Istio router
...
- remove deprecated appendHeaders from Istio client
- propagate header operations from canary service headers to Istio virtual service
- add Istio router tests for request/response header removal
- update header operations examples in docs
2020-02-14 13:59:36 +02:00
stefanprodan
05050c950a
Add missing fields to Istio destination rule
...
- add ConsecutiveGatewayErrors, Consecutive5xxErrors and MinHealthPercent to OutlierDetection
- add H2UpgradePolicy and IdleTimeout to ConnectionPool HTTPSettings
2020-02-14 12:30:15 +02:00
stefanprodan
68c6d302b7
Add SMI router tests
2020-02-14 00:40:01 +02:00
stefanprodan
951a4435eb
Add SMI v1alpha1 to v1alpha2 conversion
2020-02-14 00:39:49 +02:00
stefanprodan
98bd8696f2
Refactor router test fixture
2020-02-14 00:38:51 +02:00
stefanprodan
41f535191e
Add SMI TrafficSplit v1alpha2 client
2020-02-14 00:37:25 +02:00
stefanprodan
4c5b226b4c
Add tests for Istio gateways
2020-02-12 11:21:52 +02:00
stefanprodan
ea4d9ba58d
Set destination port for Istio ingress gateways
2020-02-11 17:07:10 +02:00
stefanprodan
c181eb464c
Track projected configmaps and secrets
...
- scan volumes with projected configmaps and secrets
- update primary volumes with configmaps and/or secrets projections
- add tests for configmaps and secrets projections
2020-02-11 11:36:16 +02:00
stefanprodan
fd85a3426a
Implement Rocket chat notifier
2020-02-10 18:23:34 +02:00
stefanprodan
e257d48262
Add unit tests for canary alerts
2020-02-10 17:24:06 +02:00
stefanprodan
1a87a9be45
Implement notifications based on alert providers and severity
2020-02-10 15:25:56 +02:00
stefanprodan
35cf634d89
Implement Discord notifier with Slack formatting
2020-02-10 11:39:57 +02:00
stefanprodan
898edee67e
Refactor Flagger APIs and tests
...
- add CrossNamespaceObjectReference type
- add informers collection to controller
- use the informer cache to query for metric templates
- rename mock to fixture
- regenerate clientset
2020-02-10 10:36:31 +02:00
stefanprodan
0673b54092
Implement AlertProvider CRD
2020-02-10 10:36:31 +02:00
stefanprodan
7c0e3d9a0b
Allow config tracking toggling
...
- Add enable-config-tracking command arg (true by default)
- Add no-operation tracker
- Add tests for nop tracker
2020-02-08 22:24:46 +02:00
stefanprodan
5c479d9d80
Add metric templates to controller tests
2020-02-08 20:09:33 +02:00
stefanprodan
8f99e589a6
Add metrics to controller tests
...
Fix : #387
2020-02-08 19:08:36 +02:00
stefanprodan
de03d49f55
Implement metric threshold range
...
- add CanaryThresholdRange type to Canary API
- add optional thresholdRange field to the analysis metric object
- implement min/max metric result validation
- thresholdRange takes precedence over threshold when both are specified
2020-02-08 15:04:03 +02:00
stefanprodan
3f83f306a5
Upgrade canary resources in-cluster
2020-02-07 12:35:56 +02:00
stefanprodan
448c210324
Release API version v1beta1
...
- bump Canary and MetricTemplate version to v1beta1
- regenerate clientset and CRD
2020-02-07 12:35:56 +02:00
stefanprodan
eec287a501
Check if CRDs are registered before starting informers
2020-02-06 15:07:53 +02:00
stefanprodan
b17d84a39d
Run the metric checks defined in templates
2020-02-06 15:07:53 +02:00
stefanprodan
d7d9d1eabe
Migrate the builtin Prometheus checks to metric templates
2020-02-06 15:07:53 +02:00
stefanprodan
d154c63ac3
Implement Prometheus provider
2020-02-06 15:07:53 +02:00
stefanprodan
d9252748d2
Add MetricTemplate CRD and clientset
2020-02-06 15:07:53 +02:00