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 locality lb settings support on destination rules #41

Conversation

aattuluri
Copy link
Contributor

No description provided.

Signed-off-by: aattuluri <anil_attuluri@intuit.com>
Signed-off-by: aattuluri <anil_attuluri@intuit.com>
Signed-off-by: aattuluri <anil_attuluri@intuit.com>
Signed-off-by: aattuluri <anil_attuluri@intuit.com>
@aattuluri aattuluri force-pushed the Add-locality-lb-settings-support-on-destination-rules branch from 373c5bc to 408c9c8 Compare January 2, 2020 23:19
@@ -19,6 +19,7 @@ import (
"errors"
"fmt"
"github.com/istio-ecosystem/admiral/admiral/pkg/controller/secret/resolver"
"github.com/sirupsen/logrus"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing I think we need to change, but for future reference you can save yourself the trouble of renaming every reference from log -> logrus by importing this as log: log "github.com/sirupsen/logrus"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed this to log.

@@ -30,7 +30,7 @@ spec:
- $(secret_resolver)
- --secret_resolver_config_path
- /etc/admiral/config.yaml
image: docker.io/admiralproj/admiral:v0.1-alpha
image: docker.io/admiralproj/admiral:kubecon
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a version or sha, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it to the current stable release.

@@ -2,16 +2,12 @@ package clusters

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like you deleted these tests but moved the methods they are testing - let's make sure they are re-added in the right places

@aattuluri aattuluri merged commit 6cf54e6 into istio-ecosystem:master Feb 26, 2020
josephpeacock pushed a commit that referenced this pull request Feb 29, 2020
* Bootstrapping admiral

* Add circle ci config

* Fix the working directory for builds

* Bootstrapping admiral

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Add circle ci config

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Fix the working directory for builds

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Add build status badge.

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Revert "Add build status badge."

This reverts commit a9fa409.

* Working version after major refactor.

* Fix test files.

* Use global traffic policy to update destination rule.

* Minor fixes.

* Update image for admiral

* Add outlier detection for locality load balancing to work

* Undo tag change

* Sample files for demo

* Remove/comment some tests

* Add the needed method

* Commenting out few more tests.

* Remove unwanted files.

* Adding back missing tests.

* Create an alias for logrus.

* Fixing tests.

Signed-off-by: Joe Peacock <joe_peacock@intuit.com>
Mengying-Li pushed a commit that referenced this pull request Apr 20, 2020
* Bootstrapping admiral

* Add circle ci config

* Fix the working directory for builds

* Bootstrapping admiral

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Add circle ci config

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Fix the working directory for builds

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Add build status badge.

Signed-off-by: aattuluri <anil_attuluri@intuit.com>

* Revert "Add build status badge."

This reverts commit a9fa409.

* Working version after major refactor.

* Fix test files.

* Use global traffic policy to update destination rule.

* Minor fixes.

* Update image for admiral

* Add outlier detection for locality load balancing to work

* Undo tag change

* Sample files for demo

* Remove/comment some tests

* Add the needed method

* Commenting out few more tests.

* Remove unwanted files.

* Adding back missing tests.

* Create an alias for logrus.

* Fixing tests.

Signed-off-by: Madeline <madeline_li@intuit.com>
itsLucario pushed a commit to itsLucario/admiral that referenced this pull request Aug 9, 2022
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.

2 participants