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

Allow custom AWS region overrides #1707

Closed
mbach04 opened this issue Feb 21, 2019 · 4 comments
Closed

Allow custom AWS region overrides #1707

mbach04 opened this issue Feb 21, 2019 · 4 comments
Labels
area/cluster-autoscaler area/provider/aws Issues or PRs related to aws provider

Comments

@mbach04
Copy link

mbach04 commented Feb 21, 2019

Unique regional endpoints exist in disconnected AWS environments. Currently the aws-go-sdk that is utilized heavily in k8s hard codes these regions in json [1] and doesn't appear to expose an easy method to override that would flow down to a repo like the k8s/autoscaler. A similar issue [2] with a merged PR [3] was filed against the k8s repo.

The previous solution was to read a file that specified the custom endpoints and associated services. This is something that would benefit those same environments tremendously and all for the use of the auto-scaler. I'm happy to take a crack at this patch, but it's taking me a while to find the right place in this repo to inject the reading of such a file or env var.

Because the hostnames and certs for these custom regions are private, they will never see the light of day in the aws-go-sdk models json file defining all available services. Being able to override these hostnames dynamically would be extremely helpful.

  1. AWS endpoints models
  2. RFE Allow to override default AWS endpoint
  3. Add AWS Custom Endpoint capability #70588
@aleksandra-malinowska aleksandra-malinowska added area/cluster-autoscaler area/provider/aws Issues or PRs related to aws provider labels Feb 21, 2019
@aleksandra-malinowska
Copy link
Contributor

find the right place in this repo to inject the reading of such a file or env var

Anywhere in cluster-autoscaler/cloudprovider/aws/ is fair game, I suppose. If you meant it more specifically (i.e. where in that module), I'm not sure.

@cuppett
Copy link
Contributor

cuppett commented Feb 21, 2019

cc @jottofar

@jottofar
Copy link

@mbach04 I've been working on this change as well. See my code changes in #1717. I have not tested them but wanted to get them out here for review.

@mbach04
Copy link
Author

mbach04 commented Feb 24, 2019

@jottofar Awesome, do we want to close this RFE then? Also, I should be able to test this coming Monday / Tuesday.

jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 5, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 5, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 5, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 5, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 6, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 6, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 7, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
k8s-ci-robot added a commit that referenced this issue Mar 12, 2019
Allow custom AWS region overrides #1707
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 15, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 15, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 15, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 18, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager snd aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 18, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager and aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 18, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager and aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 18, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager and aws_manager_test similar to kubernetes aws and aws_test.
jottofar pushed a commit to jottofar/autoscaler that referenced this issue Mar 18, 2019
Replicated changes from kubernetes "Add AWS Custom Endpoint capability #70588" into cluster-autoscaler:

- Modified aws_manager and aws_manager_test similar to kubernetes aws and aws_test.
yaroslava-serdiuk pushed a commit to yaroslava-serdiuk/autoscaler that referenced this issue Feb 22, 2024
…rnetes#1707)

* [kueue] Check certificates readiness before the webhook server.

* Don't keep the caller busy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler area/provider/aws Issues or PRs related to aws provider
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants