-
Notifications
You must be signed in to change notification settings - Fork 132
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
Consume upjet ProviderScheduler #627
Conversation
/test-examples="examples/ec2/vpc.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ulucinar I left a comment.
internal/clients/provider_config.go
Outdated
@@ -51,6 +51,7 @@ const ( | |||
errAWSConfigUpbound = "failed to get AWS config using Upbound identity" | |||
|
|||
upboundProviderIdentityTokenFile = "/var/run/secrets/upbound.io/provider/token" | |||
defaultIdentityTokenFile = "/var/run/secrets/eks.amazonaws.com/serviceaccount/token" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that we do not use this constant. Could you please remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks for catching it.
Some test results that are done via this branch content: |
- Enables the shared server runtime - Adds --provider-ttl command-line option Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
/test-examples="examples/ec2/vpc.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ulucinar LGTM!
Description of your changes
Associated with: #325
This PR reenables the shared gRPC server runtime previously disabled due to external resource leakage issues. It consumes the new provider scheduler from upjet and:
--provider-ttl
command-line option through which the max TTL used by the shared scheduler can be configured.I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
This PR has been tested in the experiments done here:
#576