-
Notifications
You must be signed in to change notification settings - Fork 813
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
Fix windows mounting bug-1090 #1189
Fix windows mounting bug-1090 #1189
Conversation
Signed-off-by: Eddie Torres <[email protected]>
Hi @torredil. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/lgtm Since windows is not exercised by CI I'll play CI and run a basic windows mount test as well, then will cancel the hold. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: torredil, wongma7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Documenting my test for future self, based on your notes, as it seems I need to set up a windows cluster every few months in absence of CI!..:
set PREFIX_LIST $MY_PREFIX_LIST
set INSTANCE_ID (basename (k get node --selector kubernetes.io/os=windows -o jsonpath='{.items[0].spec.providerID}'))
echo $INSTANCE_ID
set GROUP_ID (aws ec2 describe-instances --instance-ids $INSTANCE_ID | jq -r '.Reservations[0].Instances[0].SecurityGroups[] | select(.GroupName | contains("nodegroup")).GroupId')
echo $GROUP_ID
aws ec2 authorize-security-group-ingress --group-id=$GROUP_ID --ip-permissions FromPort=3389,ToPort=3389,IpProtocol=TCP,PrefixListIds=[{PrefixListId=$PREFIX_LIST}]
set PUBLIC_DNS_NAME (aws ec2 describe-instances --instance-ids $INSTANCE_ID | jq -r '.Reservations[0].Instances[0].NetworkInterfaces[0].Association.PublicDnsName')
echo $PUBLIC_DNS_NAME
# copy csi-proxy.exe to C:\ (using shared folder feature of rdp client or something)
# run
$flags = "-windows-service -log_file=C:\csi-proxy.log -logtostderr=false"
sc.exe create csiproxy start= "auto" binPath= "C:\csi-proxy.exe $flags"
sc.exe failure csiproxy reset= 0 actions= restart/10000
sc.exe start csiproxy
|
/hold cancel |
Signed-off-by: Eddie Torres [email protected]
Is this a bug fix or adding new feature?
What is this PR about? / Why do we need it?
What testing is done?