-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: Add interpreter option to wait_for_cluster_cmd
#795
feat: Add interpreter option to wait_for_cluster_cmd
#795
Conversation
f60f9b6
to
92ee9d2
Compare
92ee9d2
to
7ebaee4
Compare
module "eks" {
source = "terraform-aws-modules/eks/aws"
# windows workaround
wait_for_cluster_interpreter = ["c:/git/bin/sh.exe", "-c"]
wait_for_cluster_cmd = "until curl -sk $ENDPOINT >/dev/null; do sleep 4; done"
} |
wait_for_cluster_cmd
@barryib can this variable be added at node group, worker group level and not at cluster level ? |
Doesn't this break Linux nodes? |
@Type1J it is optional parameter, if not specified safe defaults will be used instead |
I meant in the same cluster. I haven't tried it, but as @amitsehgal implied, the worker group could be Linux or Windows, and since this is specified at the module level, it seems that this parameter would affect both worker groups, so only 1 worker group would have the correct interpreter. Again, I haven't tried it, yet. I'm evaluating this module for use in a mixed (Linux and Windows) EKS cluster, so I'd like to understand it. |
@Type1J not sure how it supposed to affect individual worker groups, the command being executed locally to confirm k8s api readiness |
Oh. Thanks for the clarification. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
PR o'clock
Description
Allow to configure
interpreter
item for thewait_for_cluster_cmd
command. Potential improvement into compatibility with Windows#680
Checklist