Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rollout.Spec.Strategy.Canary.MinPodsPerRS #1

Open
wants to merge 180 commits into
base: master
Choose a base branch
from

Conversation

ssanders1449
Copy link
Owner

No description provided.

khhirani and others added 30 commits November 18, 2021 10:45
)

fix: reset the progress condition when a pod is restarted (argoproj#1649)

Signed-off-by: Hui Kang <[email protected]>

Co-authored-by: Hui Kang <[email protected]>
Co-authored-by: Rohit Agrawal <[email protected]>
* docs: Add link to awesome-argo for more resources

Signed-off-by: Yuan Tang <[email protected]>

* Retrigger CI pipeline

Signed-off-by: Yuan Tang <[email protected]>
* fix: sending updates to dashboard when a pod terminates

Signed-off-by: Andrii Perenesenko <[email protected]>

* Fix imports

Signed-off-by: Andrii Perenesenko <[email protected]>
dryRun can be used on a metric to control whether or not to evaluate that metric in a dry-run mode. A metric running
in the dry-run mode won't impact the final state of the rollout or experiment even if it fails or the evaluation comes
out as inconclusive.

Signed-off-by: Rohit Agrawal <[email protected]>
…in go 1.17 (argoproj#1692)

* chore: pin sys module to resolve a fatal runtime execution in go 1.17

Signed-off-by: Hui Kang <[email protected]>

* go mod tidy

Signed-off-by: Hui Kang <[email protected]>
Signed-off-by: Alexander Matyushentsev <[email protected]>
…j#1572 (argoproj#1577)

* fix: use patch to update workload-generation annotation

Signed-off-by: Alexander Matyushentsev <[email protected]>

* Add support for AWS ALB TargetGroupStickinessConfig

Adds support for AWS ALB [TargetGroupStickinessConfig](https://aws.amazon.com/blogs/aws/new-application-load-balancer-simplifies-deployment-with-weighted-target-groups/)

This is required to support sticky session on the listener level while Argo is using ALB's weighting

Signed-off-by: Sebastian J <[email protected]>

* Remove code smells

Signed-off-by: Sebastian J <[email protected]>

* more code smells

Signed-off-by: Sebastian J <[email protected]>

* PR feedback

Signed-off-by: Sebastian J <[email protected]>

* Revert

Signed-off-by: Sebastian J <[email protected]>

* Another test round

Signed-off-by: Sebastian J <[email protected]>

* Force codegen GO 1.16

Forced codegen via downgrading to Go 1.16:

```
$ env|grep GO

GOPATH=/Users/sebastian/go
```

```
$ go version

go version go1.16.10 darwin/amd64
```

```
$ echo $PATH

/Users/sebastian/.sdkman/candidates/micronaut/current/bin:/Users/sebastian/.sdkman/candidates/java/current/bin:/Users/sebastian/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/bin:/Users/sebastian/go/bin
```

Signed-off-by: Sebastian J <[email protected]>

* Added documentaiton

Signed-off-by: Sebastian J <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
argoproj#1603)

Bumps [github.com/evanphx/json-patch/v5](https://github.com/evanphx/json-patch) from 5.2.0 to 5.6.0.
- [Release notes](https://github.com/evanphx/json-patch/releases)
- [Commits](evanphx/json-patch@v5.2.0...v5.6.0)

---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…j#1508)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](codecov/codecov-action@v2.0.3...v2.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix: Enable default triggers for argo rollouts (argoproj#1689)

Signed-off-by: Ravi Hari <[email protected]>
- keep promote and abort buttons enabled while deploying
- disable them at all other times
- also, only enable retry button when Rollout is degraded

Fixes argoproj#1581

Signed-off-by: Ben Poland <[email protected]>
Cylix and others added 26 commits June 30, 2022 14:04
…j#1986)

* fix: make sure we update rollout.Status.ALB when first create Rollout object

This fixes the case when we first create a rollout the status.ALB field does not
get updated with valid information form the elb.

Signed-off-by: zachaller <[email protected]>

* Refactor check for if we should verify alb.

This creates a new rolloututil function ShouldVerifyWeight that verifies
that we should call aws because the rollout is in the middle of some update.

The reason I feel this should move into the ingress implmentation function VerifyWeight
is becuase in the future other ingresses might also need to verify weights and adding
ingress specific status checks in trafficrouting.go like a leak details where it should be
up to the ingress provider to determin if it should be careful of rate limiting do to say it
being a cloud provider call.

Signed-off-by: zachaller <[email protected]>

* lint

Signed-off-by: zachaller <[email protected]>

* Fix tests

Signed-off-by: zachaller <[email protected]>

* Add new test for ShouldVerifyWeight

Signed-off-by: zachaller <[email protected]>

* Fix logic

Signed-off-by: zachaller <[email protected]>

* Add test for where we do not need to verify weight and its already set

Signed-off-by: zachaller <[email protected]>

* fix up review comments

Signed-off-by: zachaller <[email protected]>

* fix tests

Signed-off-by: zachaller <[email protected]>

* fix bad merge

Signed-off-by: zachaller <[email protected]>

* Fix test

Signed-off-by: zachaller <[email protected]>

* Fix test

Signed-off-by: zachaller <[email protected]>

* Clearer function name

Signed-off-by: zachaller <[email protected]>

* Clean up if logic

Signed-off-by: zachaller <[email protected]>
…build up (argoproj#2115)

* fix: remove metrics on resource removal

Signed-off-by: zachaller <[email protected]>

* Add test

Signed-off-by: zachaller <[email protected]>

* More tests

Signed-off-by: zachaller <[email protected]>

* back off deps updates

Signed-off-by: zachaller <[email protected]>

* Fix dep change

Signed-off-by: zachaller <[email protected]>

* upgrade prom deps for new features

Signed-off-by: zachaller <[email protected]>

* fix deps

Signed-off-by: zachaller <[email protected]>
…oproj#2102. (argoproj#2094)

* Graphite metrics provider linked in docs sidebar

This fixes an issue wherein the Graphite metrics
provider has no sidebar link in the docs hosted
at https://argoproj.github.io/argo-rollouts/.

As a bonus, this also removes various trailing
whitespace from analysis docs.

Signed-off-by: Mike Ball <[email protected]>

* build trigger

Signed-off-by: Mike Ball <[email protected]>
Signed-off-by: Hui Kang <[email protected]>

Co-authored-by: Hui Kang <[email protected]>
* Upgrade golang

Signed-off-by: zachaller <[email protected]>

* upgrade golang to 1.18 for e2e

Signed-off-by: zachaller <[email protected]>

* Fix deps

Signed-off-by: zachaller <[email protected]>

* Update build action

Signed-off-by: zachaller <[email protected]>

* Upgrade push action

Signed-off-by: zachaller <[email protected]>

* Update docker file

Signed-off-by: zachaller <[email protected]>

* Bump golang lint to match

Signed-off-by: zachaller <[email protected]>

* fix go.mod

Signed-off-by: zachaller <[email protected]>
…uts notification (argoproj#2150)

* fix: update rolloutobject with gvk before writing to rollout informer

Signed-off-by: Ravi Hari <[email protected]>

* fix: controller schema linting

Signed-off-by: Ravi Hari <[email protected]>

* docs: comment the details on the change

Signed-off-by: Ravi Hari <[email protected]>

* docs: comment the details on the change

Signed-off-by: Ravi Hari <[email protected]>
…proj#2198)

* fix: rootPath support so that it uses the embeded files system

Signed-off-by: zachaller <[email protected]>

* Catch edge cases and make sure we always server index.html on not found

Signed-off-by: zachaller <[email protected]>

* turn path.Clean into var

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
…es also adds an event for when it does changes. (argoproj#2203)

* feat: add healthy event/condition and fix completed event/condition

Signed-off-by: zachaller <[email protected]>

* fix unit tests

Signed-off-by: zachaller <[email protected]>

* rename vars to make more sense and remove healthy event becase it will never be consistent

Signed-off-by: zachaller <[email protected]>

* fix unit tests

Signed-off-by: zachaller <[email protected]>

* possible fix for e2e

Signed-off-by: zachaller <[email protected]>

* fix e2e

Signed-off-by: zachaller <[email protected]>

* unit test for complete function

Signed-off-by: zachaller <[email protected]>

* small cleanup and changes to not check generation

Signed-off-by: zachaller <[email protected]>

* fix unit test and proper behavior

Signed-off-by: zachaller <[email protected]>

* Fix e2e

Signed-off-by: zachaller <[email protected]>

* rename and fix one unit test

Signed-off-by: zachaller <[email protected]>

* fix unit tests

Signed-off-by: zachaller <[email protected]>

* fix unit test

Signed-off-by: zachaller <[email protected]>

* add seperate test for TestRolloutComplete

Signed-off-by: zachaller <[email protected]>

* renames

Signed-off-by: zachaller <[email protected]>

* fix e2e

Signed-off-by: zachaller <[email protected]>

* Set Completed to false

Signed-off-by: zachaller <[email protected]>

* Add event

Signed-off-by: zachaller <[email protected]>

* fix e2e

Signed-off-by: zachaller <[email protected]>

* refactor

Signed-off-by: zachaller <[email protected]>

* Fix all but one unit test

Signed-off-by: zachaller <[email protected]>

* fix last unit test

Signed-off-by: zachaller <[email protected]>

* lint

Signed-off-by: zachaller <[email protected]>

* cleanup

Signed-off-by: zachaller <[email protected]>

* Rename

Signed-off-by: zachaller <[email protected]>

* More renames

Signed-off-by: zachaller <[email protected]>

* small comment change

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
This change adds support for `spec.ingressClassName` while still supporting
`kubernetes.io/ingress.class` annotation for backwards compatibility.

Fixes argoproj#1277

Signed-off-by: Siavash Safi <[email protected]>

Signed-off-by: Siavash Safi <[email protected]>
* fix: Add pagination to FindLoadBalancerByDNSName (argoproj#1971)

* fix: this close issue argoproj#1963 by adding pagination to FindLoadBalancerByDNSName

This adds pagination to the FindLoadBalancerByDNSName function this
should allow argo rollouts to work with any number of loadbalancers.

Signed-off-by: zachaller <[email protected]>

* fix: missing lb event (argoproj#2021)

* fix: turn missing load balancer log into an event

Signed-off-by: zachaller <[email protected]>

* consistent naming

Signed-off-by: zachaller <[email protected]>

* fix: Use actual weight from status field on rollout object (argoproj#1937)

fix: Use actual weight from status field on rollout object (argoproj#1937)


Signed-off-by: zachaller <[email protected]>

* fix: build/lint is broken due to dependencies changes (argoproj#1958)

Signed-off-by: zachaller <[email protected]>

* following github workflow error prompt to fix

Signed-off-by: Travis Perdue <[email protected]>

* go fmt

Signed-off-by: Travis Perdue <[email protected]>

* make go-mod-vendor

Signed-off-by: Travis Perdue <[email protected]>

* fix path

Signed-off-by: Travis Perdue <[email protected]>

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Travis Perdue <[email protected]>
Co-authored-by: Zach Aller <[email protected]>
Co-authored-by: Travis Perdue <[email protected]>
Signed-off-by: Shlomo Sanders <[email protected]>
* fix: enable notifications without when condition

Signed-off-by: Ravi Hari <[email protected]>

* fix: use trigger action item from the list

Signed-off-by: Ravi Hari <[email protected]>

* fix: add emptycondition logic to make notifications work with/without conditions

Signed-off-by: Ravi Hari <[email protected]>

* fix: linting

Signed-off-by: Ravi Hari <[email protected]>

Signed-off-by: Ravi Hari <[email protected]>
Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
…roj#2256)

* fix: nil pointer while linting basic canary with Ingress resources

Signed-off-by: zachaller <[email protected]>

* Add test case

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
…#2139 (argoproj#2261)

* Add roundtripper to kubeconfig before creating kubeclient

Signed-off-by: Nikhil <[email protected]>

* Check if k8sRequestsCount is nil before attempting increase

Signed-off-by: Nikhil <[email protected]>

* Added Flipkart to Users.md

Signed-off-by: Nikhil <[email protected]>

* gofmt controller/metrics/client.go

Signed-off-by: Nikhil <[email protected]>

Signed-off-by: Nikhil <[email protected]>
…j#2268)

* fixes argoproj#2266

Signed-off-by: zachaller <[email protected]>

* typo

Signed-off-by: zachaller <[email protected]>

* test after calling set mirror

Signed-off-by: zachaller <[email protected]>

* Keep port on user defined service by adding to internal types

Signed-off-by: zachaller <[email protected]>

* github trigger re-run

Signed-off-by: zachaller <[email protected]>

* Drop port on virtual service to be consistent with added routes

Drop the port on the virtual service with the statment that rollouts only supports
one port services.

Signed-off-by: zachaller <[email protected]>

* cleanup test to just test extra fields and add a port check on destination as well

Signed-off-by: zachaller <[email protected]>

* keep port for both mirroring and header routes

Signed-off-by: zachaller <[email protected]>

* github trigger re-run

Signed-off-by: zachaller <[email protected]>

* github trigger re-run

Signed-off-by: zachaller <[email protected]>

* add function comment

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.